diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-16 02:40:35 +0000 |
commit | bab40890696ec68c337dc290880423a0602b83c7 (patch) | |
tree | 6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/cups/kmwippselect.cpp | |
parent | f7e71d47719ab6094cf4a9fafffa5ea351973522 (diff) | |
download | tdelibs-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/kmwippselect.cpp')
-rw-r--r-- | kdeprint/cups/kmwippselect.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/cups/kmwippselect.cpp b/kdeprint/cups/kmwippselect.cpp index 38fff88df..0d89e9112 100644 --- a/kdeprint/cups/kmwippselect.cpp +++ b/kdeprint/cups/kmwippselect.cpp @@ -38,7 +38,7 @@ KMWIppSelect::KMWIppSelect(TQWidget *parent, const char *name) m_list = new KListBox(this); - QVBoxLayout *lay = new TQVBoxLayout(this, 0, 0); + TQVBoxLayout *lay = new TQVBoxLayout(this, 0, 0); lay->addWidget(m_list); } @@ -55,7 +55,7 @@ bool KMWIppSelect::isValid(TQString& msg) void KMWIppSelect::initPrinter(KMPrinter *p) { // storage variables - QString host, login, password; + TQString host, login, password; int port; // save config @@ -73,7 +73,7 @@ void KMWIppSelect::initPrinter(KMPrinter *p) CupsInfos::self()->setPassword(url.pass()); CupsInfos::self()->setPort(url.port()); IppRequest req; - QString uri; + TQString uri; req.setOperation(CUPS_GET_PRINTERS); uri = TQString::tqfromLatin1("ipp://%1/printers/").arg(CupsInfos::self()->hostaddr()); req.addURI(IPP_TAG_OPERATION,"printer-uri",uri); @@ -100,7 +100,7 @@ void KMWIppSelect::initPrinter(KMPrinter *p) void KMWIppSelect::updatePrinter(KMPrinter *p) { KURL url = p->device(); - QString path = m_list->currentText(); + TQString path = m_list->currentText(); path.prepend("/printers/"); url.setPath(path); p->setDevice(url.url()); |