From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kmthreadjob.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdeprint/kmthreadjob.cpp') diff --git a/kdeprint/kmthreadjob.cpp b/kdeprint/kmthreadjob.cpp index 43dcda831..02c148d95 100644 --- a/kdeprint/kmthreadjob.cpp +++ b/kdeprint/kmthreadjob.cpp @@ -50,10 +50,10 @@ TQString KMThreadJob::jobFile() bool KMThreadJob::saveJobs() { - QFile f(jobFile()); + TQFile f(jobFile()); if (f.open(IO_WriteOnly)) { - QTextStream t(&f); + TQTextStream t(&f); TQIntDictIterator it(m_jobs); for (;it.current();++it) t << it.current()->id() << CHARSEP << it.current()->name() << CHARSEP << it.current()->printer() << CHARSEP << it.current()->owner() << CHARSEP << it.current()->size() << endl; @@ -64,11 +64,11 @@ bool KMThreadJob::saveJobs() bool KMThreadJob::loadJobs() { - QFile f(jobFile()); + TQFile f(jobFile()); if (f.exists() && f.open(IO_ReadOnly)) { - QTextStream t(&f); - QString line; + TQTextStream t(&f); + TQString line; m_jobs.clear(); while (!t.eof()) -- cgit v1.2.1