summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kmwusers.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/cups/kmwusers.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/cups/kmwusers.cpp')
-rw-r--r--kdeprint/cups/kmwusers.cpp22
1 files changed, 11 insertions, 11 deletions
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 <qlabel.h>
-#include <qlayout.h>
-#include <qcombobox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqcombobox.h>
#include <klocale.h>
#include <keditlistbox.h>
-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();
}