Searched refs:AppModel (Results 1 – 5 of 5) sorted by relevance
206 AppModel::AppModel(QObject *parent) : in AppModel() function in AppModel244 AppModel::~AppModel() in ~AppModel()252 void AppModel::positionUpdated(QGeoPositionInfo gpsPos) in positionUpdated()263 void AppModel::queryCity() in queryCity()296 void AppModel::positionError(QGeoPositionInfoSource::Error e) in positionError()312 void AppModel::hadError(bool tryAgain) in hadError()323 void AppModel::handleGeoNetworkData(QNetworkReply *networkReply) in handleGeoNetworkData()354 void AppModel::refreshWeather() in refreshWeather()380 void AppModel::handleWeatherNetworkData(QNetworkReply *networkReply) in handleWeatherNetworkData()432 void AppModel::handleForecastNetworkData(QNetworkReply *networkReply) in handleForecastNetworkData()[all …]
107 class AppModel : public QObject136 explicit AppModel(QObject *parent = 0);137 ~AppModel();
67 qmlRegisterType<AppModel>("WeatherInfo", 1, 0, "AppModel"); in main()
77 AppModel {
51 in the WeatherData and AppModel classes. WeatherData represents the weather58 AppModel models the state of the entire application. At startup, we67 its positionUpdated() signal to a slot on the AppModel and call95 Finally, in the actual QML, we instantiate the AppModel.