diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 19:08:25 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 19:08:25 +0000 |
commit | e9be34de5fe62ce92c1d4cad63d03be76e9beb8d (patch) | |
tree | b41889ff9d6b950124134560ccbcecc78493a452 /parts/documentation/plugins/qt | |
parent | 48d4a26399959121f33d2bc3bfe51c7827b654fc (diff) | |
download | tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.tar.gz tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.zip |
Fix kdevelop Qt3 compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/documentation/plugins/qt')
-rw-r--r-- | parts/documentation/plugins/qt/docqtplugin.cpp | 32 | ||||
-rw-r--r-- | parts/documentation/plugins/qt/docqtplugin.h | 6 |
2 files changed, 19 insertions, 19 deletions
diff --git a/parts/documentation/plugins/qt/docqtplugin.cpp b/parts/documentation/plugins/qt/docqtplugin.cpp index 5efe880f..ee90caa0 100644 --- a/parts/documentation/plugins/qt/docqtplugin.cpp +++ b/parts/documentation/plugins/qt/docqtplugin.cpp @@ -57,21 +57,21 @@ private: }; static const KDevPluginInfo data("docqtplugin"); -typedef KDevGenericFactory<DocTQtPlugin> DocTQtPluginFactory; -K_EXPORT_COMPONENT_FACTORY( libdocqtplugin, DocTQtPluginFactory(data) ) +typedef KDevGenericFactory<DocQtPlugin> DocQtPluginFactory; +K_EXPORT_COMPONENT_FACTORY( libdocqtplugin, DocQtPluginFactory(data) ) -DocTQtPlugin::DocTQtPlugin(TQObject* tqparent, const char* name, const TQStringList) - :DocumentationPlugin(DocTQtPluginFactory::instance()->config(), tqparent, name) +DocQtPlugin::DocQtPlugin(TQObject* tqparent, const char* name, const TQStringList) + :DocumentationPlugin(DocQtPluginFactory::instance()->config(), tqparent, name) { setCapabilities(Index | FullTextSearch | CustomDocumentationTitles); autoSetup(); } -DocTQtPlugin::~DocTQtPlugin() +DocQtPlugin::~DocQtPlugin() { } -void DocTQtPlugin::createTOC(DocumentationCatalogItem *item) +void DocQtPlugin::createTOC(DocumentationCatalogItem *item) { TQtDocumentationCatalogItem *qtItem = dynamic_cast<TQtDocumentationCatalogItem *>(item); if (!qtItem) @@ -135,7 +135,7 @@ void DocTQtPlugin::createTOC(DocumentationCatalogItem *item) } } -void DocTQtPlugin::autoSetupPlugin() +void DocQtPlugin::autoSetupPlugin() { TQString qtDocDir(QT_DOCDIR); qtDocDir = URLUtil::envExpand(qtDocDir); @@ -158,7 +158,7 @@ void DocTQtPlugin::autoSetupPlugin() } } -void DocTQtPlugin::setCatalogURL(DocumentationCatalogItem *item) +void DocQtPlugin::setCatalogURL(DocumentationCatalogItem *item) { TQtDocumentationCatalogItem *qtItem = dynamic_cast<TQtDocumentationCatalogItem *>(item); if (!qtItem) @@ -190,12 +190,12 @@ void DocTQtPlugin::setCatalogURL(DocumentationCatalogItem *item) } } -TQString DocTQtPlugin::pluginName() const +TQString DocQtPlugin::pluginName() const { return i18n("TQt Documentation Collection"); } -bool DocTQtPlugin::needRefreshIndex(DocumentationCatalogItem *item) +bool DocQtPlugin::needRefreshIndex(DocumentationCatalogItem *item) { TQtDocumentationCatalogItem *qtItem = dynamic_cast<TQtDocumentationCatalogItem *>(item); if (!qtItem) @@ -213,7 +213,7 @@ bool DocTQtPlugin::needRefreshIndex(DocumentationCatalogItem *item) return false; } -void DocTQtPlugin::createIndex(IndexBox *index, DocumentationCatalogItem *item) +void DocQtPlugin::createIndex(IndexBox *index, DocumentationCatalogItem *item) { TQtDocumentationCatalogItem *qtItem = dynamic_cast<TQtDocumentationCatalogItem *>(item); if (!qtItem) @@ -249,7 +249,7 @@ void DocTQtPlugin::createIndex(IndexBox *index, DocumentationCatalogItem *item) } } -void DocTQtPlugin::createSectionIndex(TQFileInfo &fi, IndexBox *index, DocumentationCatalogItem *item, +void DocQtPlugin::createSectionIndex(TQFileInfo &fi, IndexBox *index, DocumentationCatalogItem *item, TQDomElement section) { //adymo: do not load section to index for TQt reference documentation @@ -285,7 +285,7 @@ void DocTQtPlugin::createSectionIndex(TQFileInfo &fi, IndexBox *index, Documenta } } -TQStringList DocTQtPlugin::fullTextSearchLocations() +TQStringList DocQtPlugin::fullTextSearchLocations() { TQStringList locs; @@ -306,12 +306,12 @@ TQStringList DocTQtPlugin::fullTextSearchLocations() return locs; } -TQPair<KFile::Mode, TQString> DocTQtPlugin::catalogLocatorProps() +TQPair<KFile::Mode, TQString> DocQtPlugin::catalogLocatorProps() { return TQPair<KFile::Mode, TQString>(KFile::File, "*.xml *.dcf"); } -TQString DocTQtPlugin::catalogTitle(const TQString &url) +TQString DocQtPlugin::catalogTitle(const TQString &url) { TQFileInfo fi(url); if (!fi.exists()) @@ -331,7 +331,7 @@ TQString DocTQtPlugin::catalogTitle(const TQString &url) return docEl.attribute("title", TQString()); } -DocumentationCatalogItem *DocTQtPlugin::createCatalog(KListView *contents, const TQString &title, const TQString &url) +DocumentationCatalogItem *DocQtPlugin::createCatalog(KListView *contents, const TQString &title, const TQString &url) { return new TQtDocumentationCatalogItem(url, this, contents, title); } diff --git a/parts/documentation/plugins/qt/docqtplugin.h b/parts/documentation/plugins/qt/docqtplugin.h index 1bc1e865..afc7cf76 100644 --- a/parts/documentation/plugins/qt/docqtplugin.h +++ b/parts/documentation/plugins/qt/docqtplugin.h @@ -25,13 +25,13 @@ class KConfig; -class DocTQtPlugin : public DocumentationPlugin +class DocQtPlugin : public DocumentationPlugin { Q_OBJECT TQ_OBJECT public: - DocTQtPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); - ~DocTQtPlugin(); + DocQtPlugin(TQObject* tqparent, const char* name, const TQStringList args = TQStringList()); + ~DocQtPlugin(); virtual TQString pluginName() const; |