diff options
Diffstat (limited to 'lib')
48 files changed, 93 insertions, 93 deletions
diff --git a/lib/catalog/Mainpage.dox b/lib/catalog/Mainpage.dox index 128d7351..0d716246 100644 --- a/lib/catalog/Mainpage.dox +++ b/lib/catalog/Mainpage.dox @@ -1,5 +1,5 @@ /** -@mainpage The KDevelop Catalog Library +@mainpage The TDevelop Catalog Library This is the persistant symbol store library working with BerkeleyDb backend. diff --git a/lib/catalog/Makefile.am b/lib/catalog/Makefile.am index e88e6d19..f9c81448 100644 --- a/lib/catalog/Makefile.am +++ b/lib/catalog/Makefile.am @@ -8,6 +8,6 @@ kdevcatalogincludedir = $(includedir)/tdevelop/catalog kdevcataloginclude_HEADERS = catalog.h tag.h DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui khtml kmdi kio kjs kparts kutils -DOXYGEN_PROJECTNAME = KDevelop Catalog Library +DOXYGEN_PROJECTNAME = TDevelop Catalog Library DOXYGEN_DOCDIRPREFIX = kdev include ../../Doxyfile.am diff --git a/lib/catalog/catalog.cpp b/lib/catalog/catalog.cpp index 7b7f63ec..17963ddf 100644 --- a/lib/catalog/catalog.cpp +++ b/lib/catalog/catalog.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/catalog/catalog.h b/lib/catalog/catalog.h index 3f5080d2..f5e3e2fb 100644 --- a/lib/catalog/catalog.h +++ b/lib/catalog/catalog.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/catalog/tag.cpp b/lib/catalog/tag.cpp index 5543b8c3..dfd5a23b 100644 --- a/lib/catalog/tag.cpp +++ b/lib/catalog/tag.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/catalog/tag.h b/lib/catalog/tag.h index a3f7711b..245032ee 100644 --- a/lib/catalog/tag.h +++ b/lib/catalog/tag.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/ast.cpp b/lib/cppparser/ast.cpp index 8f2f2ad7..260dd87b 100644 --- a/lib/cppparser/ast.cpp +++ b/lib/cppparser/ast.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/ast.h b/lib/cppparser/ast.h index becf2e77..e062d077 100644 --- a/lib/cppparser/ast.h +++ b/lib/cppparser/ast.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/driver.cpp b/lib/cppparser/driver.cpp index 01d7c5cd..4c7fe6dc 100644 --- a/lib/cppparser/driver.cpp +++ b/lib/cppparser/driver.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> Copyright (C) 2006 David Nolden <david.nolden.tdevelop@art-master.de> diff --git a/lib/cppparser/driver.h b/lib/cppparser/driver.h index e30f7031..71e0f2d7 100644 --- a/lib/cppparser/driver.h +++ b/lib/cppparser/driver.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/errors.cpp b/lib/cppparser/errors.cpp index e3cb19e5..3fc2e697 100644 --- a/lib/cppparser/errors.cpp +++ b/lib/cppparser/errors.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/errors.h b/lib/cppparser/errors.h index e0959250..4898e312 100644 --- a/lib/cppparser/errors.h +++ b/lib/cppparser/errors.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index 167c88c4..687cce08 100644 --- a/lib/cppparser/lexer.cpp +++ b/lib/cppparser/lexer.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/lexer.h b/lib/cppparser/lexer.h index 047fc864..adc664e5 100644 --- a/lib/cppparser/lexer.h +++ b/lib/cppparser/lexer.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/lookup.cpp b/lib/cppparser/lookup.cpp index 9d52acbb..98a607e0 100644 --- a/lib/cppparser/lookup.cpp +++ b/lib/cppparser/lookup.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2005 Tobias Erbsland <te@profzone.ch> Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> diff --git a/lib/cppparser/lookup.h b/lib/cppparser/lookup.h index 2a89e0d6..811798a3 100644 --- a/lib/cppparser/lookup.h +++ b/lib/cppparser/lookup.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2005 Tobias Erbsland <te@profzone.ch> Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> diff --git a/lib/cppparser/parser.cpp b/lib/cppparser/parser.cpp index a9b77ed2..6934675e 100644 --- a/lib/cppparser/parser.cpp +++ b/lib/cppparser/parser.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/parser.h b/lib/cppparser/parser.h index 027360ec..c5527516 100644 --- a/lib/cppparser/parser.h +++ b/lib/cppparser/parser.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/tree_parser.cpp b/lib/cppparser/tree_parser.cpp index bcb63a33..c6025d73 100644 --- a/lib/cppparser/tree_parser.cpp +++ b/lib/cppparser/tree_parser.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/cppparser/tree_parser.h b/lib/cppparser/tree_parser.h index 06c9f987..e7ab70bd 100644 --- a/lib/cppparser/tree_parser.h +++ b/lib/cppparser/tree_parser.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2002,2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/interfaces/Mainpage.dox b/lib/interfaces/Mainpage.dox index 85440858..cf797655 100644 --- a/lib/interfaces/Mainpage.dox +++ b/lib/interfaces/Mainpage.dox @@ -1,7 +1,7 @@ /** -@mainpage The KDevelop Interfaces Library +@mainpage The TDevelop Interfaces Library -This library contains all interfaces and classes that form KDevelop plugin architecture. +This library contains all interfaces and classes that form TDevelop plugin architecture. <b>Link with</b>: -ltdevelop diff --git a/lib/interfaces/Makefile.am b/lib/interfaces/Makefile.am index 44a9ff53..3e8cbc7c 100644 --- a/lib/interfaces/Makefile.am +++ b/lib/interfaces/Makefile.am @@ -34,7 +34,7 @@ METASOURCES = AUTO SUBDIRS = extensions external extras DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui khtml kmdi kio kjs kparts kutils kdevutil designer_integration kdevcatalog kdevprofileslib kdevextensions -DOXYGEN_PROJECTNAME = KDevelop Interfaces Library +DOXYGEN_PROJECTNAME = TDevelop Interfaces Library DOXYGEN_DOCDIRPREFIX = kdev include ../../Doxyfile.am noinst_HEADERS = kdevprojectiface.h kdevdesignerintegrationiface.h diff --git a/lib/interfaces/codemodel.cpp b/lib/interfaces/codemodel.cpp index 6cdbfc7e..a0ebd157 100644 --- a/lib/interfaces/codemodel.cpp +++ b/lib/interfaces/codemodel.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/interfaces/codemodel.h b/lib/interfaces/codemodel.h index 871de327..86faa4f9 100644 --- a/lib/interfaces/codemodel.h +++ b/lib/interfaces/codemodel.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> Copyright (C) 2004 Matt Rogers <mattr@kde.org> Copyright (C) 2004 Alexander Dymo <adymo@tdevelop.org> diff --git a/lib/interfaces/codemodel_treeparser.cpp b/lib/interfaces/codemodel_treeparser.cpp index d3037b8d..deba30d0 100644 --- a/lib/interfaces/codemodel_treeparser.cpp +++ b/lib/interfaces/codemodel_treeparser.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> This library is free software; you can redistribute it and/or diff --git a/lib/interfaces/codemodel_treeparser.h b/lib/interfaces/codemodel_treeparser.h index ac40f684..7d31b163 100644 --- a/lib/interfaces/codemodel_treeparser.h +++ b/lib/interfaces/codemodel_treeparser.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> Copyright (C) 2004 Alexander Dymo <adymo@tdevelop.org> diff --git a/lib/interfaces/codemodel_utils.cpp b/lib/interfaces/codemodel_utils.cpp index c70e6f47..2c20bd29 100644 --- a/lib/interfaces/codemodel_utils.cpp +++ b/lib/interfaces/codemodel_utils.cpp @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> Copyright (C) 2003 Alexander Dymo <adymo@tdevelop.org> Copyright (C) 2004 Jonas Jacobi <j.jacobi@gmx.de> diff --git a/lib/interfaces/codemodel_utils.h b/lib/interfaces/codemodel_utils.h index 1fd1ce76..967c06e4 100644 --- a/lib/interfaces/codemodel_utils.h +++ b/lib/interfaces/codemodel_utils.h @@ -1,4 +1,4 @@ -/* This file is part of KDevelop +/* This file is part of TDevelop Copyright (C) 2003 Roberto Raggi <roberto@tdevelop.org> Copyright (C) 2003-2004 Alexander Dymo <adymo@tdevelop.org> Copyright (C) 2004 Jonas Jacobi<j.jacobi@gmx.de> diff --git a/lib/interfaces/extensions/kdevappfrontend.h b/lib/interfaces/extensions/kdevappfrontend.h index 0e065055..7dfb472c 100644 --- a/lib/interfaces/extensions/kdevappfrontend.h +++ b/lib/interfaces/extensions/kdevappfrontend.h @@ -45,7 +45,7 @@ Currently, this interface defines ways to do the following: Instances that implement this interface are available through extension architecture: @code -KDevAppFrontend *apf = extension<KDevAppFrontend>("KDevelop/AppFrontend"); +KDevAppFrontend *apf = extension<KDevAppFrontend>("TDevelop/AppFrontend"); if (apf) { // do something } else { diff --git a/lib/interfaces/extensions/kdevcreatefile.h b/lib/interfaces/extensions/kdevcreatefile.h index 76dff18b..181b6695 100644 --- a/lib/interfaces/extensions/kdevcreatefile.h +++ b/lib/interfaces/extensions/kdevcreatefile.h @@ -36,7 +36,7 @@ An abstract class for all extensions that are responsible for file creation. Instances that implement this interface are available through extension architecture: @code -KDevCreateFile *cf = extension<KDevCreateFile>("KDevelop/CreateFile"); +KDevCreateFile *cf = extension<KDevCreateFile>("TDevelop/CreateFile"); if (cf) { // do something } else { diff --git a/lib/interfaces/extensions/kdevdifffrontend.h b/lib/interfaces/extensions/kdevdifffrontend.h index 75cd59f3..e2a24559 100644 --- a/lib/interfaces/extensions/kdevdifffrontend.h +++ b/lib/interfaces/extensions/kdevdifffrontend.h @@ -36,7 +36,7 @@ files. Instances that implement this interface are available through extension architecture: @code -KDevDiffFrontend *df = extension<KDevDiffFrontend>("KDevelop/DiffFrontend"); +KDevDiffFrontend *df = extension<KDevDiffFrontend>("TDevelop/DiffFrontend"); if (df) { // do something } else { diff --git a/lib/interfaces/extensions/kdevmakefrontend.h b/lib/interfaces/extensions/kdevmakefrontend.h index 978f118f..702312c8 100644 --- a/lib/interfaces/extensions/kdevmakefrontend.h +++ b/lib/interfaces/extensions/kdevmakefrontend.h @@ -41,7 +41,7 @@ or similar commands to build a project, api documentation, etc. Instances that implement this interface are available through extension architecture: @code -KDevMakeFrontend *mf = extension<KDevMakeFrontend>("KDevelop/MakeFrontend"); +KDevMakeFrontend *mf = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"); if (mf) { // do something } else { diff --git a/lib/interfaces/extensions/kdevquickopen.h b/lib/interfaces/extensions/kdevquickopen.h index 4b8807a4..77d6a692 100644 --- a/lib/interfaces/extensions/kdevquickopen.h +++ b/lib/interfaces/extensions/kdevquickopen.h @@ -32,7 +32,7 @@ Quick open plugin interface. Use it when you need to present a dialog to choose between files to open. @code -KDevQuickOpen *qo = extension<KDevQuickOpen>("KDevelop/QuickOpen"); +KDevQuickOpen *qo = extension<KDevQuickOpen>("TDevelop/QuickOpen"); if (qo) { // do something } else { @@ -97,7 +97,7 @@ Quick open plugin interface. Use it when you need to present a dialog to choose between files to open. @code -KDevQuickOpen *qo = extension<KDevQuickOpen>("KDevelop/QuickOpen"); +KDevQuickOpen *qo = extension<KDevQuickOpen>("TDevelop/QuickOpen"); if (qo) { // do something } else { diff --git a/lib/interfaces/extensions/kdevsourceformatter.h b/lib/interfaces/extensions/kdevsourceformatter.h index 8eea950c..461b11d7 100644 --- a/lib/interfaces/extensions/kdevsourceformatter.h +++ b/lib/interfaces/extensions/kdevsourceformatter.h @@ -32,7 +32,7 @@ This interface is responsible for formatting source files and strings of code. Instances that implement this interface are available through extension architecture: @code -KDevSourceFormatter *sf = extension<KDevSourceFormatter>("KDevelop/SourceFormatter"); +KDevSourceFormatter *sf = extension<KDevSourceFormatter>("TDevelop/SourceFormatter"); if (sf) { // do something } else { diff --git a/lib/interfaces/extensions/kdevversioncontrol.h b/lib/interfaces/extensions/kdevversioncontrol.h index 4a0b4095..1cfa45a3 100644 --- a/lib/interfaces/extensions/kdevversioncontrol.h +++ b/lib/interfaces/extensions/kdevversioncontrol.h @@ -123,7 +123,7 @@ VCS support plugins should implement this interface. Instances that implement this interface are available through extension architecture: @code -KDevVersionControl *vcs = extension<KDevVersionControl>("KDevelop/VersionControl"); +KDevVersionControl *vcs = extension<KDevVersionControl>("TDevelop/VersionControl"); if (vcs) { // do something } else { diff --git a/lib/interfaces/external/Mainpage.dox b/lib/interfaces/external/Mainpage.dox index 89d89b66..b66b8795 100644 --- a/lib/interfaces/external/Mainpage.dox +++ b/lib/interfaces/external/Mainpage.dox @@ -15,9 +15,9 @@ functions to determine designer type. If a part which can "design" user interface files of a certain mimetype implements this interface and sets itself as a default handler for that -mimetype then it becomes automatically integrated into KDevelop IDE. +mimetype then it becomes automatically integrated into TDevelop IDE. -When a part is embedded into KDevelop shell, its Q_SIGNALS (defined in @ref +When a part is embedded into TDevelop shell, its Q_SIGNALS (defined in @ref KInterfaceDesigner::Designer interface): @code void addedFunction(DesignerType type, const QString &formName, Function function) @@ -26,7 +26,7 @@ KInterfaceDesigner::Designer interface): void editFunction(DesignerType type, const QString &formName, const QString &functionName) void editSource(DesignerType type, const QString &formName); @endcode -are connected to corresponding Q_SLOTS of KDevelop designer integration engine which can be implemented in KDevelop language support plugin. +are connected to corresponding Q_SLOTS of TDevelop designer integration engine which can be implemented in KDevelop language support plugin. Each language support which wants to use integrated designer, must reimplement @code @@ -41,7 +41,7 @@ trivial task. \section kdevdesigner KDevelop Designer technical overview KDevelop version >= 3.1 comes with a customized version (fork ;)) of %Qt Designer. It is called KDevelop Designer (KDevDesigner, kdevdesigner from the command line). KDevDesigner has some important differences: -- KDevDesigner provides a read/write KPart which can be embedded into any application which wants to edit .ui files. KDevelop IDE embeds KDevDesigner this way. +- KDevDesigner provides a read/write KPart which can be embedded into any application which wants to edit .ui files. TDevelop IDE embeds KDevDesigner this way. - KDevDesigner uses %KDE icons and dialogs and thus provides better integration with a system. . diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h index 936ae810..4396c1ab 100644 --- a/lib/interfaces/external/designer.h +++ b/lib/interfaces/external/designer.h @@ -61,7 +61,7 @@ See signals documentation for an explanation on when to emit those. If a part which can "design" user interface files of a certain mimetype implements this interface and sets itself as a default handler for that -mimetype then it becomes automatically integrated into KDevelop IDE. +mimetype then it becomes automatically integrated into TDevelop IDE. */ class Designer: public KParts::ReadWritePart{ Q_OBJECT diff --git a/lib/interfaces/extras/Mainpage.dox b/lib/interfaces/extras/Mainpage.dox index 454e292e..0fd589bd 100644 --- a/lib/interfaces/extras/Mainpage.dox +++ b/lib/interfaces/extras/Mainpage.dox @@ -1,7 +1,7 @@ /** -@mainpage The KDevelop Extra Interfaces Library +@mainpage The TDevelop Extra Interfaces Library -This library contains extra interfaces that are not the part of KDevelop plugin architecture +This library contains extra interfaces that are not the part of TDevelop plugin architecture but that can be implemented by extra plugins or "plugins for plugins". <b>Link with</b>: -lkdevextras diff --git a/lib/interfaces/extras/Makefile.am b/lib/interfaces/extras/Makefile.am index d97c6d77..49107f8f 100644 --- a/lib/interfaces/extras/Makefile.am +++ b/lib/interfaces/extras/Makefile.am @@ -13,6 +13,6 @@ servicetype_DATA = tdevelopcompileroptions.desktop \ tdevelopvcsintegrator.desktop DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui khtml kmdi kio kjs kparts kutils kdevinterfaces -DOXYGEN_PROJECTNAME = KDevelop Extra Interfaces Library +DOXYGEN_PROJECTNAME = TDevelop Extra Interfaces Library DOXYGEN_DOCDIRPREFIX = kdev include ../../../Doxyfile.am diff --git a/lib/interfaces/extras/kdevcompileroptions.h b/lib/interfaces/extras/kdevcompileroptions.h index f7ed383d..a052877f 100644 --- a/lib/interfaces/extras/kdevcompileroptions.h +++ b/lib/interfaces/extras/kdevcompileroptions.h @@ -45,7 +45,7 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec return 0; TQStringList args; - TQVariant prop = service->property("X-KDevelop-Args"); + TQVariant prop = service->property("X-TDevelop-Args"); if (prop.isValid()) args = TQStringList::split(" ", prop.toString()); diff --git a/lib/interfaces/kdevdesignerintegration.h b/lib/interfaces/kdevdesignerintegration.h index 78501616..69bb23ab 100644 --- a/lib/interfaces/kdevdesignerintegration.h +++ b/lib/interfaces/kdevdesignerintegration.h @@ -25,11 +25,11 @@ /** @file kdevdesignerintegration.h -KDevelop designer integration interface. +TDevelop designer integration interface. */ /** -KDevelop designer integration interface. +TDevelop designer integration interface. Designer integration object provides functionality which is used by integrated into KDevelop GUI designers: - adding/removing/editing functions (class methods); diff --git a/lib/interfaces/kdevgenericfactory.h b/lib/interfaces/kdevgenericfactory.h index 839a2267..c705e9cd 100644 --- a/lib/interfaces/kdevgenericfactory.h +++ b/lib/interfaces/kdevgenericfactory.h @@ -27,9 +27,9 @@ KDevelop generic plugin factory. /** This class provides a generic implementation of a KLibFactory for -use with KDevelop plugins. +use with TDevelop plugins. Usually it is convenient to use K_EXPORT_COMPONENT_FACTORY macro -to create factories for KDevelop plugins. For example, for DummyPlugin +to create factories for TDevelop plugins. For example, for DummyPlugin the factory can be created (in dummyplugin.cpp file) as: @code typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory; diff --git a/lib/interfaces/kdevplugin.h b/lib/interfaces/kdevplugin.h index fa31d239..fed92e69 100644 --- a/lib/interfaces/kdevplugin.h +++ b/lib/interfaces/kdevplugin.h @@ -37,17 +37,17 @@ class TQDomElement; /** @file kdevplugin.h -KDevelop plugin interface. +TDevelop plugin interface. */ -/**Current KDevelop plugin interface version. Interfaces declare plugin version to make sure +/**Current TDevelop plugin interface version. Interfaces declare plugin version to make sure old source (or binary) incompatible plugins are not loaded. Increase this if it is necessary that old plugins stop working.*/ -#define KDEVELOP_PLUGIN_VERSION 5 +#define TDEVELOP_PLUGIN_VERSION 5 /** -The base class for all KDevelop plugins. -Plugin is a component which is loaded into KDevelop shell at startup or by request. +The base class for all TDevelop plugins. +Plugin is a component which is loaded into TDevelop shell at startup or by request. Each plugin should have corresponding .desktop file with a description. .desktop file template looks like: @code @@ -58,15 +58,15 @@ Name= GenericName= Comment= Icon= -X-KDevelop-Plugin-Version= -X-KDevelop-Plugin-Homepage= -X-KDevelop-Plugin-BugsEmailAddress= -X-KDevelop-Plugin-Copyright= +X-TDevelop-Plugin-Version= +X-TDevelop-Plugin-Homepage= +X-TDevelop-Plugin-BugsEmailAddress= +X-TDevelop-Plugin-Copyright= X-TDE-Library= -X-KDevelop-Version= -X-KDevelop-Scope= -X-KDevelop-Properties= -X-KDevelop-Args= +X-TDevelop-Version= +X-TDevelop-Scope= +X-TDevelop-Properties= +X-TDevelop-Args= @endcode <b>Description of parameters in .desktop file:</b> - <i>Name</i> is a non-translatable name of a plugin, it is used in KTrader queries @@ -75,17 +75,17 @@ to search for a plugin (required); plugin names in GUI (required); - <i>Comment</i> is a short description about the plugin (optional); - <i>Icon</i> is a plugin icon (preferred); -- <i>X-KDevelop-Plugin-Version</i> is a version of a plugin (optional); -- <i>X-KDevelop-Plugin-Homepage</i> is a home page of a plugin (optional); -- <i>X-KDevelop-Plugin-License</i> is a license (optional). can be: GPL, LGPL, BSD, Artistic, +- <i>X-TDevelop-Plugin-Version</i> is a version of a plugin (optional); +- <i>X-TDevelop-Plugin-Homepage</i> is a home page of a plugin (optional); +- <i>X-TDevelop-Plugin-License</i> is a license (optional). can be: GPL, LGPL, BSD, Artistic, TQPL or Custom. If this property is not set, license is considered as unknown; -- <i>X-KDevelop-Plugin-BugsEmailAddress</i> is an email address for bug reports (optional); -- <i>X-KDevelop-Plugin-Copyright</i> is a copyright statement (optional); +- <i>X-TDevelop-Plugin-BugsEmailAddress</i> is an email address for bug reports (optional); +- <i>X-TDevelop-Plugin-Copyright</i> is a copyright statement (optional); - <i>X-TDE-Library</i> is a name of library which contains the plugin (required); -- <i>X-KDevelop-Version</i> is a version of KDevelop interfaces which is supported by the plugin (required); -- <i>X-KDevelop-Scope</i> is a scope of a plugin (see below for explanation) (required); -- <i>X-KDevelop-Args</i> is a list of additional arguments passed to plugins constructor (optional); -- <i>X-KDevelop-Properties</i> is a list of properties which this plugin supports, see @ref Profile class documentation for explanation (required to work with shells that support profiles). +- <i>X-TDevelop-Version</i> is a version of TDevelop interfaces which is supported by the plugin (required); +- <i>X-TDevelop-Scope</i> is a scope of a plugin (see below for explanation) (required); +- <i>X-TDevelop-Args</i> is a list of additional arguments passed to plugins constructor (optional); +- <i>X-TDevelop-Properties</i> is a list of properties which this plugin supports, see @ref Profile class documentation for explanation (required to work with shells that support profiles). . Plugin scope can be either: - Core @@ -163,9 +163,9 @@ public: Template argument is used as a type to cast the result to. This is done because extension is usually derived from a certain base class and not directly from KDevPlugin. - @param serviceType The service type of an extension (like "KDevelop/SourceFormatter"). + @param serviceType The service type of an extension (like "TDevelop/SourceFormatter"). @param constraint The constraint which is applied when quering for the service. This - constraint is a usual KTrader constraint statement (like "[X-KDevelop-Foo]=='MyFoo'"). + constraint is a usual KTrader constraint statement (like "[X-TDevelop-Foo]=='MyFoo'"). @return A KDevelop extension plugin for given service type or 0 if no plugin supports it*/ template <class Extension> Extension *extension(const TQString &serviceType, const TQString &constraint = "") diff --git a/lib/interfaces/kdevplugincontroller.cpp b/lib/interfaces/kdevplugincontroller.cpp index c9746047..dfc326a1 100644 --- a/lib/interfaces/kdevplugincontroller.cpp +++ b/lib/interfaces/kdevplugincontroller.cpp @@ -28,12 +28,12 @@ KTrader::OfferList KDevPluginController::query(const TQString &serviceType, const TQString &constraint) { return KTrader::self()->query(serviceType, - TQString("%1 and [X-KDevelop-Version] == %2").arg(constraint).arg(KDEVELOP_PLUGIN_VERSION)); + TQString("%1 and [X-TDevelop-Version] == %2").arg(constraint).arg(TDEVELOP_PLUGIN_VERSION)); } KTrader::OfferList KDevPluginController::queryPlugins(const TQString &constraint) { - return query("KDevelop/Plugin", constraint); + return query("TDevelop/Plugin", constraint); } KURL::List KDevPluginController::profileResources(const TQString &/*nameFilter*/) diff --git a/lib/interfaces/kdevplugincontroller.h b/lib/interfaces/kdevplugincontroller.h index 8458e8ef..6097e2c1 100644 --- a/lib/interfaces/kdevplugincontroller.h +++ b/lib/interfaces/kdevplugincontroller.h @@ -26,14 +26,14 @@ /** @file kdevplugincontroller.h -KDevelop plugin controller interface. +TDevelop plugin controller interface. */ class KDevPlugin; class ProfileEngine; /** -The base class for KDevelop plugin controller. +The base class for TDevelop plugin controller. Plugin controller is responsible for quering, loading and unloading available plugins. */ class KDevPluginController: public TQObject @@ -66,23 +66,23 @@ public: All already loaded plugins will be queried and the first one to support the service type will be returned. Any plugin can be an extension, only "ServiceTypes=..." entry is required in .desktop file for that plugin. - @param serviceType The service type of an extension (like "KDevelop/SourceFormatter") + @param serviceType The service type of an extension (like "TDevelop/SourceFormatter") @param constraint The constraint which is applied when quering for the service. This - constraint is a usual KTrader constraint statement (like "[X-KDevelop-Foo]=='MyFoo'"). + constraint is a usual KTrader constraint statement (like "[X-TDevelop-Foo]=='MyFoo'"). @return A KDevelop extension plugin for given service type or 0 if no plugin supports it*/ virtual KDevPlugin *extension(const TQString &serviceType, const TQString &constraint = "") = 0; /**Queries KDevelop services. Version is checked automatically - by adding proper X-KDevelop-Version=N statement into the query. - @param serviceType The service type to query, for example "KDevelop/Plugin" or - "KDevelop/SourceFormatter." + by adding proper X-TDevelop-Version=N statement into the query. + @param serviceType The service type to query, for example "TDevelop/Plugin" or + "TDevelop/SourceFormatter." @param constraint A constraint for the service. Do not include plugin version number - it is done automatically. @return The list of plugin offers.*/ static KTrader::OfferList query(const TQString &serviceType, const TQString &constraint); - /**Queries KDevelop plugins. Works like - KDevPluginController::query with serviceType set to "KDevelop/Plugin". + /**Queries TDevelop plugins. Works like + KDevPluginController::query with serviceType set to "TDevelop/Plugin". @param constraint A constraint for the service. Do not include plugin version number - it is done automatically. @return The list of plugin offers.*/ diff --git a/lib/interfaces/kdevplugininfo.cpp b/lib/interfaces/kdevplugininfo.cpp index 6c869d23..81d58902 100644 --- a/lib/interfaces/kdevplugininfo.cpp +++ b/lib/interfaces/kdevplugininfo.cpp @@ -60,12 +60,12 @@ KDevPluginInfo::KDevPluginInfo(const TQString &pluginName) d->m_rawGenericName = offer->untranslatedGenericName(); - d->m_version = offer->property("X-KDevelop-Plugin-Version").toString(); - d->m_homePageAddress = offer->property("X-KDevelop-Plugin-Homepage").toString(); - d->m_bugsEmailAddress = offer->property("X-KDevelop-Plugin-BugsEmailAddress").toString(); - d->m_copyrightStatement = offer->property("X-KDevelop-Plugin-Copyright").toString(); + d->m_version = offer->property("X-TDevelop-Plugin-Version").toString(); + d->m_homePageAddress = offer->property("X-TDevelop-Plugin-Homepage").toString(); + d->m_bugsEmailAddress = offer->property("X-TDevelop-Plugin-BugsEmailAddress").toString(); + d->m_copyrightStatement = offer->property("X-TDevelop-Plugin-Copyright").toString(); - TQString lic = offer->property("X-KDevelop-Plugin-License").toString(); + TQString lic = offer->property("X-TDevelop-Plugin-License").toString(); if (lic == "GPL") d->m_licenseType = KAboutData::License_GPL; else if (lic == "LGPL") diff --git a/lib/interfaces/kdevplugininfo.h b/lib/interfaces/kdevplugininfo.h index 2aa5f32c..3ade0e46 100644 --- a/lib/interfaces/kdevplugininfo.h +++ b/lib/interfaces/kdevplugininfo.h @@ -25,11 +25,11 @@ /** @file kdevplugininfo.h -KDevelop plugin information container class. +TDevelop plugin information container class. */ /** -Information about KDevelop plugin. +Information about TDevelop plugin. It uses plugin name to query plugin .desktop files and retrieve most information. Names of authors and credits to other people must be added manually using KDevPluginInfo::addAuthor and KDevPluginInfo::addCredit diff --git a/lib/interfaces/kdevproject.h b/lib/interfaces/kdevproject.h index d567906b..fbe42ea7 100644 --- a/lib/interfaces/kdevproject.h +++ b/lib/interfaces/kdevproject.h @@ -43,7 +43,7 @@ KDevelop project interface. Plugins implementing the KDevProject interfaces are used to manage projects. Project can be considered as a way of grouping files (in text editors) or -as a way of providing support for a build system (like it is done in KDevelop IDE buildtools). +as a way of providing support for a build system (like it is done in TDevelop IDE buildtools). */ class KDevProject: public KDevPlugin { |