diff options
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); |