summaryrefslogtreecommitdiffstats
path: root/kdeprint/lpr/kmlprjobmanager.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/lpr/kmlprjobmanager.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/lpr/kmlprjobmanager.cpp')
-rw-r--r--kdeprint/lpr/kmlprjobmanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/lpr/kmlprjobmanager.cpp b/kdeprint/lpr/kmlprjobmanager.cpp
index d60a41020..f002043d5 100644
--- a/kdeprint/lpr/kmlprjobmanager.cpp
+++ b/kdeprint/lpr/kmlprjobmanager.cpp
@@ -24,21 +24,21 @@
#include "kmjob.h"
#include "lprsettings.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <klocale.h>
-KMLprJobManager::KMLprJobManager(QObject *parent, const char *name, const QStringList & /*args*/)
+KMLprJobManager::KMLprJobManager(TQObject *parent, const char *name, const TQStringList & /*args*/)
: KMJobManager(parent, name)
{
m_lpqhelper = new LpqHelper(this, "LpqHelper");
}
-bool KMLprJobManager::listJobs(const QString& prname, JobType, int limit)
+bool KMLprJobManager::listJobs(const TQString& prname, JobType, int limit)
{
- QPtrList<KMJob> jobList;
+ TQPtrList<KMJob> jobList;
jobList.setAutoDelete(false);
m_lpqhelper->listJobs(jobList, prname, limit);
- QPtrListIterator<KMJob> it(jobList);
+ TQPtrListIterator<KMJob> it(jobList);
for (; it.current(); ++it)
addJob(it.current());
return false;
@@ -58,10 +58,10 @@ int KMLprJobManager::actions()
return (KMJob::Remove | KMJob::Hold | KMJob::Resume);
}
-bool KMLprJobManager::sendCommandSystemJob(const QPtrList<KMJob>& jobs, int action, const QString& arg)
+bool KMLprJobManager::sendCommandSystemJob(const TQPtrList<KMJob>& jobs, int action, const TQString& arg)
{
QString msg;
- QPtrListIterator<KMJob> it(jobs);
+ TQPtrListIterator<KMJob> it(jobs);
bool status(true);
LpcHelper *helper = lpcHelper();