Removed unused signal from mainwindow.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 3 May 2010 13:15:15 +0000 (16:15 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 3 May 2010 13:15:15 +0000 (16:15 +0300)
src/ui/mainwindow.cpp
src/ui/mainwindow.h

index 70e4a58..ea66ab0 100644 (file)
@@ -59,8 +59,6 @@ MainWindow::MainWindow(QWidget *parent)
             SLOT(friendInfoReceived(QList<User*>&)));
     connect(m_listViewScreen, SIGNAL(updateFriendsData()),
             this, SIGNAL(refreshUserData()));
-    connect(m_listViewScreen, SIGNAL(toggleProgressIndicator(bool)), this,
-            SLOT(toggleProgressIndicator(bool)));
 
     this->toggleProgressIndicator(true);
 }
index 1bd4f16..624ddf8 100644 (file)
@@ -80,6 +80,11 @@ public slots:
     */
     void toMapView();
 
+    /**
+    * @brief Toggle progress indicator.
+    *
+    * @param state true if progress indicator should be shown, false otherwise
+    */
     void toggleProgressIndicator(bool state);
 
 private:
@@ -133,11 +138,25 @@ private slots:
     */
     void statusUpdate(const QString &status, const bool &publish);
 
+    /**
+    * @brief Signal for use location ready.
+    *
+    * @param user User object
+    */
     void userLocationReady(User *user);
+
+    /**
+    * @brief Signal for friend location ready.
+    *
+    * @param friendsList
+    */
     void friendsLocationsReady(QList<User *> &friendsList);
-    void refreshUserData();
 
-    void userDataChanged(User*,QList<User*>&);
+    /**
+    * @brief Signal for refreshing user data.
+    *
+    */
+    void refreshUserData();
 
 /*******************************************************************************
  * DATA MEMBERS