summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/kmwusers.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
commitbab40890696ec68c337dc290880423a0602b83c7 (patch)
tree6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/cups/kmwusers.cpp
parentf7e71d47719ab6094cf4a9fafffa5ea351973522 (diff)
downloadtdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz
tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/cups/kmwusers.cpp')
-rw-r--r--kdeprint/cups/kmwusers.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/cups/kmwusers.cpp b/kdeprint/cups/kmwusers.cpp
index 4466c4223..f42250d68 100644
--- a/kdeprint/cups/kmwusers.cpp
+++ b/kdeprint/cups/kmwusers.cpp
@@ -41,13 +41,13 @@ KMWUsers::KMWUsers(TQWidget *parent, const char *name)
m_type->insertItem(i18n("Allowed Users"));
m_type->insertItem(i18n("Denied Users"));
- QLabel *lab1 = new TQLabel(i18n("Define here a group of allowed/denied users for this printer."), this);
- QLabel *lab2 = new TQLabel(i18n("&Type:"), this);
+ TQLabel *lab1 = new TQLabel(i18n("Define here a group of allowed/denied users for this printer."), this);
+ TQLabel *lab2 = new TQLabel(i18n("&Type:"), this);
lab2->setBuddy(m_type);
- QVBoxLayout *l0 = new TQVBoxLayout(this, 0, 10);
- QHBoxLayout *l1 = new TQHBoxLayout(0, 0, 10);
+ TQVBoxLayout *l0 = new TQVBoxLayout(this, 0, 10);
+ TQHBoxLayout *l1 = new TQHBoxLayout(0, 0, 10);
l0->addWidget(lab1, 0);
l0->addLayout(l1, 0);
l1->addWidget(lab2, 0);
@@ -61,7 +61,7 @@ KMWUsers::~KMWUsers()
void KMWUsers::initPrinter(KMPrinter *p)
{
- QStringList l;
+ TQStringList l;
int i(1);
if (!p->option("requesting-user-name-denied").isEmpty())
{
@@ -85,12 +85,12 @@ void KMWUsers::updatePrinter(KMPrinter *p)
p->removeOption("requesting-user-name-denied");
p->removeOption("requesting-user-name-allowed");
- QString str;
+ TQString str;
if (m_users->count() > 0)
str = m_users->items().join(",");
else
str = (m_type->currentItem() == 0 ? "all" : "none");
- QString optname = (m_type->currentItem() == 0 ? "requesting-user-name-allowed" : "requesting-user-name-denied");
+ TQString optname = (m_type->currentItem() == 0 ? "requesting-user-name-allowed" : "requesting-user-name-denied");
p->setOption(optname, str);
}
#include "kmwusers.moc"