diff options
Diffstat (limited to 'kdeprint/kmjobmanager.cpp')
-rw-r--r-- | kdeprint/kmjobmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/kmjobmanager.cpp b/kdeprint/kmjobmanager.cpp index ef6b56632..afbca7a2f 100644 --- a/kdeprint/kmjobmanager.cpp +++ b/kdeprint/kmjobmanager.cpp @@ -60,7 +60,7 @@ void KMJobManager::removeDiscardedJobs() } } -/*KMJob* KMJobManager::tqfindJob(int ID) +/*KMJob* KMJobManager::findJob(int ID) { TQPtrListIterator<KMJob> it(m_jobs); for (;it.current();++it) @@ -69,7 +69,7 @@ void KMJobManager::removeDiscardedJobs() return 0; }*/ -KMJob* KMJobManager::tqfindJob(const TQString& uri) +KMJob* KMJobManager::findJob(const TQString& uri) { TQPtrListIterator<KMJob> 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 = tqfindJob(job->uri()); + KMJob *aJob = findJob(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 = tqfindJob(ID); + KMJob *job = findJob(ID); if (job) { TQPtrList<KMJob> l; @@ -114,7 +114,7 @@ void KMJobManager::addJob(KMJob *job) bool KMJobManager::sendCommand(const TQString& uri, int action, const TQString& arg) { - KMJob *job = tqfindJob(uri); + KMJob *job = findJob(uri); if (job) { TQPtrList<KMJob> l; @@ -214,7 +214,7 @@ void KMJobManager::validatePluginActions(KActionCollection*, const TQPtrList<KMJ void KMJobManager::addPrinter(const TQString& pr, KMJobManager::JobType type, bool isSpecial) { - struct JobFilter *jf = m_filter.tqfind(pr); + struct JobFilter *jf = m_filter.find(pr); if (!jf) { jf = new JobFilter; @@ -226,7 +226,7 @@ void KMJobManager::addPrinter(const TQString& pr, KMJobManager::JobType type, bo void KMJobManager::removePrinter(const TQString& pr, KMJobManager::JobType type) { - struct JobFilter *jf = m_filter.tqfind(pr); + struct JobFilter *jf = m_filter.find(pr); if (jf) { jf->m_type[type] = QMAX(0, jf->m_type[type]-1); |