diff options
Diffstat (limited to 'parts/documentation/plugins/qt/docqtplugin.cpp')
-rw-r--r-- | parts/documentation/plugins/qt/docqtplugin.cpp | 32 |
1 files changed, 16 insertions, 16 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); } |