*
*/
~ListViewScreen();
+
+/*******************************************************************************
+ * MEMBER FUNCTIONS AND SLOTS
+ ******************************************************************************/
public slots:
/**
* @brief Slot to open Location update dialog
*/
void updateMessage();
+
+/*******************************************************************************
+ * DATA MEMBERS
+ ******************************************************************************/
private:
QVBoxLayout *m_vbox; ///< Holds the graphics view
InfoTab *m_personalInfo; ///< Personal info tab
*/
~MainWindow();
+/*******************************************************************************
+ * MEMBER FUNCTIONS AND SLOTS
+ ******************************************************************************/
+
public slots:
/**
* @brief Public slot, which initiates toListViewAct action to switch view
*/
void switchView(int);
-private:
- FacebookAuthentication *m_facebookAuthenticator; ///< Instance for facebook authenticator
- QNetworkAccessManager *m_networkManager; ///< NetworkManager that is passed on to SituareService
- SituareService *m_situareService; ///< Instance of the situare server communication service
- bool m_loggedIn; ///< Boolean value to indicate whether login has been successfull or not
- QStackedWidget *m_situareViews; ///< Stacked widget that hold both view widgets
- QAction *m_toListViewAct; ///< Action to trigger switch to list view
- QAction *m_toMapViewAct; ///< Action to trigger switch to map view
- QMenu *m_viewMenu; ///< Object that hold the view menu items
-
private slots:
/**
* @brief Slot to change value of m_loggedIn to true
* @brief Slot to check login status and exits if necessary
*/
void loginScreenClosed();
+
+/*******************************************************************************
+ * DATA MEMBERS
+ ******************************************************************************/
+
+private:
+ FacebookAuthentication *m_facebookAuthenticator; ///< Instance for facebook authenticator
+ QNetworkAccessManager *m_networkManager; ///< NetworkManager that is passed on to SituareService
+ SituareService *m_situareService; ///< Instance of the situare server communication service
+ bool m_loggedIn; ///< Boolean value to indicate whether login has been successfull or not
+ QStackedWidget *m_situareViews; ///< Stacked widget that hold both view widgets
+ QAction *m_toListViewAct; ///< Action to trigger switch to list view
+ QAction *m_toMapViewAct; ///< Action to trigger switch to map view
+ QMenu *m_viewMenu; ///< Object that hold the view menu items
+
};
#endif // MAINWINDOW_H
*/
MapViewScreen(QWidget *parent = 0);
+/*******************************************************************************
+ * MEMBER FUNCTIONS AND SLOTS
+ ******************************************************************************/
+
private slots:
/**
* @brief Debug method for centering to given coordinates
*/
void searchMap();
+/*******************************************************************************
+ * DATA MEMBERS
+ ******************************************************************************/
private:
MapEngine *mapEngine; ///< MapEngine
//DEBUG