diff options
Diffstat (limited to 'kdeprint/management/kmwfile.cpp')
-rw-r--r-- | kdeprint/management/kmwfile.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdeprint/management/kmwfile.cpp b/kdeprint/management/kmwfile.cpp index 497b03f27..9daeee77b 100644 --- a/kdeprint/management/kmwfile.cpp +++ b/kdeprint/management/kmwfile.cpp @@ -21,14 +21,14 @@ #include "kmwizard.h" #include "kmprinter.h" -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <kurlrequester.h> #include <klocale.h> #include <kfiledialog.h> -KMWFile::KMWFile(QWidget *parent, const char *name) +KMWFile::KMWFile(TQWidget *parent, const char *name) : KMWizardPage(parent,name) { m_ID = KMWizard::File; @@ -37,14 +37,14 @@ KMWFile::KMWFile(QWidget *parent, const char *name) m_url = new KURLRequester(this); m_url->setMode((KFile::Mode)(KFile::File|KFile::LocalOnly)); - QLabel *l1 = new QLabel(this); + QLabel *l1 = new TQLabel(this); l1->setText(i18n("<p>The printing will be redirected to a file. Enter here the path " "of the file you want to use for redirection. Use an absolute path or " "the browse button for graphical selection.</p>")); - QLabel *l2 = new QLabel(i18n("Print to file:"), this); + QLabel *l2 = new TQLabel(i18n("Print to file:"), this); - QVBoxLayout *lay1 = new QVBoxLayout(this, 0, 30); - QVBoxLayout *lay2 = new QVBoxLayout(0, 0, 5); + QVBoxLayout *lay1 = new TQVBoxLayout(this, 0, 30); + QVBoxLayout *lay2 = new TQVBoxLayout(0, 0, 5); lay1->addWidget(l1); lay1->addLayout(lay2); lay1->addStretch(1); @@ -52,7 +52,7 @@ KMWFile::KMWFile(QWidget *parent, const char *name) lay2->addWidget(m_url); } -bool KMWFile::isValid(QString& msg) +bool KMWFile::isValid(TQString& msg) { QFileInfo fi(m_url->url()); if (fi.fileName().isEmpty()) @@ -72,6 +72,6 @@ bool KMWFile::isValid(QString& msg) void KMWFile::updatePrinter(KMPrinter *p) { - QString dev = QString::fromLatin1("file:%1").arg(m_url->url()); + QString dev = TQString::fromLatin1("file:%1").arg(m_url->url()); p->setDevice(dev); } |