Changeset 6297 for trunk/qt4-gui/src/widgets/groupcombobox.cpp
- Timestamp:
- 06/14/08 09:13:31 (7 months ago)
- Files:
-
- 1 modified
-
trunk/qt4-gui/src/widgets/groupcombobox.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/widgets/groupcombobox.cpp
r6289 r6297 23 23 #include <licq/licq_user.h> 24 24 25 #include "helpers/licqstrings.h" 26 25 27 using namespace LicqQtGui; 26 28 /* TRANSLATOR LicqQtGui::GroupComboBox */ 27 29 28 GroupComboBox::GroupComboBox( QWidget* parent)30 GroupComboBox::GroupComboBox(bool withAllUsers, QWidget* parent) 29 31 : QComboBox(parent) 30 32 { 33 // Assumes that GROUP_ALL_USERS always equals 0 34 if (withAllUsers) 35 addItem(LicqStrings::getSystemGroupName(GROUP_ALL_USERS), 36 QString::number(GROUP_ALL_USERS)); 37 31 38 FOR_EACH_GROUP_START_SORTED(LOCK_R) 32 39 {
