From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/cups/kmwusers.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kdeprint/cups/kmwusers.cpp') diff --git a/kdeprint/cups/kmwusers.cpp b/kdeprint/cups/kmwusers.cpp index 3dedddd47..4466c4223 100644 --- a/kdeprint/cups/kmwusers.cpp +++ b/kdeprint/cups/kmwusers.cpp @@ -23,13 +23,13 @@ #include "kmwizard.h" #include "kmprinter.h" -#include -#include -#include +#include +#include +#include #include #include -KMWUsers::KMWUsers(QWidget *parent, const char *name) +KMWUsers::KMWUsers(TQWidget *parent, const char *name) : KMWizardPage(parent, name) { m_ID = KMWizard::Custom+4; @@ -37,17 +37,17 @@ KMWUsers::KMWUsers(QWidget *parent, const char *name) m_nextpage = KMWizard::Name; m_users = new KEditListBox(i18n("Users"), this, 0, false, KEditListBox::Add|KEditListBox::Remove); - m_type = new QComboBox(this); + m_type = new TQComboBox(this); m_type->insertItem(i18n("Allowed Users")); m_type->insertItem(i18n("Denied Users")); - QLabel *lab1 = new QLabel(i18n("Define here a group of allowed/denied users for this printer."), this); - QLabel *lab2 = new QLabel(i18n("&Type:"), this); + QLabel *lab1 = new TQLabel(i18n("Define here a group of allowed/denied users for this printer."), this); + QLabel *lab2 = new TQLabel(i18n("&Type:"), this); lab2->setBuddy(m_type); - QVBoxLayout *l0 = new QVBoxLayout(this, 0, 10); - QHBoxLayout *l1 = new QHBoxLayout(0, 0, 10); + QVBoxLayout *l0 = new TQVBoxLayout(this, 0, 10); + QHBoxLayout *l1 = new TQHBoxLayout(0, 0, 10); l0->addWidget(lab1, 0); l0->addLayout(l1, 0); l1->addWidget(lab2, 0); @@ -65,14 +65,14 @@ void KMWUsers::initPrinter(KMPrinter *p) int i(1); if (!p->option("requesting-user-name-denied").isEmpty()) { - l = QStringList::split(",", p->option("requesting-user-name-denied"), false); + l = TQStringList::split(",", p->option("requesting-user-name-denied"), false); if (l.count() == 1 && l[0] == "none") l.clear(); } else if (!p->option("requesting-user-name-allowed").isEmpty()) { i = 0; - l = QStringList::split(",", p->option("requesting-user-name-allowed"), false); + l = TQStringList::split(",", p->option("requesting-user-name-allowed"), false); if (l.count() && l[0] == "all") l.clear(); } -- cgit v1.2.3