From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kjobviewer/kjobviewer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdeprint/kjobviewer') diff --git a/kdeprint/kjobviewer/kjobviewer.cpp b/kdeprint/kjobviewer/kjobviewer.cpp index 6039da9a0..a8f5ac26c 100644 --- a/kdeprint/kjobviewer/kjobviewer.cpp +++ b/kdeprint/kjobviewer/kjobviewer.cpp @@ -141,10 +141,10 @@ void KJobViewerApp::initialize() } - view = m_views.find(prname); + view = m_views.tqfind(prname); if (!view) { - kdDebug() << "creating new view: " << prname << endl; + kdDebug() << "creating new view: " << TQString(prname) << endl; view = new KMJobViewer(); connect(view, TQT_SIGNAL(jobsShown(KMJobViewer*,bool)), TQT_SLOT(slotJobsShown(KMJobViewer*,bool))); connect(view, TQT_SIGNAL(printerChanged(KMJobViewer*,const TQString&)), TQT_SLOT(slotPrinterChanged(KMJobViewer*,const TQString&))); @@ -200,7 +200,7 @@ void KJobViewerApp::slotTimer() void KJobViewerApp::slotPrinterChanged(KMJobViewer *view, const TQString& prname) { - KMJobViewer *other = m_views.find(prname); + KMJobViewer *other = m_views.tqfind(prname); if (other) { if (other->isVisible()) -- cgit v1.2.1