summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kmwusers.cpp
diff options
context:
space:
mode:
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();
}