summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/pdb
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/documentation/plugins/pdb
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
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
Diffstat (limited to 'parts/documentation/plugins/pdb')
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.cpp10
-rw-r--r--parts/documentation/plugins/pdb/docpdbplugin.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/parts/documentation/plugins/pdb/docpdbplugin.cpp b/parts/documentation/plugins/pdb/docpdbplugin.cpp
index 8fdc4643..17089c89 100644
--- a/parts/documentation/plugins/pdb/docpdbplugin.cpp
+++ b/parts/documentation/plugins/pdb/docpdbplugin.cpp
@@ -31,8 +31,8 @@ static const KAboutData data("docpdbplugin", I18N_NOOP("PalmDoc documentation pl
typedef KDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocpdbplugin, DocPDBPluginFactory(&data) )
-DocPDBPlugin::DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args)
- :DocumentationPlugin(DocPDBPluginFactory::instance()->config(), parent, name)
+DocPDBPlugin::DocPDBPlugin(TQObject* tqparent, const char* name, const TQStringList args)
+ :DocumentationPlugin(DocPDBPluginFactory::instance()->config(), tqparent, name)
{
setCapabilities(CustomDocumentationTitles | ProjectUserManual);
autoSetup();
@@ -59,14 +59,14 @@ DocumentationCatalogItem* DocPDBPlugin::createCatalog(KListView* contents, const
return item;
}
-QPair<KFile::Mode, TQString> DocPDBPlugin::catalogLocatorProps()
+TQPair<KFile::Mode, TQString> DocPDBPlugin::catalogLocatorProps()
{
- return QPair<KFile::Mode, TQString>(KFile::File, "all/allfiles");
+ return TQPair<KFile::Mode, TQString>(KFile::File, "all/allfiles");
}
TQString DocPDBPlugin::catalogTitle(const TQString& /*url*/)
{
- return TQString::null;
+ return TQString();
}
TQStringList DocPDBPlugin::fullTextSearchLocations()
diff --git a/parts/documentation/plugins/pdb/docpdbplugin.h b/parts/documentation/plugins/pdb/docpdbplugin.h
index b9544a7b..33bb5ded 100644
--- a/parts/documentation/plugins/pdb/docpdbplugin.h
+++ b/parts/documentation/plugins/pdb/docpdbplugin.h
@@ -24,7 +24,7 @@
class DocPDBPlugin : public DocumentationPlugin {
public:
- DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList());
+ DocPDBPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList());
~DocPDBPlugin();
virtual TQString pluginName() const;
@@ -39,7 +39,7 @@ public:
virtual TQStringList fullTextSearchLocations();
- virtual QPair<KFile::Mode, TQString> catalogLocatorProps();
+ virtual TQPair<KFile::Mode, TQString> catalogLocatorProps();
virtual TQString catalogTitle(const TQString& url);
virtual void autoSetupPlugin();