diff options
Diffstat (limited to 'kdeprint/kmthreadjob.cpp')
-rw-r--r-- | kdeprint/kmthreadjob.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/kmthreadjob.cpp b/kdeprint/kmthreadjob.cpp index b3c3b4a28..bea9382db 100644 --- a/kdeprint/kmthreadjob.cpp +++ b/kdeprint/kmthreadjob.cpp @@ -104,18 +104,18 @@ bool KMThreadJob::checkJob(int ID) return (kill((pid_t)ID,0) == 0 || errno == EPERM); } -KMJob* KMThreadJob::tqfindJob(int ID) +KMJob* KMThreadJob::findJob(int ID) { - return m_jobs.tqfind(ID); + return m_jobs.find(ID); } -KMJob* KMThreadJob::tqfindJob(const TQString& uri) +KMJob* KMThreadJob::findJob(const TQString& uri) { if (uri.startsWith("proc:/")) { int pid = uri.mid(6).toInt(); if (pid > 0) - return m_jobs.tqfind(pid); + return m_jobs.find(pid); } return NULL; } @@ -150,7 +150,7 @@ void KMThreadJob::createJob(KMJob *job) if (job->id() > 0) { loadJobs(); - if (!m_jobs.tqfind(job->id())) + if (!m_jobs.find(job->id())) { m_jobs.insert(job->id(),job); saveJobs(); |