Added some debug traces
[situare] / src / ui / mainwindow.h
index 30e272a..602f7fb 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <QtGui/QMainWindow>
 #include <QWidget>
+#include <QDebug>
 
 class QLabel;
 class QStackedWidget;
@@ -44,6 +45,14 @@ public:
     ~MainWindow();
 
     /**
+    * @brief Widget Stack object for the List and Map Views
+    *
+    * @var situareViews
+    */
+    QStackedWidget *situareViews;
+
+private:
+    /**
     * @brief Private method to create List and Map views as a stacked widget
     *
     * @fn createViews
@@ -72,13 +81,6 @@ public:
     QAction *toMapViewAct;
 
     /**
-    * @brief Widget Stack object for the List and Map Views
-    *
-    * @var situareViews
-    */
-    QStackedWidget *situareViews;
-
-    /**
     * @brief DUMMY LABEL, REMOVE WHEN BOTH VIEWS ARE COMPLETE
     *
     * @var infoLabel
@@ -94,7 +96,7 @@ public slots:
     */
     void toListView();
     /**
-    * @brief Private slots, which initiates toMapViewAct action
+    * @brief Private slot, which initiates toMapViewAct action
     *
     * @fn toMapView
     */