From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kmjobmanager.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdeprint/kmjobmanager.cpp') diff --git a/kdeprint/kmjobmanager.cpp b/kdeprint/kmjobmanager.cpp index afbca7a2f..ef6b56632 100644 --- a/kdeprint/kmjobmanager.cpp +++ b/kdeprint/kmjobmanager.cpp @@ -60,7 +60,7 @@ void KMJobManager::removeDiscardedJobs() } } -/*KMJob* KMJobManager::findJob(int ID) +/*KMJob* KMJobManager::tqfindJob(int ID) { TQPtrListIterator it(m_jobs); for (;it.current();++it) @@ -69,7 +69,7 @@ void KMJobManager::removeDiscardedJobs() return 0; }*/ -KMJob* KMJobManager::findJob(const TQString& uri) +KMJob* KMJobManager::tqfindJob(const TQString& uri) { TQPtrListIterator it(m_jobs); for (;it.current();++it) @@ -83,7 +83,7 @@ void KMJobManager::addJob(KMJob *job) // only keep it if "printer" is not empty, and in printer filter if (!job->uri().isEmpty() && !job->printer().isEmpty()) { - KMJob *aJob = findJob(job->uri()); + KMJob *aJob = tqfindJob(job->uri()); if (aJob) { aJob->copy(*job); @@ -101,7 +101,7 @@ void KMJobManager::addJob(KMJob *job) /*bool KMJobManager::sendCommand(int ID, int action, const TQString& arg) { - KMJob *job = findJob(ID); + KMJob *job = tqfindJob(ID); if (job) { TQPtrList l; @@ -114,7 +114,7 @@ void KMJobManager::addJob(KMJob *job) bool KMJobManager::sendCommand(const TQString& uri, int action, const TQString& arg) { - KMJob *job = findJob(uri); + KMJob *job = tqfindJob(uri); if (job) { TQPtrList l; @@ -214,7 +214,7 @@ void KMJobManager::validatePluginActions(KActionCollection*, const TQPtrListm_type[type] = QMAX(0, jf->m_type[type]-1); -- cgit v1.2.1