Review
authorSami Rämö <sami.ramo@ixonos.com>
Wed, 25 Aug 2010 10:22:51 +0000 (13:22 +0300)
committerSami Rämö <sami.ramo@ixonos.com>
Wed, 25 Aug 2010 10:22:51 +0000 (13:22 +0300)
 - Reviewed by Pekka Nissinen

src/ui/friendlistpanel.cpp
src/ui/friendlistpanel.h

index d333b39..77649cc 100644 (file)
@@ -77,6 +77,7 @@ FriendListPanel::FriendListPanel(QWidget *parent)
                                           ":res/images/filtered_s.png", "", this);
 
     m_clearFilterButton->setCheckable(true);
+/// @todo disable?
 
     filterLayout->addWidget(m_friendListLabel);
     filterLayout->addWidget(m_clearFilterButton);
@@ -168,6 +169,7 @@ void FriendListPanel::clearFiltering()
 
     m_friendListHeaderWidget->hide();
     m_clearFilterButton->setChecked(false);
+/// @todo disable?
     m_friendListView->clearFilter();
     clearTextFiltering();
 }
@@ -296,6 +298,7 @@ void FriendListPanel::showFriendsInList(const QList<QString> &userIDs)
     m_friendListLabel->setText(tr("Selected: %1").arg(userIDs.count()));
 
     m_friendListHeaderWidget->show();
+/// @todo enable?
     m_clearFilterButton->setChecked(true);
     m_friendListView->filter(userIDs);
 
index 5d73c9a..9892e51 100644 (file)
@@ -220,13 +220,13 @@ private:
     QLabel *m_friendListLabel;          ///< Friend list label
 
     QLineEdit *m_filterField;           ///< Text field for the filter text
-
+/// @todo rename buttons
     QPushButton *m_filterClearButton;   ///< Button for clearing the filtering
 
     QWidget *m_friendListHeaderWidget;  ///< Friend list header widget
 
     FriendListView *m_friendListView;   ///< Friend list view
-    ImageButton *m_clearFilterButton;
+    ImageButton *m_clearFilterButton;   /// @todo comment
     ImageButton *m_routeButton;         ///< Button to route to friend
 };