diff options
Diffstat (limited to 'klinkstatus/src/ui/documentrootdialog.cpp')
-rw-r--r-- | klinkstatus/src/ui/documentrootdialog.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/klinkstatus/src/ui/documentrootdialog.cpp b/klinkstatus/src/ui/documentrootdialog.cpp index c2ed3e7d..8c55519e 100644 --- a/klinkstatus/src/ui/documentrootdialog.cpp +++ b/klinkstatus/src/ui/documentrootdialog.cpp @@ -23,21 +23,21 @@ #include <klocale.h> #include <kurl.h> -#include <qstring.h> -#include <qlayout.h> -#include <qlabel.h> +#include <tqstring.h> +#include <tqlayout.h> +#include <tqlabel.h> -DocumentRootDialog::DocumentRootDialog(QWidget *parent, QString const& url) +DocumentRootDialog::DocumentRootDialog(TQWidget *parent, TQString const& url) : KDialogBase(parent, "DocumentRootDialog", true, "Choose a Document Root", KDialogBase::Ok, KDialogBase::Ok, true), m_url(url) { - QWidget* page = new QWidget(this); + TQWidget* page = new TQWidget(this); setMainWidget(page); - QVBoxLayout* topLayout = new QVBoxLayout(page, 0, spacingHint()); + TQVBoxLayout* topLayout = new TQVBoxLayout(page, 0, spacingHint()); - QLabel* label = new QLabel(i18n("As you are using a protocol different than HTTP, \nthere is no way to guess where the document root is, \nin order to resolve relative URLs like the ones started with \"/\".\n\nPlease specify one:"), page); + TQLabel* label = new TQLabel(i18n("As you are using a protocol different than HTTP, \nthere is no way to guess where the document root is, \nin order to resolve relative URLs like the ones started with \"/\".\n\nPlease specify one:"), page); topLayout->addWidget(label); m_urlRequester = new KURLRequester(page); @@ -53,12 +53,12 @@ DocumentRootDialog::DocumentRootDialog(QWidget *parent, QString const& url) m_urlRequester->setMode(KFile::Directory); // enableButtonOK(false); - connect(m_urlRequester, SIGNAL(textChanged (const QString &)), - this, SLOT(slotTextChanged (const QString &))); - connect(m_urlRequester, SIGNAL(returnPressed (const QString &)), - this, SLOT(slotReturnPressed (const QString &))); - connect(m_urlRequester, SIGNAL(urlSelected (const QString &)), - this, SLOT(slotTextChanged (const QString &))); + connect(m_urlRequester, TQT_SIGNAL(textChanged (const TQString &)), + this, TQT_SLOT(slotTextChanged (const TQString &))); + connect(m_urlRequester, TQT_SIGNAL(returnPressed (const TQString &)), + this, TQT_SLOT(slotReturnPressed (const TQString &))); + connect(m_urlRequester, TQT_SIGNAL(urlSelected (const TQString &)), + this, TQT_SLOT(slotTextChanged (const TQString &))); } DocumentRootDialog::~DocumentRootDialog() @@ -66,12 +66,12 @@ DocumentRootDialog::~DocumentRootDialog() saveDialogSize("klinkstatus", true); } -void DocumentRootDialog::slotReturnPressed( const QString & ) +void DocumentRootDialog::slotReturnPressed( const TQString & ) { slotOk(); } -void DocumentRootDialog::slotTextChanged( const QString & s) +void DocumentRootDialog::slotTextChanged( const TQString & s) { KURL url(s); enableButtonOK(!s.isEmpty() && url.isValid()); |