summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/pdf/docpdfplugin.cpp
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/pdf/docpdfplugin.cpp
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/pdf/docpdfplugin.cpp')
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/documentation/plugins/pdf/docpdfplugin.cpp b/parts/documentation/plugins/pdf/docpdfplugin.cpp
index 79dab511..8fa76deb 100644
--- a/parts/documentation/plugins/pdf/docpdfplugin.cpp
+++ b/parts/documentation/plugins/pdf/docpdfplugin.cpp
@@ -31,8 +31,8 @@ static const KAboutData data("docpdfplugin", I18N_NOOP("PDF documentation plugin
typedef KDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocpdfplugin, DocPDFPluginFactory(&data) )
-DocPDFPlugin::DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args)
- :DocumentationPlugin(DocPDFPluginFactory::instance()->config(), parent, name)
+DocPDFPlugin::DocPDFPlugin(TQObject* tqparent, const char* name, const TQStringList args)
+ :DocumentationPlugin(DocPDFPluginFactory::instance()->config(), tqparent, name)
{
setCapabilities(CustomDocumentationTitles | ProjectUserManual);
autoSetup();
@@ -59,14 +59,14 @@ DocumentationCatalogItem* DocPDFPlugin::createCatalog(KListView* contents, const
return item;
}
-QPair<KFile::Mode, TQString> DocPDFPlugin::catalogLocatorProps()
+TQPair<KFile::Mode, TQString> DocPDFPlugin::catalogLocatorProps()
{
- return QPair<KFile::Mode, TQString>(KFile::File, "*.pdf");
+ return TQPair<KFile::Mode, TQString>(KFile::File, "*.pdf");
}
TQString DocPDFPlugin::catalogTitle(const TQString& /*url*/)
{
- return TQString::null;
+ return TQString();
}
TQStringList DocPDFPlugin::fullTextSearchLocations()