summaryrefslogtreecommitdiffstats
path: root/src/modules/reguser/edituser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/reguser/edituser.h')
-rw-r--r--src/modules/reguser/edituser.h85
1 files changed, 44 insertions, 41 deletions
diff --git a/src/modules/reguser/edituser.h b/src/modules/reguser/edituser.h
index fecbbf09..0318dbdd 100644
--- a/src/modules/reguser/edituser.h
+++ b/src/modules/reguser/edituser.h
@@ -28,22 +28,22 @@
#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_tabdialog.h>
#ifdef COMPILE_USE_QT4
-#include <q3table.h>
+#include <tq3table.h>
#define Kvi_Tal_Table Q3Table
#define Kvi_Tal_TableItem Q3TableItem
#else
-#include <qtable.h>
-#define Kvi_Tal_Table QTable
-#define Kvi_Tal_TableItem QTableItem
+#include <tqtable.h>
+#define Kvi_Tal_Table TQTable
+#define Kvi_Tal_TableItem TQTableItem
#endif
#include "kvi_tal_popupmenu.h"
@@ -54,24 +54,25 @@
class KviRegisteredUser;
-class KviReguserPropertiesDialog : public QDialog
+class KviReguserPropertiesDialog : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviReguserPropertiesDialog(QWidget *p,KviPointerHashTable<QString,QString> * dict);
+ KviReguserPropertiesDialog(TQWidget *p,KviPointerHashTable<TQString,TQString> * dict);
~KviReguserPropertiesDialog();
protected:
#ifdef COMPILE_USE_QT4
Q3Table *m_pTable;
#else
- QTable * m_pTable;
+ TQTable * m_pTable;
#endif
- KviPointerHashTable<QString,QString> * m_pPropertyDict;
- QPushButton * m_pDelButton;
- QPushButton * m_pAddButton;
+ KviPointerHashTable<TQString,TQString> * m_pPropertyDict;
+ TQPushButton * m_pDelButton;
+ TQPushButton * m_pAddButton;
protected:
void fillData();
- virtual void closeEvent(QCloseEvent *);
+ virtual void closeEvent(TQCloseEvent *);
protected slots:
void okClicked();
void addClicked();
@@ -79,20 +80,21 @@ protected slots:
};
-class KviReguserMaskDialog : public QDialog
+class KviReguserMaskDialog : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviReguserMaskDialog(QWidget * p,KviIrcMask * m);
+ KviReguserMaskDialog(TQWidget * p,KviIrcMask * m);
~KviReguserMaskDialog();
protected:
KviIrcMask * m_pMask;
- QLineEdit * m_pNickEdit;
- QLineEdit * m_pUserEdit;
- QLineEdit * m_pHostEdit;
+ TQLineEdit * m_pNickEdit;
+ TQLineEdit * m_pUserEdit;
+ TQLineEdit * m_pHostEdit;
- virtual void closeEvent(QCloseEvent *);
+ virtual void closeEvent(TQCloseEvent *);
protected slots:
void okClicked();
};
@@ -101,50 +103,51 @@ protected slots:
class KviRegisteredUserEntryDialog : public KviTalTabDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviRegisteredUserEntryDialog(QWidget * p,KviRegisteredUser * r,bool bModal = true);
+ KviRegisteredUserEntryDialog(TQWidget * p,KviRegisteredUser * r,bool bModal = true);
virtual ~KviRegisteredUserEntryDialog();
protected:
KviRegisteredUser * m_pUser;
- QLineEdit * m_pNameEdit;
- QLineEdit * m_pCommentEdit;
+ TQLineEdit * m_pNameEdit;
+ TQLineEdit * m_pCommentEdit;
KviTalListBox * m_pMaskListBox;
- QPushButton * m_pDelMaskButton;
- QPushButton * m_pEditMaskButton;
- QPushButton * m_pAddMaskButton;
+ TQPushButton * m_pDelMaskButton;
+ TQPushButton * m_pEditMaskButton;
+ TQPushButton * m_pAddMaskButton;
- QCheckBox * m_pNotifyCheck;
- QLineEdit * m_pNotifyNick;
+ TQCheckBox * m_pNotifyCheck;
+ TQLineEdit * m_pNotifyNick;
KviPixmap * m_pAvatar;
KviPixmapSelector * m_pAvatarSelector;
- KviPointerHashTable<QString,QString> * m_pPropertyDict;
+ KviPointerHashTable<TQString,TQString> * m_pPropertyDict;
- QCheckBox * m_pCustomColorCheck;
- QColor * m_pCustomColor;
+ TQCheckBox * m_pCustomColorCheck;
+ TQColor * m_pCustomColor;
KviColorSelector * m_pCustomColorSelector;
//Ignore TAB
- QCheckBox * m_pIgnoreEnabled;
- QCheckBox * m_pIgnoreQuery;
- QCheckBox * m_pIgnoreChannel;
- QCheckBox * m_pIgnoreNotice;
- QCheckBox * m_pIgnoreCtcp;
- QCheckBox * m_pIgnoreInvite;
- QCheckBox * m_pIgnoreDcc;
-
- virtual void closeEvent(QCloseEvent *);
+ TQCheckBox * m_pIgnoreEnabled;
+ TQCheckBox * m_pIgnoreQuery;
+ TQCheckBox * m_pIgnoreChannel;
+ TQCheckBox * m_pIgnoreNotice;
+ TQCheckBox * m_pIgnoreCtcp;
+ TQCheckBox * m_pIgnoreInvite;
+ TQCheckBox * m_pIgnoreDcc;
+
+ virtual void closeEvent(TQCloseEvent *);
protected slots:
void okClicked();
void addMaskClicked();
void delMaskClicked();
void editMaskClicked();
void editAllPropertiesClicked();
- void maskCurrentChanged(KviTalListBoxItem *it);
+ void tqmaskCurrentChanged(KviTalListBoxItem *it);
};