summaryrefslogtreecommitdiffstats
path: root/kdeprint/kmjobmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/kmjobmanager.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
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
Diffstat (limited to 'kdeprint/kmjobmanager.cpp')
-rw-r--r--kdeprint/kmjobmanager.cpp14
1 files changed, 7 insertions, 7 deletions
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<KMJob> 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<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 = 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<KMJob> 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<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.find(pr);
+ struct JobFilter *jf = m_filter.tqfind(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.find(pr);
+ struct JobFilter *jf = m_filter.tqfind(pr);
if (jf)
{
jf->m_type[type] = QMAX(0, jf->m_type[type]-1);