aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/reguser
diff options
context:
space:
mode:
authorGravatar Noldor2008-05-27 20:16:24 +0000
committerGravatar Noldor2008-05-27 20:16:24 +0000
commitbeef98815351c6c04b2e93115f7985af8797fe30 (patch)
tree6c8a4f0e2ac26a4d5af5587f299b9d6db6721eb2 /src/modules/reguser
parentadded doc (diff)
downloadKVIrc-beef98815351c6c04b2e93115f7985af8797fe30.tar.gz
KVIrc-beef98815351c6c04b2e93115f7985af8797fe30.tar.bz2
KVIrc-beef98815351c6c04b2e93115f7985af8797fe30.zip
fixed styled widgets + more QT4 port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1859 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/reguser')
-rw-r--r--src/modules/reguser/edituser.h18
-rw-r--r--src/modules/reguser/wizard.cpp4
-rw-r--r--src/modules/reguser/wizard.h4
3 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/reguser/edituser.h b/src/modules/reguser/edituser.h
index 00308e215..151f6ebc9 100644
--- a/src/modules/reguser/edituser.h
+++ b/src/modules/reguser/edituser.h
@@ -103,7 +103,7 @@ protected:
QPushButton * m_pEditMaskButton;
QPushButton * m_pAddMaskButton;
- QCheckBox * m_pNotifyCheck;
+ KviStyledCheckBox * m_pNotifyCheck;
QLineEdit * m_pNotifyNick;
KviPixmap * m_pAvatar;
@@ -111,18 +111,18 @@ protected:
KviPointerHashTable<QString,QString> * m_pPropertyDict;
- QCheckBox * m_pCustomColorCheck;
+ KviStyledCheckBox * m_pCustomColorCheck;
QColor * 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;
+ KviStyledCheckBox * m_pIgnoreEnabled;
+ KviStyledCheckBox * m_pIgnoreQuery;
+ KviStyledCheckBox * m_pIgnoreChannel;
+ KviStyledCheckBox * m_pIgnoreNotice;
+ KviStyledCheckBox * m_pIgnoreCtcp;
+ KviStyledCheckBox * m_pIgnoreInvite;
+ KviStyledCheckBox * m_pIgnoreDcc;
virtual void closeEvent(QCloseEvent *);
protected slots:
diff --git a/src/modules/reguser/wizard.cpp b/src/modules/reguser/wizard.cpp
index 206a75856..62604df9e 100644
--- a/src/modules/reguser/wizard.cpp
+++ b/src/modules/reguser/wizard.cpp
@@ -33,7 +33,7 @@
#include "kvi_iconmanager.h"
#include <QDesktopWidget>
-#include <QCheckBox>
+#include "kvi_styled_controls.h"
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
@@ -209,7 +209,7 @@ KviRegistrationWizard::KviRegistrationWizard(const QString &startMask,KviRegiste
f->setFrameStyle(QFrame::HLine | QFrame::Sunken);
m_pPage4Layout->addMultiCellWidget(f,1,1,0,1);
- m_pNotifyCheck = new QCheckBox(m_pPage4);
+ m_pNotifyCheck = new KviStyledCheckBox(m_pPage4);
m_pNotifyCheck->setText(__tr2qs("Add this user to the notify list"));
m_pNotifyCheck->setChecked(false);
connect(m_pNotifyCheck,SIGNAL(toggled(bool)),this,SLOT(notifyCheckToggled(bool)));
diff --git a/src/modules/reguser/wizard.h b/src/modules/reguser/wizard.h
index 9d34aa667..4908764d4 100644
--- a/src/modules/reguser/wizard.h
+++ b/src/modules/reguser/wizard.h
@@ -26,7 +26,7 @@
#include <kvi_tal_wizard.h>
class QGridLayout;
-class QCheckBox;
+class KviStyledCheckBox;
class QLabel;
class QLineEdit;
class QWidget;
@@ -64,7 +64,7 @@ public:
QLabel* m_pLabel3;
KviPixmapSelector * m_pAvatarSelector;
QWidget* m_pPage4;
- QCheckBox* m_pNotifyCheck;
+ KviStyledCheckBox* m_pNotifyCheck;
QLabel* m_pNotifyNickLabel1;
QLabel* m_pNotifyNickLabel2;
QLabel* m_pLabel4;