summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmwdrivertest.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/kmwdrivertest.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/kmwdrivertest.cpp')
-rw-r--r--kdeprint/management/kmwdrivertest.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kdeprint/management/kmwdrivertest.cpp b/kdeprint/management/kmwdrivertest.cpp
index 5075e2204..4024f110d 100644
--- a/kdeprint/management/kmwdrivertest.cpp
+++ b/kdeprint/management/kmwdrivertest.cpp
@@ -25,16 +25,16 @@
#include "kmmanager.h"
#include "kmdriverdialog.h"
-#include <qlabel.h>
+#include <tqlabel.h>
#include <kpushbutton.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kapplication.h>
#include <kmessagebox.h>
#include <kguiitem.h>
#include <kio/netaccess.h>
-KMWDriverTest::KMWDriverTest(QWidget *parent, const char *name)
+KMWDriverTest::KMWDriverTest(TQWidget *parent, const char *name)
: KMWizardPage(parent,name)
{
m_ID = KMWizard::DriverTest;
@@ -44,26 +44,26 @@ KMWDriverTest::KMWDriverTest(QWidget *parent, const char *name)
m_driver = 0;
m_printer = 0;
- m_manufacturer = new QLabel(this);
- m_model = new QLabel(this);
- m_driverinfo = new QLabel(this);
+ m_manufacturer = new TQLabel(this);
+ m_model = new TQLabel(this);
+ m_driverinfo = new TQLabel(this);
m_driverinfo->setTextFormat(Qt::RichText);
- QLabel *l1 = new QLabel(i18n("<b>Manufacturer:</b>"), this);
- QLabel *l2 = new QLabel(i18n("<b>Model:</b>"), this);
- QLabel *l3 = new QLabel(i18n("<b>Description:</b>"), this);
+ QLabel *l1 = new TQLabel(i18n("<b>Manufacturer:</b>"), this);
+ QLabel *l2 = new TQLabel(i18n("<b>Model:</b>"), this);
+ QLabel *l3 = new TQLabel(i18n("<b>Description:</b>"), this);
m_test = new KPushButton(KGuiItem(i18n("&Test"), "kdeprint_testprinter"), this);
m_settings = new KPushButton(KGuiItem(i18n("&Settings"), "configure"), this);
- QLabel *l0 = new QLabel(this);
+ QLabel *l0 = new TQLabel(this);
l0->setText(i18n("<p>Now you can test the printer before finishing installation. "
"Use the <b>Settings</b> button to configure the printer driver and "
"the <b>Test</b> button to test your configuration. Use the <b>Back</b> "
"button to change the driver (your current configuration will be discarded).</p>"));
- QVBoxLayout *lay1 = new QVBoxLayout(this, 0, 15);
- QGridLayout *lay2 = new QGridLayout(0, 3, 3, 0, 0);
- QHBoxLayout *lay3 = new QHBoxLayout(0, 0, 10);
+ QVBoxLayout *lay1 = new TQVBoxLayout(this, 0, 15);
+ QGridLayout *lay2 = new TQGridLayout(0, 3, 3, 0, 0);
+ QHBoxLayout *lay3 = new TQHBoxLayout(0, 0, 10);
lay1->addWidget(l0,0);
lay1->addLayout(lay2,0);
lay1->addLayout(lay3,0);
@@ -80,8 +80,8 @@ KMWDriverTest::KMWDriverTest(QWidget *parent, const char *name)
lay3->addWidget(m_settings,0);
lay3->addStretch(1);
- connect(m_test,SIGNAL(clicked()),SLOT(slotTest()));
- connect(m_settings,SIGNAL(clicked()),SLOT(slotSettings()));
+ connect(m_test,TQT_SIGNAL(clicked()),TQT_SLOT(slotTest()));
+ connect(m_settings,TQT_SIGNAL(clicked()),TQT_SLOT(slotSettings()));
}
KMWDriverTest::~KMWDriverTest()
@@ -115,7 +115,7 @@ void KMWDriverTest::initPrinter(KMPrinter *p)
if (checkDriver && !m_driver)
{
KMessageBox::error(this, i18n("<qt>Unable to load the requested driver:<p>%1</p></qt>").arg(KMManager::self()->errorMsg()));
- KMManager::self()->setErrorMsg(QString::null);
+ KMManager::self()->setErrorMsg(TQString::null);
}
m_settings->setEnabled((m_driver != 0));
}