From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/documentation/plugins/custom/doccustomplugin.cpp | 10 +++++----- parts/documentation/plugins/custom/doccustomplugin.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'parts/documentation/plugins/custom') diff --git a/parts/documentation/plugins/custom/doccustomplugin.cpp b/parts/documentation/plugins/custom/doccustomplugin.cpp index ae95aff1..47012a2b 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.cpp +++ b/parts/documentation/plugins/custom/doccustomplugin.cpp @@ -32,9 +32,9 @@ static const KDevPluginInfo data("doccustomplugin"); typedef KDevGenericFactory DocCustomPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdoccustomplugin, DocCustomPluginFactory(data) ) -DocCustomPlugin::DocCustomPlugin(TQObject* parent, const char* name, const TQStringList // args +DocCustomPlugin::DocCustomPlugin(TQObject* tqparent, const char* name, const TQStringList // args ) - :DocumentationPlugin(DocCustomPluginFactory::instance()->config(), parent, name) + :DocumentationPlugin(DocCustomPluginFactory::instance()->config(), tqparent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); autoSetup(); @@ -62,14 +62,14 @@ DocumentationCatalogItem* DocCustomPlugin::createCatalog(KListView* contents, co return item; } -QPair DocCustomPlugin::catalogLocatorProps() +TQPair DocCustomPlugin::catalogLocatorProps() { - return QPair(KFile::File, "all/allfiles"); + return TQPair(KFile::File, "all/allfiles"); } TQString DocCustomPlugin::catalogTitle(const TQString& /*url*/) { - return TQString::null; + return TQString(); } TQStringList DocCustomPlugin::fullTextSearchLocations() diff --git a/parts/documentation/plugins/custom/doccustomplugin.h b/parts/documentation/plugins/custom/doccustomplugin.h index 77bc9750..33efec8f 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.h +++ b/parts/documentation/plugins/custom/doccustomplugin.h @@ -24,7 +24,7 @@ class DocCustomPlugin : public DocumentationPlugin { public: - DocCustomPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); + DocCustomPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); ~DocCustomPlugin(); virtual TQString pluginName() const; @@ -39,7 +39,7 @@ public: virtual TQStringList fullTextSearchLocations(); - virtual QPair catalogLocatorProps(); + virtual TQPair catalogLocatorProps(); virtual TQString catalogTitle(const TQString& url); virtual void autoSetupPlugin(); -- cgit v1.2.1