summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp')
-rw-r--r--kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
index e4b308be..04a312a4 100644
--- a/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
+++ b/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp
@@ -17,13 +17,13 @@
#include "icqeditaccountwidget.h"
#include "icqeditaccountui.h"
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
-#include <qtextedit.h>
-#include <qspinbox.h>
-#include <qpushbutton.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
+#include <tqlineedit.h>
+#include <tqtextedit.h>
+#include <tqspinbox.h>
+#include <tqpushbutton.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -44,15 +44,15 @@
#include "icqcontact.h"
ICQEditAccountWidget::ICQEditAccountWidget(ICQProtocol *protocol,
- Kopete::Account *account, QWidget *parent, const char *name)
- : QWidget(parent, name), KopeteEditAccountWidget(account)
+ Kopete::Account *account, TQWidget *parent, const char *name)
+ : TQWidget(parent, name), KopeteEditAccountWidget(account)
{
kdDebug(14153) << k_funcinfo << "Called." << endl;
mAccount=dynamic_cast<ICQAccount*>(account);
mProtocol=protocol;
- (new QVBoxLayout(this))->setAutoAdd(true);
+ (new TQVBoxLayout(this))->setAutoAdd(true);
mAccountSettings = new ICQEditAccountUI( this );
mProtocol->fillComboFromTable( mAccountSettings->encodingCombo, mProtocol->encodings() );
@@ -67,7 +67,7 @@ ICQEditAccountWidget::ICQEditAccountWidget(ICQProtocol *protocol,
mAccountSettings->mPasswordWidget->load(&mAccount->password());
mAccountSettings->chkAutoLogin->setChecked(mAccount->excludeConnect());
- QString serverEntry = mAccount->configGroup()->readEntry("Server", "login.oscar.aol.com");
+ TQString serverEntry = mAccount->configGroup()->readEntry("Server", "login.oscar.aol.com");
int portEntry = mAccount->configGroup()->readNumEntry("Port", 5190);
if ( serverEntry != "login.oscar.aol.com" || ( portEntry != 5190) )
mAccountSettings->optionOverrideServer->setChecked( true );
@@ -99,12 +99,12 @@ ICQEditAccountWidget::ICQEditAccountWidget(ICQProtocol *protocol,
4 );
}
- QObject::connect(mAccountSettings->buttonRegister, SIGNAL(clicked()), this, SLOT(slotOpenRegister()));
+ TQObject::connect(mAccountSettings->buttonRegister, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOpenRegister()));
/* Set tab order to password custom widget correctly */
- QWidget::setTabOrder( mAccountSettings->edtAccountId, mAccountSettings->mPasswordWidget->mRemembered );
- QWidget::setTabOrder( mAccountSettings->mPasswordWidget->mRemembered, mAccountSettings->mPasswordWidget->mPassword );
- QWidget::setTabOrder( mAccountSettings->mPasswordWidget->mPassword, mAccountSettings->chkAutoLogin );
+ TQWidget::setTabOrder( mAccountSettings->edtAccountId, mAccountSettings->mPasswordWidget->mRemembered );
+ TQWidget::setTabOrder( mAccountSettings->mPasswordWidget->mRemembered, mAccountSettings->mPasswordWidget->mPassword );
+ TQWidget::setTabOrder( mAccountSettings->mPasswordWidget->mPassword, mAccountSettings->chkAutoLogin );
}
@@ -158,7 +158,7 @@ bool ICQEditAccountWidget::validateData()
{
kdDebug(14153) << k_funcinfo << "Called." << endl;
- QString userName = mAccountSettings->edtAccountId->text();
+ TQString userName = mAccountSettings->edtAccountId->text();
if (userName.isEmpty())
return false;