diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-20 20:20:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-20 20:20:19 +0000 |
commit | df6d1c3c6fd22031d432af447798938c1d7e1877 (patch) | |
tree | 4f74f2a214b347b651f6df4cee9d3e47dbfa84db /konversation/src/quickconnectdialog.cpp | |
parent | 449e0b1b356e63cb4869fc6e0020134efa83825d (diff) | |
download | konversation-df6d1c3c6fd22031d432af447798938c1d7e1877.tar.gz konversation-df6d1c3c6fd22031d432af447798938c1d7e1877.zip |
TQt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/konversation@1166088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konversation/src/quickconnectdialog.cpp')
-rw-r--r-- | konversation/src/quickconnectdialog.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/konversation/src/quickconnectdialog.cpp b/konversation/src/quickconnectdialog.cpp index a8aacae..0d86fcc 100644 --- a/konversation/src/quickconnectdialog.cpp +++ b/konversation/src/quickconnectdialog.cpp @@ -15,55 +15,55 @@ #include "quickconnectdialog.h" #include "konversationapplication.h" -#include <qlayout.h> -#include <qwhatsthis.h> -#include <qlabel.h> -#include <qcheckbox.h> +#include <tqlayout.h> +#include <tqwhatsthis.h> +#include <tqlabel.h> +#include <tqcheckbox.h> #include <klineedit.h> #include <klocale.h> -QuickConnectDialog::QuickConnectDialog(QWidget *parent) +QuickConnectDialog::QuickConnectDialog(TQWidget *parent) :KDialogBase(parent, "quickconnect", true, i18n("Quick Connect"), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true) { - QWidget* page = new QWidget(this); + TQWidget* page = new TQWidget(this); setMainWidget(page); - QGridLayout* layout = new QGridLayout(page, 2, 4); + TQGridLayout* layout = new TQGridLayout(page, 2, 4); layout->setSpacing(spacingHint()); layout->setColStretch(1, 10); - QLabel* hostNameLabel = new QLabel(i18n("&Server host:"), page); - QString hostNameWT = i18n("Enter the host of the network here."); - QWhatsThis::add(hostNameLabel, hostNameWT); + TQLabel* hostNameLabel = new TQLabel(i18n("&Server host:"), page); + TQString hostNameWT = i18n("Enter the host of the network here."); + TQWhatsThis::add(hostNameLabel, hostNameWT); hostNameInput = new KLineEdit(page); - QWhatsThis::add(hostNameInput, hostNameWT); + TQWhatsThis::add(hostNameInput, hostNameWT); hostNameLabel->setBuddy(hostNameInput); - QLabel* portLabel = new QLabel(i18n("&Port:"), page); - QString portWT = i18n("The port that the IRC server is using."); - QWhatsThis::add(portLabel, portWT); + TQLabel* portLabel = new TQLabel(i18n("&Port:"), page); + TQString portWT = i18n("The port that the IRC server is using."); + TQWhatsThis::add(portLabel, portWT); portInput = new KLineEdit("6667", page ); - QWhatsThis::add(portInput, portWT); + TQWhatsThis::add(portInput, portWT); portLabel->setBuddy(portInput); - QLabel* nickLabel = new QLabel(i18n("&Nick:"), page); - QString nickWT = i18n("The nick you want to use."); - QWhatsThis::add(nickLabel, nickWT); + TQLabel* nickLabel = new TQLabel(i18n("&Nick:"), page); + TQString nickWT = i18n("The nick you want to use."); + TQWhatsThis::add(nickLabel, nickWT); nickInput = new KLineEdit(Preferences::nickname(0), page); - QWhatsThis::add(nickInput, nickWT); + TQWhatsThis::add(nickInput, nickWT); nickLabel->setBuddy(nickInput); - QLabel* passwordLabel = new QLabel(i18n("P&assword:"), page); - QString passwordWT = i18n("If the IRC server requires a password, enter it here (most servers do not require a password.)"); - QWhatsThis::add(passwordLabel, passwordWT); + TQLabel* passwordLabel = new TQLabel(i18n("P&assword:"), page); + TQString passwordWT = i18n("If the IRC server requires a password, enter it here (most servers do not require a password.)"); + TQWhatsThis::add(passwordLabel, passwordWT); passwordInput = new KLineEdit(page); - QWhatsThis::add(passwordInput, passwordWT); + TQWhatsThis::add(passwordInput, passwordWT); passwordLabel->setBuddy(passwordInput); - sslCheckBox = new QCheckBox(page, "sslCheckBox"); + sslCheckBox = new TQCheckBox(page, "sslCheckBox"); sslCheckBox->setText(i18n("&Use SSL")); layout->addWidget(hostNameLabel, 0, 0); |