Removed using QApplication on desktop, hiding the filter text field
[situare] / src / engine / engine.h
index 306aa0f..e0e2fcb 100644 (file)
@@ -33,9 +33,7 @@
 
 class QTimer;
 
-#ifdef Q_WS_MAEMO_5
 class Application;
-#endif
 class FacebookAuthentication;
 class FacebookCredentials;
 class GeocodingService;
@@ -351,11 +349,12 @@ private:
     bool m_automaticUpdateRequest;      ///< Flag for automatic update request
     bool m_userMoved;                   ///< Flag for user move
 
-#ifdef Q_WS_MAEMO_5
+    QTimer *m_automaticUpdateIntervalTimer; ///< Automatic update interval timer
+
     Application *m_app;                              ///< Pointer to Application
-#endif
     FacebookAuthentication *m_facebookAuthenticator; ///< Instance for facebook authenticator
     GeocodingService *m_geocodingService;            ///< Instance of the geocoding service
+    GeoCoordinate m_lastUpdatedGPSPosition;          ///< Last updated GPS position
     GPSPosition *m_gps;                              ///< Instance of the gps position
     MainWindow *m_ui;                                ///< Instance of the MainWindow UI
     MapEngine *m_mapEngine;                          ///< MapEngine
@@ -363,10 +362,6 @@ private:
     RoutingService *m_routingService;  ///< Instance of the routing service
     SituareService *m_situareService;  ///< Instance of the situare server communication service
     MCE *m_mce;                        ///< Instance of the MCE
-
-    QTimer *m_automaticUpdateIntervalTimer; ///< Automatic update interval timer
-    GeoCoordinate m_lastUpdatedGPSPosition; ///< Last updated GPS position
-
 };
 
 #endif // ENGINE_H