From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpilot/conduits/malconduit/mal-setup.cc | 46 ++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kpilot/conduits/malconduit/mal-setup.cc') diff --git a/kpilot/conduits/malconduit/mal-setup.cc b/kpilot/conduits/malconduit/mal-setup.cc index d2652b035..1d1f89ff2 100644 --- a/kpilot/conduits/malconduit/mal-setup.cc +++ b/kpilot/conduits/malconduit/mal-setup.cc @@ -32,11 +32,11 @@ #include "options.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -53,7 +53,7 @@ #include "malconduitSettings.h" -MALWidgetSetup::MALWidgetSetup(QWidget *w, const char *n) : +MALWidgetSetup::MALWidgetSetup(TQWidget *w, const char *n) : ConduitConfigBase(w,n), fConfigWidget(new MALWidget(w)) { @@ -65,21 +65,21 @@ MALWidgetSetup::MALWidgetSetup(QWidget *w, const char *n) : fConfigWidget->tabWidget->adjustSize(); fConfigWidget->resize(fConfigWidget->tabWidget->size()); -#define CM(a,b) connect(fConfigWidget->a,b,this,SLOT(modified())); - CM( syncTime, SIGNAL(clicked(int)) ); - CM( proxyType, SIGNAL(clicked(int)) ); - - CM( proxyServerName, SIGNAL(textChanged(const QString &)) ); - CM( proxyCustomPortCheck, SIGNAL(clicked()) ); - CM( proxyCustomPort, SIGNAL(valueChanged(int)) ); - CM( proxyUserName, SIGNAL(textChanged(const QString &)) ); - CM( proxyPassword, SIGNAL(textChanged(const QString &)) ); - - CM( malServerName, SIGNAL(textChanged(const QString &)) ); - CM( malCustomPortCheck, SIGNAL(clicked()) ); - CM( malCustomPort, SIGNAL(valueChanged(int)) ); - CM( malUserName, SIGNAL(textChanged(const QString &)) ); - CM( malPassword, SIGNAL(textChanged(const QString &)) ); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); + CM( syncTime, TQT_SIGNAL(clicked(int)) ); + CM( proxyType, TQT_SIGNAL(clicked(int)) ); + + CM( proxyServerName, TQT_SIGNAL(textChanged(const TQString &)) ); + CM( proxyCustomPortCheck, TQT_SIGNAL(clicked()) ); + CM( proxyCustomPort, TQT_SIGNAL(valueChanged(int)) ); + CM( proxyUserName, TQT_SIGNAL(textChanged(const TQString &)) ); + CM( proxyPassword, TQT_SIGNAL(textChanged(const TQString &)) ); + + CM( malServerName, TQT_SIGNAL(textChanged(const TQString &)) ); + CM( malCustomPortCheck, TQT_SIGNAL(clicked()) ); + CM( malCustomPort, TQT_SIGNAL(valueChanged(int)) ); + CM( malUserName, TQT_SIGNAL(textChanged(const TQString &)) ); + CM( malPassword, TQT_SIGNAL(textChanged(const TQString &)) ); #undef CM } @@ -150,7 +150,7 @@ MALWidgetSetup::~MALWidgetSetup() fConfigWidget->proxyCustomPort->setValue(proxyPortNr); } fConfigWidget->proxyUserName->setText(MALConduitSettings::proxyUser()); - fConfigWidget->proxyPassword->setText(QString::null); + fConfigWidget->proxyPassword->setText(TQString::null); fConfigWidget->proxyPassword->insert(MALConduitSettings::proxyPassword()); #ifdef DEBUG @@ -178,7 +178,7 @@ MALWidgetSetup::~MALWidgetSetup() unmodified(); } -/* static */ ConduitConfigBase *MALWidgetSetup::create(QWidget *w, const char *n) +/* static */ ConduitConfigBase *MALWidgetSetup::create(TQWidget *w, const char *n) { return new MALWidgetSetup(w,n); } -- cgit v1.2.1