summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmwfile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmwfile.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmwfile.cpp')
-rw-r--r--kdeprint/management/kmwfile.cpp18
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);
}