Added separators to mainwindow.h, viewmapscreen.h and viewlistscreen.h
authorKaj Wallin <kaj.wallin@ixonos.com>
Wed, 21 Apr 2010 09:35:08 +0000 (12:35 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Wed, 21 Apr 2010 09:35:08 +0000 (12:35 +0300)
as stated by coding convention

src/ui/listviewscreen.h
src/ui/mainwindow.h
src/ui/mapviewscreen.h

index 4c86da8..2d746ab 100644 (file)
@@ -49,11 +49,19 @@ public:
     *
     */
     ~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
index d9946fd..aa55970 100644 (file)
@@ -56,6 +56,10 @@ public:
     */
     ~MainWindow();
 
+/*******************************************************************************
+ * MEMBER FUNCTIONS AND SLOTS
+ ******************************************************************************/
+
 public slots:
     /**
     * @brief Public slot, which initiates toListViewAct action to switch view
@@ -85,16 +89,6 @@ private:
     */
     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
@@ -105,6 +99,21 @@ private slots:
     * @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
index 276886a..286f2c1 100644 (file)
@@ -44,12 +44,19 @@ public:
     */
     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