diff options
Diffstat (limited to 'src/modules/reguser/dialog.h')
-rw-r--r-- | src/modules/reguser/dialog.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/src/modules/reguser/dialog.h b/src/modules/reguser/dialog.h index c292adc4..28ff1a15 100644 --- a/src/modules/reguser/dialog.h +++ b/src/modules/reguser/dialog.h @@ -27,20 +27,20 @@ #include "kvi_regusersdb.h" #include "kvi_selectors.h" -#include <qwidget.h> -#include <qlineedit.h> -#include <qpushbutton.h> +#include <tqwidget.h> +#include <tqlineedit.h> +#include <tqpushbutton.h> #include "kvi_tal_listview.h" #include "kvi_tal_listbox.h" #include "kvi_pointerhashtable.h" #include "kvi_tal_popupmenu.h" #ifdef COMPILE_USE_QT4 - #include <q3intdict.h> - #include <q3simplerichtext.h> - #define QSimpleRichText Q3SimpleRichText + #include <tq3intdict.h> + #include <tq3simplerichtext.h> + #define TQSimpleRichText Q3SimpleRichText #else - #include <qsimplerichtext.h> - #include <qintdict.h> + #include <tqsimplerichtext.h> + #include <tqintdict.h> #endif @@ -88,46 +88,47 @@ class KviRegisteredUsersDialogItem : public KviRegisteredUsersDialogItemBase { protected: KviRegisteredUser * m_pUser; - QSimpleRichText * m_pText; + TQSimpleRichText * m_pText; public: KviRegisteredUsersDialogItem(KviTalListViewItem * par,KviRegisteredUser * u); ~KviRegisteredUsersDialogItem(); public: KviRegisteredUser * user(){ return m_pUser; }; void setUser(KviRegisteredUser * u){ m_pUser = u; }; - virtual void paintCell(QPainter * p,const QColorGroup &cg,int column,int width,int align); + virtual void paintCell(TQPainter * p,const TQColorGroup &cg,int column,int width,int align); virtual void setup(); - virtual QString key(int,bool) const; + virtual TQString key(int,bool) const; }; -class KviRegisteredUsersDialog : public QWidget +class KviRegisteredUsersDialog : public TQWidget { Q_OBJECT + TQ_OBJECT public: - KviRegisteredUsersDialog(QWidget * par = 0); + KviRegisteredUsersDialog(TQWidget * par = 0); ~KviRegisteredUsersDialog(); public: KviTalListView * m_pListView; - QPushButton * m_pAddButton; - QPushButton * m_pWizardAddButton; - QPushButton * m_pRemoveButton; - QPushButton * m_pEditButton; - QPushButton * m_pImportButton; - QPushButton * m_pExportButton; - QPushButton * m_pAddGroupButton; + TQPushButton * m_pAddButton; + TQPushButton * m_pWizardAddButton; + TQPushButton * m_pRemoveButton; + TQPushButton * m_pEditButton; + TQPushButton * m_pImportButton; + TQPushButton * m_pExportButton; + TQPushButton * m_pAddGroupButton; #ifdef COMPILE_USE_QT4 Q3IntDict<KviRegisteredUserGroup> m_TmpDict; #else - QIntDict<KviRegisteredUserGroup> m_TmpDict; + TQIntDict<KviRegisteredUserGroup> m_TmpDict; #endif protected slots: - void itemPressed(KviTalListViewItem *it,const QPoint &pnt,int c); + void itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c); void itemDoubleClicked(KviTalListViewItem *it); protected: void fillList(); protected: - virtual void closeEvent(QCloseEvent *); + virtual void closeEvent(TQCloseEvent *); void editItem(KviRegisteredUsersDialogItem * i); void editGroup(KviRegisteredUserGroup* group); protected slots: @@ -141,7 +142,7 @@ protected slots: void exportClicked(); void addWizardClicked(); void addGroupClicked(); - void listViewRightButtonClicked ( KviTalListViewItem *, const QPoint &, int ); + void listViewRightButtonClicked ( KviTalListViewItem *, const TQPoint &, int ); void moveToGroupMenuClicked(int); }; |