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 --- kdesktop/kwebdesktop/kwebdesktop.cpp | 2 +- kdesktop/kwebdesktop/kwebdesktop.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kdesktop/kwebdesktop') diff --git a/kdesktop/kwebdesktop/kwebdesktop.cpp b/kdesktop/kwebdesktop/kwebdesktop.cpp index e0e6ab322..b3560c793 100644 --- a/kdesktop/kwebdesktop/kwebdesktop.cpp +++ b/kdesktop/kwebdesktop/kwebdesktop.cpp @@ -171,7 +171,7 @@ KParts::ReadOnlyPart* KWebDesktop::createPart( const TQString& mimeType ) } else { // Try to find an appropriate viewer component m_part = KParts::ComponentFactory::createPartInstanceFromQuery - ( mimeType, TQString::null, 0, 0, this, 0 ); + ( mimeType, TQString(), 0, 0, this, 0 ); if ( !m_part ) kdWarning() << "No handler found for " << mimeType << endl; else { diff --git a/kdesktop/kwebdesktop/kwebdesktop.h b/kdesktop/kwebdesktop/kwebdesktop.h index 7ec81338e..b4b5cc0fc 100644 --- a/kdesktop/kwebdesktop/kwebdesktop.h +++ b/kdesktop/kwebdesktop/kwebdesktop.h @@ -26,7 +26,7 @@ namespace KIO { class Job; } -class KWebDesktop : public QObject +class KWebDesktop : public TQObject { Q_OBJECT public: -- cgit v1.2.1