diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /parts/documentation/plugins | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'parts/documentation/plugins')
24 files changed, 84 insertions, 84 deletions
diff --git a/parts/documentation/plugins/CMakeLists.txt b/parts/documentation/plugins/CMakeLists.txt index 281c40f8..116e7674 100644 --- a/parts/documentation/plugins/CMakeLists.txt +++ b/parts/documentation/plugins/CMakeLists.txt @@ -12,6 +12,6 @@ add_subdirectory( qt ) add_subdirectory( doxygen ) add_subdirectory( devhelp ) -add_subdirectory( kdevtoc ) +add_subdirectory( tdevtoc ) add_subdirectory( chm ) add_subdirectory( custom ) diff --git a/parts/documentation/plugins/Makefile.am b/parts/documentation/plugins/Makefile.am index c2002f78..253a0193 100644 --- a/parts/documentation/plugins/Makefile.am +++ b/parts/documentation/plugins/Makefile.am @@ -1,3 +1,3 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util $(all_includes) METASOURCES = AUTO -SUBDIRS = qt doxygen devhelp kdevtoc chm custom +SUBDIRS = qt doxygen devhelp tdevtoc chm custom diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp index 5acecce3..f3287540 100644 --- a/parts/documentation/plugins/chm/docchmplugin.cpp +++ b/parts/documentation/plugins/chm/docchmplugin.cpp @@ -28,14 +28,14 @@ #include <iostream> #include <fstream> #include <tqvaluevector.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include <tqregexp.h> #include "../../../../config.h" -static const KDevPluginInfo data("docchmplugin"); -typedef KDevGenericFactory<DocCHMPlugin> DocCHMPluginFactory; +static const TDevPluginInfo data("docchmplugin"); +typedef TDevGenericFactory<DocCHMPlugin> DocCHMPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocchmplugin, DocCHMPluginFactory(data) ) DocCHMPlugin::DocCHMPlugin(TQObject* parent, const char* name, TQStringList // args diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h index 452e1c09..e814248f 100644 --- a/parts/documentation/plugins/chm/docchmplugin.h +++ b/parts/documentation/plugins/chm/docchmplugin.h @@ -20,7 +20,7 @@ #ifndef DOCCHMPLUGIN_H #define DOCCHMPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocCHMPlugin :public DocumentationPlugin { diff --git a/parts/documentation/plugins/custom/doccustomplugin.cpp b/parts/documentation/plugins/custom/doccustomplugin.cpp index dd141eba..55d6c9c6 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.cpp +++ b/parts/documentation/plugins/custom/doccustomplugin.cpp @@ -25,11 +25,11 @@ #include <tdelocale.h> #include <tdelistview.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> -static const KDevPluginInfo data("doccustomplugin"); -typedef KDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory; +static const TDevPluginInfo data("doccustomplugin"); +typedef TDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdoccustomplugin, DocCustomPluginFactory(data) ) DocCustomPlugin::DocCustomPlugin(TQObject* parent, const char* name, const TQStringList // args diff --git a/parts/documentation/plugins/custom/doccustomplugin.h b/parts/documentation/plugins/custom/doccustomplugin.h index f83daf1a..315e0864 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.h +++ b/parts/documentation/plugins/custom/doccustomplugin.h @@ -20,7 +20,7 @@ #ifndef DOCCUSTOMPLUGIN_H #define DOCCUSTOMPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocCustomPlugin : public DocumentationPlugin { public: diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp index 4f2d50d6..d644df4f 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp @@ -32,8 +32,8 @@ #include <tdelocale.h> #include <kstandarddirs.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include "../../../../config.h" @@ -69,8 +69,8 @@ private: }; -static const KDevPluginInfo data("docdevhelpplugin"); -typedef KDevGenericFactory<DocDevHelpPlugin> DocDevHelpPluginFactory; +static const TDevPluginInfo data("docdevhelpplugin"); +typedef TDevGenericFactory<DocDevHelpPlugin> DocDevHelpPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdevhelpplugin, DocDevHelpPluginFactory(data) ) DocDevHelpPlugin::DocDevHelpPlugin(TQObject* parent, const char* name, diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.h b/parts/documentation/plugins/devhelp/docdevhelpplugin.h index 6436a1d8..11339098 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.h +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.h @@ -23,7 +23,7 @@ #include <tqvaluestack.h> #include <tqdom.h> -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocDevHelpPlugin: public DocumentationPlugin { diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.cpp b/parts/documentation/plugins/djvu/docdjvuplugin.cpp index 7851a516..dafdfa1f 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.cpp +++ b/parts/documentation/plugins/djvu/docdjvuplugin.cpp @@ -25,10 +25,10 @@ #include <tdelocale.h> #include <tdelistview.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> static const TDEAboutData data("docdjvuplugin", I18N_NOOP("Djvu documentation plugin"), "1.0"); -typedef KDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory; +typedef TDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdjvuplugin, DocDjvuPluginFactory(&data) ) DocDjvuPlugin::DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args) diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.h b/parts/documentation/plugins/djvu/docdjvuplugin.h index 6bff409c..15415c65 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.h +++ b/parts/documentation/plugins/djvu/docdjvuplugin.h @@ -20,7 +20,7 @@ #ifndef DOCDJVUPLUGIN_H #define DOCDVJUPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocDjvuPlugin : public DocumentationPlugin { public: diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp index 9a5a6912..e5a7da93 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp @@ -35,8 +35,8 @@ #include <kstandarddirs.h> #include <urlutil.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include "../../../../config.h" @@ -60,8 +60,8 @@ private: }; -static const KDevPluginInfo data("docdoxygenplugin"); -typedef KDevGenericFactory<DocDoxygenPlugin> DocDoxygenPluginFactory; +static const TDevPluginInfo data("docdoxygenplugin"); +typedef TDevGenericFactory<DocDoxygenPlugin> DocDoxygenPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdoxygenplugin, DocDoxygenPluginFactory(data) ) DocDoxygenPlugin::DocDoxygenPlugin(TQObject* parent, const char* name, const TQStringList) diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.h b/parts/documentation/plugins/doxygen/docdoxygenplugin.h index ebd4a540..8382f98e 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.h +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.h @@ -20,7 +20,7 @@ #ifndef DOCDOXYGENPLUGIN_H #define DOCDOXYGENPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class TQDomDocument; class TQDomElement; diff --git a/parts/documentation/plugins/kdevtoc/Makefile.am b/parts/documentation/plugins/kdevtoc/Makefile.am deleted file mode 100644 index 22dab380..00000000 --- a/parts/documentation/plugins/kdevtoc/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \ - -I$(top_srcdir)/parts/documentation/interfaces $(all_includes) -METASOURCES = AUTO -kde_module_LTLIBRARIES = libdockdevtocplugin.la -libdockdevtocplugin_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries) -kde_services_DATA = dockdevtocplugin.desktop -noinst_HEADERS = dockdevtocplugin.h -libdockdevtocplugin_la_SOURCES = dockdevtocplugin.cpp -libdockdevtocplugin_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ - $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la diff --git a/parts/documentation/plugins/pdb/docpdbplugin.cpp b/parts/documentation/plugins/pdb/docpdbplugin.cpp index fc647d34..b0ebd29d 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.cpp +++ b/parts/documentation/plugins/pdb/docpdbplugin.cpp @@ -25,10 +25,10 @@ #include <tdelocale.h> #include <tdelistview.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> static const TDEAboutData data("docpdbplugin", I18N_NOOP("PalmDoc documentation plugin"), "1.0"); -typedef KDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory; +typedef TDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocpdbplugin, DocPDBPluginFactory(&data) ) DocPDBPlugin::DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args) diff --git a/parts/documentation/plugins/pdb/docpdbplugin.h b/parts/documentation/plugins/pdb/docpdbplugin.h index 40dd3a15..d1319012 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.h +++ b/parts/documentation/plugins/pdb/docpdbplugin.h @@ -20,7 +20,7 @@ #ifndef DOCPDBPLUGIN_H #define DOCPDBPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocPDBPlugin : public DocumentationPlugin { public: diff --git a/parts/documentation/plugins/pdf/docpdfplugin.cpp b/parts/documentation/plugins/pdf/docpdfplugin.cpp index 65bddd1b..322a33d3 100644 --- a/parts/documentation/plugins/pdf/docpdfplugin.cpp +++ b/parts/documentation/plugins/pdf/docpdfplugin.cpp @@ -25,10 +25,10 @@ #include <tdelocale.h> #include <tdelistview.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> static const TDEAboutData data("docpdfplugin", I18N_NOOP("PDF documentation plugin"), "1.0"); -typedef KDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory; +typedef TDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocpdfplugin, DocPDFPluginFactory(&data) ) DocPDFPlugin::DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args) diff --git a/parts/documentation/plugins/pdf/docpdfplugin.h b/parts/documentation/plugins/pdf/docpdfplugin.h index d5ecc7eb..a5410196 100644 --- a/parts/documentation/plugins/pdf/docpdfplugin.h +++ b/parts/documentation/plugins/pdf/docpdfplugin.h @@ -20,7 +20,7 @@ #ifndef DOCPDFPLUGIN_H #define DOCPDFPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> class DocPDFPlugin : public DocumentationPlugin { public: diff --git a/parts/documentation/plugins/qt/docqtplugin.cpp b/parts/documentation/plugins/qt/docqtplugin.cpp index 10271524..301859ca 100644 --- a/parts/documentation/plugins/qt/docqtplugin.cpp +++ b/parts/documentation/plugins/qt/docqtplugin.cpp @@ -32,8 +32,8 @@ #include <tdelistview.h> #include <urlutil.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include "../../../../config.h" @@ -56,8 +56,8 @@ private: TQString m_dcfFile; }; -static const KDevPluginInfo data("docqtplugin"); -typedef KDevGenericFactory<DocQtPlugin> DocQtPluginFactory; +static const TDevPluginInfo data("docqtplugin"); +typedef TDevGenericFactory<DocQtPlugin> DocQtPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocqtplugin, DocQtPluginFactory(data) ) DocQtPlugin::DocQtPlugin(TQObject* parent, const char* name, const TQStringList) diff --git a/parts/documentation/plugins/qt/docqtplugin.h b/parts/documentation/plugins/qt/docqtplugin.h index 8eac8456..964ef844 100644 --- a/parts/documentation/plugins/qt/docqtplugin.h +++ b/parts/documentation/plugins/qt/docqtplugin.h @@ -20,7 +20,7 @@ #ifndef DOCTQTPLUGIN_H #define DOCTQTPLUGIN_H -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> #include <tqdom.h> class TDEConfig; diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/tdevtoc/CMakeLists.txt index c12c26e3..f3d1efc2 100644 --- a/parts/documentation/plugins/kdevtoc/CMakeLists.txt +++ b/parts/documentation/plugins/tdevtoc/CMakeLists.txt @@ -27,13 +27,13 @@ link_directories( ##### other data ################################ -install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES doctdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -##### libdockdevtocplugin (module) ############## +##### libdoctdevtocplugin (module) ############## -tde_add_kpart( libdockdevtocplugin AUTOMOC - SOURCES dockdevtocplugin.cpp +tde_add_kpart( libdoctdevtocplugin AUTOMOC + SOURCES doctdevtocplugin.cpp LINK documentation_interfaces-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/parts/documentation/plugins/tdevtoc/Makefile.am b/parts/documentation/plugins/tdevtoc/Makefile.am new file mode 100644 index 00000000..4baaaa86 --- /dev/null +++ b/parts/documentation/plugins/tdevtoc/Makefile.am @@ -0,0 +1,10 @@ +INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util \ + -I$(top_srcdir)/parts/documentation/interfaces $(all_includes) +METASOURCES = AUTO +kde_module_LTLIBRARIES = libdoctdevtocplugin.la +libdoctdevtocplugin_la_LDFLAGS = -module -avoid-version -no-undefined $(all_libraries) +kde_services_DATA = doctdevtocplugin.desktop +noinst_HEADERS = doctdevtocplugin.h +libdoctdevtocplugin_la_SOURCES = doctdevtocplugin.cpp +libdoctdevtocplugin_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ + $(top_builddir)/parts/documentation/interfaces/libdocumentation_interfaces.la diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.cpp index fa17549b..aa603fbd 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp +++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.cpp @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include "dockdevtocplugin.h" +#include "doctdevtocplugin.h" #include <unistd.h> @@ -34,8 +34,8 @@ #include <kstandarddirs.h> #include <urlutil.h> -#include <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include "../../../../config.h" @@ -59,38 +59,38 @@ private: }; -static const KDevPluginInfo data("dockdevtocplugin"); -typedef KDevGenericFactory<DocKDevTOCPlugin> DocKDevTOCPluginFactory; -K_EXPORT_COMPONENT_FACTORY( libdockdevtocplugin, DocKDevTOCPluginFactory(data) ) +static const TDevPluginInfo data("doctdevtocplugin"); +typedef TDevGenericFactory<DocTDevTOCPlugin> DocTDevTOCPluginFactory; +K_EXPORT_COMPONENT_FACTORY( libdoctdevtocplugin, DocTDevTOCPluginFactory(data) ) -DocKDevTOCPlugin::DocKDevTOCPlugin(TQObject* parent, const char* name, +DocTDevTOCPlugin::DocTDevTOCPlugin(TQObject* parent, const char* name, const TQStringList /*args*/) - :DocumentationPlugin(DocKDevTOCPluginFactory::instance()->config(), parent, name) + :DocumentationPlugin(DocTDevTOCPluginFactory::instance()->config(), parent, name) { setCapabilities(Index); autoSetup(); } -DocKDevTOCPlugin::~DocKDevTOCPlugin() +DocTDevTOCPlugin::~DocTDevTOCPlugin() { } -TQString DocKDevTOCPlugin::pluginName() const +TQString DocTDevTOCPlugin::pluginName() const { return i18n("TDevelopTOC Documentation Collection"); } -DocumentationCatalogItem* DocKDevTOCPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url) +DocumentationCatalogItem* DocTDevTOCPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url) { return new TOCDocumentationCatalogItem(url, this, contents, title); } -TQPair<KFile::Mode, TQString> DocKDevTOCPlugin::catalogLocatorProps() +TQPair<KFile::Mode, TQString> DocTDevTOCPlugin::catalogLocatorProps() { return TQPair<KFile::Mode, TQString>(KFile::File, "*.toc"); } -TQString DocKDevTOCPlugin::catalogTitle(const TQString& url) +TQString DocTDevTOCPlugin::catalogTitle(const TQString& url) { TQFileInfo fi(url); if (!fi.exists()) @@ -111,19 +111,19 @@ TQString DocKDevTOCPlugin::catalogTitle(const TQString& url) } -TQStringList DocKDevTOCPlugin::fullTextSearchLocations() +TQStringList DocTDevTOCPlugin::fullTextSearchLocations() { return TQStringList(); } -bool DocKDevTOCPlugin::needRefreshIndex(DocumentationCatalogItem* /*item*/) +bool DocTDevTOCPlugin::needRefreshIndex(DocumentationCatalogItem* /*item*/) { return false; } -void DocKDevTOCPlugin::autoSetupPlugin() +void DocTDevTOCPlugin::autoSetupPlugin() { - TQStringList tocsDir = DocKDevTOCPluginFactory::instance()->dirs()->findAllResources("data", "kdevdocumentation/tocs/*.toc"); + TQStringList tocsDir = DocTDevTOCPluginFactory::instance()->dirs()->findAllResources("data", "tdevdocumentation/tocs/*.toc"); for (TQStringList::const_iterator it = tocsDir.begin(); it != tocsDir.end(); ++it) { @@ -132,7 +132,7 @@ void DocKDevTOCPlugin::autoSetupPlugin() } } -void DocKDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* item) +void DocTDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* item) { TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item); if (!tocItem) @@ -177,7 +177,7 @@ void DocKDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* it } } -void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item) +void DocTDevTOCPlugin::createTOC(DocumentationCatalogItem* item) { TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item); if (!tocItem) @@ -210,7 +210,7 @@ void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item) addTocSect(tocItem, childEl, base, 1); } -void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level) +void DocTDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childEl, const TQString &base, uint level) { while (!childEl.isNull()) { @@ -229,7 +229,7 @@ void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childE } } -void DocKDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item) +void DocTDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item) { TOCDocumentationCatalogItem *tocItem = dynamic_cast<TOCDocumentationCatalogItem *>(item); if (!tocItem) @@ -264,7 +264,7 @@ void DocKDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item) } } -TQString DocKDevTOCPlugin::constructURL(const TQString &base, const TQString &url) +TQString DocTDevTOCPlugin::constructURL(const TQString &base, const TQString &url) { if (base.isEmpty() && !url.isEmpty()) return url; @@ -274,4 +274,4 @@ TQString DocKDevTOCPlugin::constructURL(const TQString &base, const TQString &ur return base; } -#include "dockdevtocplugin.moc" +#include "doctdevtocplugin.moc" diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.desktop index 1cae3582..5f89e8d7 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop +++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.desktop @@ -1,10 +1,10 @@ [Desktop Entry] Type=Service -Name=DocKDevTOCPlugin -Name[da]=DocKDevTOC-plugin -Name[sk]=Doc KDevTOC modul +Name=DocTDevTOCPlugin +Name[da]=DocTDevTOC-plugin +Name[sk]=Doc TDevTOC modul Name[sv]=TDevelop innehållsförteckning-dokumentationsinsticksmodul -Name[ta]=DocKDevTOC சொருகு +Name[ta]=DocTDevTOC சொருகு Name[zh_TW]=TDevelop 目錄文件外掛程式 Exec=blubb Comment=Documentation plugin for TDevelopTOC documentation @@ -40,4 +40,4 @@ Comment[zh_CN]=TDevelopTOC 文档的文档插件 Comment[zh_TW]=TDevelop 目錄文件外掛程式 ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 -X-TDE-Library=libdockdevtocplugin +X-TDE-Library=libdoctdevtocplugin diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.h index 7205cc4c..266efb94 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h +++ b/parts/documentation/plugins/tdevtoc/doctdevtocplugin.h @@ -17,20 +17,20 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef DOCKDEVTOCPLUGIN_H -#define DOCKDEVTOCPLUGIN_H +#ifndef DOCTDEVTOCPLUGIN_H +#define DOCTDEVTOCPLUGIN_H #include <tqdom.h> -#include <kdevdocumentationplugin.h> +#include <tdevdocumentationplugin.h> -class DocKDevTOCPlugin : public DocumentationPlugin +class DocTDevTOCPlugin : public DocumentationPlugin { Q_OBJECT public: - DocKDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); - ~DocKDevTOCPlugin(); + DocTDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); + ~DocTDevTOCPlugin(); virtual TQString pluginName() const; |