Changeset 6258 for branches/qt-gui_group/src/editgrp.h
- Timestamp:
- 06/11/08 08:21:55 (7 months ago)
- Files:
-
- 1 modified
-
branches/qt-gui_group/src/editgrp.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/qt-gui_group/src/editgrp.h
r4699 r6258 21 21 #define EDITGRP_H 22 22 23 #include <qvaluelist.h> 23 24 #include <qwidget.h> 24 #include "licqdialog.h"25 25 26 26 class QListBox; … … 30 30 31 31 class CInfoField; 32 class CSignalManager; 32 33 33 34 class EditGrpDlg : public QWidget … … 35 36 Q_OBJECT 36 37 public: 37 EditGrpDlg (QWidget *parent = 0);38 EditGrpDlg(CSignalManager* signalManager, QWidget *parent = 0); 38 39 protected: 39 40 QListBox *lstGroups; … … 44 45 QLineEdit *edtName; 45 46 CInfoField *nfoDefault, *nfoNewUser; 46 47 unsigned short m_nEditGrp;48 47 49 48 void RefreshList(); … … 59 58 void slot_default(); 60 59 void slot_newuser(); 61 void slot_done();62 60 signals: 63 61 void signal_updateGroups(); 62 63 private slots: 64 void listUpdated(CICQSignal* sig); 65 66 private: 67 unsigned short currentGroupId() const; 68 void setCurrentGroupId(unsigned short groupId); 69 void moveGroup(int delta); 70 71 QValueList<unsigned short> myGroupIds; 72 unsigned short myEditGroupId; 64 73 }; 65 74 66 67 75 #endif
