Changeset 6297
- Timestamp:
- 06/14/08 09:13:31 (6 months ago)
- Location:
- trunk/qt4-gui/src/widgets
- Files:
-
- 2 modified
-
groupcombobox.cpp (modified) (1 diff)
-
groupcombobox.h (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 { -
trunk/qt4-gui/src/widgets/groupcombobox.h
r6289 r6297 32 32 33 33 public: 34 GroupComboBox( QWidget* parent = 0);34 GroupComboBox(bool withAllUsers = false, QWidget* parent = NULL); 35 35 36 36 unsigned short currentGroupId() const;
