From 998ebd2e683e45140493910f76e692e96887b5d2 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 4 Jul 2012 16:46:19 -0500 Subject: Fix help files, kdevelop->tdevelop branding, fix startup. --- parts/abbrev/abbrevpart.cpp | 2 +- parts/appwizard/README.dox | 2 +- parts/appwizard/appwizarddlg.cpp | 8 +-- parts/appwizard/importdlg.cpp | 2 +- parts/ctags2/ctags2_part.cpp | 2 +- parts/diff/README | 2 +- parts/distpart/README | 2 +- parts/distpart/specsupport.cpp | 8 +-- parts/documentation/documentation_part.cpp | 4 +- .../plugins/kdevtoc/dockdevtocplugin.cpp | 2 +- parts/documentation/tools/htdig/htdigindex.cpp | 2 +- parts/doxygen/doxygenpart.cpp | 8 +-- parts/filecreate/README | 2 +- parts/fileselector/fileselector_part.cpp | 2 +- parts/fileview/fileviewpart.cpp | 2 +- parts/partexplorer/README | 2 +- parts/partexplorer/partexplorerformbase.ui | 2 +- parts/replace/README | 2 +- parts/snippet/README | 2 +- parts/snippet/snippet_part.cpp | 14 ++--- parts/tipofday/tipofday_part.cpp | 2 +- parts/tipofday/tips | 70 +++++++++++----------- parts/tools/tools_part.cpp | 2 +- parts/vcsmanager/vcsmanagerpart.cpp | 2 +- parts/vcsmanager/vcsmanagerprojectconfig.cpp | 4 +- 25 files changed, 76 insertions(+), 76 deletions(-) (limited to 'parts') diff --git a/parts/abbrev/abbrevpart.cpp b/parts/abbrev/abbrevpart.cpp index 09fb97bf..b1717f1e 100644 --- a/parts/abbrev/abbrevpart.cpp +++ b/parts/abbrev/abbrevpart.cpp @@ -87,7 +87,7 @@ AbbrevPart::AbbrevPart(TQObject *parent, const char *name, const TQStringList &) this, TQT_SLOT(slotExpandAbbrev()), actionCollection(), "edit_expandabbrev" ); action->setToolTip( i18n("Expand abbreviation") ); - action->setWhatsThis( i18n("Expand abbreviation

Enable and configure abbreviations in KDevelop Settings, Abbreviations tab.") ); + action->setWhatsThis( i18n("Expand abbreviation

Enable and configure abbreviations in TDevelop Settings, Abbreviations tab.") ); load(); diff --git a/parts/appwizard/README.dox b/parts/appwizard/README.dox index ab051e05..5baf78d0 100644 --- a/parts/appwizard/README.dox +++ b/parts/appwizard/README.dox @@ -61,7 +61,7 @@ Qt Qt based Kicker Kicker applet kioslave KDE ioslave KOffice KOffice application -KDevelop KDevelop plugin +KDevelop TDevelop plugin GNOME GNOME application \endverbatim diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp index 4ab19b48..38dba43f 100644 --- a/parts/appwizard/appwizarddlg.cpp +++ b/parts/appwizard/appwizarddlg.cpp @@ -339,7 +339,7 @@ void AppWizardDialog::loadVcs() m_vcsForm->stack->addWidget( 0, i++ ); // We query for all vcs integrators for KDevelop - KTrader::OfferList offers = KTrader::self()->query("KDevelop/VCSIntegrator", ""); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/VCSIntegrator", ""); KTrader::OfferList::const_iterator serviceIt = offers.begin(); for (; serviceIt != offers.end(); ++serviceIt) { @@ -365,7 +365,7 @@ void AppWizardDialog::loadVcs() { kdDebug(9010) << " success" << endl; - TQString vcsName = service->property("X-KDevelop-VCS").toString(); + TQString vcsName = service->property("X-TDevelop-VCS").toString(); m_vcsForm->combo->insertItem(vcsName, i); m_integrators.insert(vcsName, integrator); @@ -1023,11 +1023,11 @@ void AppWizardDialog::openAfterGeneration() DomUtil::writeMapEntry( projectDOM, "substmap", m_pCurrentAppInfo->subMap ); //save the selected vcs - KTrader::OfferList offers = KTrader::self()->query("KDevelop/VCSIntegrator", TQString("[X-KDevelop-VCS]=='%1'").arg(m_vcsForm->combo->currentText())); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/VCSIntegrator", TQString("[X-TDevelop-VCS]=='%1'").arg(m_vcsForm->combo->currentText())); if (offers.count() == 1) { KService::Ptr service = offers.first(); - DomUtil::writeEntry(projectDOM, "/general/versioncontrol", service->property("X-KDevelop-VCSPlugin").toString()); + DomUtil::writeEntry(projectDOM, "/general/versioncontrol", service->property("X-TDevelop-VCSPlugin").toString()); } // figure out what plugins we should disable by default diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp index 1f426a86..9a10f6d3 100644 --- a/parts/appwizard/importdlg.cpp +++ b/parts/appwizard/importdlg.cpp @@ -502,7 +502,7 @@ void ImportDialog::scanAvailableVCS() { // vcsCombo->insertStringList( m_part->registeredVersionControls() ); int i = 0; - KTrader::OfferList offers = KTrader::self()->query("KDevelop/VersionControl"); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/VersionControl"); KTrader::OfferList::const_iterator it = offers.begin(); while( it != offers.end() ) { diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp index b05a12a4..4f50aafe 100644 --- a/parts/ctags2/ctags2_part.cpp +++ b/parts/ctags2/ctags2_part.cpp @@ -164,7 +164,7 @@ bool CTags2Part::createTagsFile(const TQString& tagFile, const TQString& dir) commandline += " "; commandline += dir; - if (KDevAppFrontend *appFrontend = extension("KDevelop/AppFrontend")) + if (KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) appFrontend->startAppCommand(dir, commandline, false); return true; diff --git a/parts/diff/README b/parts/diff/README index 7df3c4b5..731741e1 100644 --- a/parts/diff/README +++ b/parts/diff/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/distpart/README b/parts/distpart/README index 7df3c4b5..731741e1 100644 --- a/parts/distpart/README +++ b/parts/distpart/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/distpart/specsupport.cpp b/parts/distpart/specsupport.cpp index 259ac301..8a45910b 100644 --- a/parts/distpart/specsupport.cpp +++ b/parts/distpart/specsupport.cpp @@ -79,11 +79,11 @@ void SpecSupport::slotbuildAllPushButtonPressed() { return; } else - if (KDevMakeFrontend *makeFrontend = m_part->extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir,"cd " + KProcess::quote(dir) + " && cp " + KProcess::quote(getAppSource()) + " " + KProcess::quote(*(map.find("_sourcedir")))); } - if (KDevMakeFrontend *makeFrontend = m_part->extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir,"cd " + KProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) + " && rpmbuild -ba " + m_part->project()->projectName() + ".spec"); } @@ -178,11 +178,11 @@ void SpecSupport::slotsrcPackagePushButtonPressed() { return; } else - if (KDevMakeFrontend *makeFrontend = m_part->extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir,"cd " + KProcess::quote(dir) + " && cp " + KProcess::quote(getAppSource()) + " " + KProcess::quote(*(map.find("_sourcedir")))); } - if (KDevMakeFrontend *makeFrontend = m_part->extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir,"cd " + KProcess::quote((((it = map.find("_specdir")) != map.end()) ? (*it) : dir)) + " && rpmbuild -bs " + m_part->project()->projectName() + ".spec"); } diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp index 08db3617..82df1ad4 100644 --- a/parts/documentation/documentation_part.cpp +++ b/parts/documentation/documentation_part.cpp @@ -125,8 +125,8 @@ DocumentationPart::~DocumentationPart() void DocumentationPart::loadDocumentationPlugins() { KTrader::OfferList docPluginOffers = - KTrader::self()->query(TQString::fromLatin1("KDevelop/DocumentationPlugins"), - TQString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION)); + KTrader::self()->query(TQString::fromLatin1("TDevelop/DocumentationPlugins"), + TQString("[X-TDevelop-Version] == %1").arg(TDEVELOP_PLUGIN_VERSION)); KTrader::OfferList::ConstIterator serviceIt = docPluginOffers.begin(); for ( ; serviceIt != docPluginOffers.end(); ++serviceIt ) diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp index 6abf51fa..50a5fd35 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp +++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp @@ -77,7 +77,7 @@ DocKDevTOCPlugin::~DocKDevTOCPlugin() TQString DocKDevTOCPlugin::pluginName() const { - return i18n("KDevelopTOC Documentation Collection"); + return i18n("TDevelopTOC Documentation Collection"); } DocumentationCatalogItem* DocKDevTOCPlugin::createCatalog(KListView* contents, const TQString& title, const TQString& url) diff --git a/parts/documentation/tools/htdig/htdigindex.cpp b/parts/documentation/tools/htdig/htdigindex.cpp index c4c5d87e..908ac4e0 100644 --- a/parts/documentation/tools/htdig/htdigindex.cpp +++ b/parts/documentation/tools/htdig/htdigindex.cpp @@ -450,7 +450,7 @@ int main(int argc, char *argv[]) KCmdLineLastOption }; - KAboutData aboutData("tdevelop-htdig", I18N_NOOP("KDevelop ht://Dig Indexer"), + KAboutData aboutData("tdevelop-htdig", I18N_NOOP("TDevelop ht://Dig Indexer"), "0.2", I18N_NOOP("TDE Index generator for documentation files.")); KCmdLineArgs::init(argc, argv, &aboutData); diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp index cd73e4b1..e04e79da 100644 --- a/parts/doxygen/doxygenpart.cpp +++ b/parts/doxygen/doxygenpart.cpp @@ -272,7 +272,7 @@ void DoxygenPart::slotDoxygen() kdDebug(9026) << "Doxygen command line: " << cmdline << endl; - if (KDevMakeFrontend *makeFrontend = extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, cmdline); } @@ -340,7 +340,7 @@ void DoxygenPart::slotDoxClean() if (could_be_dirty) { kdDebug(9026) << "Cleaning Doxygen generated API documentation using: " << cmdline << endl; - if (KDevMakeFrontend *makeFrontend = extension("KDevelop/MakeFrontend")) + if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(KShellProcess::quote(project()->projectDirectory()), cmdline); } else @@ -350,7 +350,7 @@ void DoxygenPart::slotDoxClean() void DoxygenPart::slotPreviewProcessExited( ) { - KDevAppFrontend *appFrontend = extension("KDevelop/AppFrontend"); + KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend"); if ( appFrontend != 0 ) disconnect(appFrontend, 0, this, 0); partController()->showDocument(KURL(m_tmpDir.name()+"html/index.html")); @@ -361,7 +361,7 @@ void DoxygenPart::slotRunPreview( ) if (m_file.isNull()) return; - KDevAppFrontend *appFrontend = extension("KDevelop/AppFrontend"); + KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend"); if ( appFrontend == 0 ) return; diff --git a/parts/filecreate/README b/parts/filecreate/README index 7df3c4b5..731741e1 100644 --- a/parts/filecreate/README +++ b/parts/filecreate/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp index 4e30fe50..cbe1cd06 100644 --- a/parts/fileselector/fileselector_part.cpp +++ b/parts/fileselector/fileselector_part.cpp @@ -90,7 +90,7 @@ void FileSelectorPart::slotConfigWidget( KDialogBase * dlg ) void FileSelectorPart::newFile() { - KDevCreateFile *creator = extension("KDevelop/CreateFile"); + KDevCreateFile *creator = extension("TDevelop/CreateFile"); if (creator) { KDevCreateFile::CreatedFile file = creator->createNewFile("", diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp index 0c7ab17d..3873c112 100644 --- a/parts/fileview/fileviewpart.cpp +++ b/parts/fileview/fileviewpart.cpp @@ -155,7 +155,7 @@ void FileViewPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * page, KDevVersionControl *FileViewPart::versionControl() { - return extension("KDevelop/VersionControl"); + return extension("TDevelop/VersionControl"); } #include "fileviewpart.moc" diff --git a/parts/partexplorer/README b/parts/partexplorer/README index 7df3c4b5..731741e1 100644 --- a/parts/partexplorer/README +++ b/parts/partexplorer/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/partexplorer/partexplorerformbase.ui b/parts/partexplorer/partexplorerformbase.ui index e5f4ef6e..3e5e04a2 100644 --- a/parts/partexplorer/partexplorerformbase.ui +++ b/parts/partexplorer/partexplorerformbase.ui @@ -101,7 +101,7 @@ - <b>Constraints</b>Refine your query by writing additional constraints such as <i>([X-KDevelop-Scope]='Global')</i>). + <b>Constraints</b>Refine your query by writing additional constraints such as <i>([X-TDevelop-Scope]='Global')</i>). diff --git a/parts/replace/README b/parts/replace/README index 7df3c4b5..731741e1 100644 --- a/parts/replace/README +++ b/parts/replace/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/snippet/README b/parts/snippet/README index 7df3c4b5..731741e1 100644 --- a/parts/snippet/README +++ b/parts/snippet/README @@ -1,3 +1,3 @@ Please read the on-line, automaticaly updated KDevelop API documentation at: -http://www.tdevelop.org +http://www.kdevelop.org or read the README.dox file. diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp index 7501f77d..04993028 100644 --- a/parts/snippet/snippet_part.cpp +++ b/parts/snippet/snippet_part.cpp @@ -82,9 +82,9 @@ void SnippetPart::setupActions() KAboutData* SnippetPart::aboutData() { KAboutData *data = new KAboutData ("snippetpart", I18N_NOOP("SnippetPart"), "1.1", - I18N_NOOP( "SnippetPart for KDevelop" ), + I18N_NOOP( "SnippetPart for TDevelop" ), KAboutData::License_LGPL_V2, - I18N_NOOP( "(c) 2003" ), 0, "http://www.tdevelop.org"); + I18N_NOOP( "(c) 2003" ), 0, "http://www.kdevelop.org"); data->addAuthor ("Robert Gruber", I18N_NOOP("Author"), "rgruber@users.sourceforge.net", "http://kmp3indexer.sf.net"); @@ -112,18 +112,18 @@ void SnippetPart::slotConfigWidget( KDialogBase *dlg ) TQStringList SnippetPart::getAllLanguages() { KTrader::OfferList languageSupportOffers = - KTrader::self()->query(TQString::fromLatin1("KDevelop/LanguageSupport"), - TQString::fromLatin1("[X-KDevelop-Version] == %1" - ).arg( KDEVELOP_PLUGIN_VERSION )); + KTrader::self()->query(TQString::fromLatin1("TDevelop/LanguageSupport"), + TQString::fromLatin1("[X-TDevelop-Version] == %1" + ).arg( TDEVELOP_PLUGIN_VERSION )); TQStringList languages; for (KTrader::OfferList::ConstIterator it = languageSupportOffers.begin(); it != languageSupportOffers.end(); ++it) { - TQString language = (*it)->property("X-KDevelop-Language").toString(); + TQString language = (*it)->property("X-TDevelop-Language").toString(); languages.append(language); - kdDebug(9035) << "Found language: " << (*it)->property("X-KDevelop-Language").toString() << endl << + kdDebug(9035) << "Found language: " << (*it)->property("X-TDevelop-Language").toString() << endl << "genericName(): " <<(*it)->genericName() << endl << "comment(): " <<(*it)->comment() << endl << endl; } diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp index e1de784a..534eefe8 100644 --- a/parts/tipofday/tipofday_part.cpp +++ b/parts/tipofday/tipofday_part.cpp @@ -35,7 +35,7 @@ TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringLis action = new KAction(i18n("&Tip of the Day"), "idea", 0, this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday"); - action->setToolTip(i18n("A tip how to use KDevelop")); + action->setToolTip(i18n("A tip how to use TDevelop")); action->setWhatsThis(i18n("Tip of the day

" "Will display another good tip \n" "contributed by KDevelop users.")); diff --git a/parts/tipofday/tips b/parts/tipofday/tips index ae79ae33..ad4261b6 100644 --- a/parts/tipofday/tips +++ b/parts/tipofday/tips @@ -1,200 +1,200 @@ - +

If you want to specify additional command-line options to your make program, you can set them in the Project Options dialog, Make Options tab. - +

If you use functions of other libraries than the target is currently linked with, you can specify them in the Target Options dialog. - +

If you want to change your application's version number, you can change it in the Project Options dialog, General tab, automatically updating your project. - +

If you want to create a new project, choose "Project"->"New Project" from the menu. - +

If you changed your applications' classes, you should update your API documentation by selecting "Build API Documentation" from the Build menu. - +

You can save time if you select "Compile File" from the Build menu or the toolbar, to only compile your current implementation file. - +

If you're searching for information on classes or classmembers, select "Search for Help on..." from the Help menu or use "Index" tab of the documentation tree. - + -

If you want to have info about something in the KDevelop window, select the "What's this?" button in the toolbar and click on the item you don't know about. +

If you want to have info about something in the TDevelop window, select the "What's this?" button in the toolbar and click on the item you don't know about. - +

Hint: You can search the documentation for a keyword by marking the word and select "Search in Documentation" in the right button popup menu. - + -

The KDevelop Team wishes you a nice day ! +

The TDevelop Team wishes you a nice day ! - + -

If you have found a bug in KDevelop, please let us know. Use KDE Bugzilla at http://bugs.kde.org/ or select "Help"->"Report Bug" from the menu. +

If you have found a bug in TDevelop, please let us know. Use KDE Bugzilla at http://bugs.kde.org/ or select "Help"->"Report Bug" from the menu. - + -

If you want to add your own documentation to the documentation tree use Documentation Tree tab in the Configure KDevelop dialog. +

If you want to add your own documentation to the documentation tree use Documentation Tree tab in the Configure TDevelop dialog. - +

...that you can create a new class with "New Class" from the "Project" menu? - +

To open a project, select "Open Project" from the "Project" menu. - +

If you compile your project and get an error, you can click on the error message to switch to the file and line where the error occurred. - + -

...that you can debug your programs within KDevelop by selecting "Debug"->"Start" in the menu? +

...that you can debug your programs within TDevelop by selecting "Debug"->"Start" in the menu? - +

...that you can switch between classes or namespaces by selecting the class or namespace combo in the toolbar? - +

...that you can preview images and icons by selecting them in the file viewer's trees? - +

...that you can set the compiler options in the Project Options dialog, Configure Options tab? - +

...that you can copy text from the documentation browser to the clipboard and insert it into your sources? - +

...that you should keep your library documentation up to date after installing new libraries? - +

...that you can configure the syntax-highlighting of the editor? - +

...that you can access more internal debug functions selecting "Debug"->"Viewers"? - +

...that you can move the cursor by words with Ctrl and left or right arrow? - +

...that your source bookmarks are stored in the project? - + -

...that your documentation bookmarks are stored globally in KDevelop configuration? +

...that your documentation bookmarks are stored globally in TDevelop configuration? - +

...that you can start grep search from inside editor with context menu? - +

...that you can set the installation path in "Project"->"Project Options" "Configure Options" with just adding "--prefix=/install/path/" to the "Configure arguments"-list? - +

...that you can compilie your project in "debug-mode" and "optimized-mode"? diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp index ef30ffa8..9acb8dd8 100644 --- a/parts/tools/tools_part.cpp +++ b/parts/tools/tools_part.cpp @@ -153,7 +153,7 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName) if (captured) { - if (KDevAppFrontend *appFrontend = extension("KDevelop/AppFrontend")) + if (KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), cmdline, false); } else diff --git a/parts/vcsmanager/vcsmanagerpart.cpp b/parts/vcsmanager/vcsmanagerpart.cpp index 58ef9444..0906bb73 100644 --- a/parts/vcsmanager/vcsmanagerpart.cpp +++ b/parts/vcsmanager/vcsmanagerpart.cpp @@ -96,7 +96,7 @@ void VCSManagerPart::loadVCSPlugin() if ( m_vcsPluginName.isEmpty() ) return; TQString constraint = TQString( "DesktopEntryName=='%1'" ).arg( m_vcsPluginName ); - pluginController()->loadPlugin( "KDevelop/VersionControl", constraint ); + pluginController()->loadPlugin( "TDevelop/VersionControl", constraint ); } void VCSManagerPart::unloadVCSPlugin() diff --git a/parts/vcsmanager/vcsmanagerprojectconfig.cpp b/parts/vcsmanager/vcsmanagerprojectconfig.cpp index 9a081f3a..c087d415 100644 --- a/parts/vcsmanager/vcsmanagerprojectconfig.cpp +++ b/parts/vcsmanager/vcsmanagerprojectconfig.cpp @@ -51,8 +51,8 @@ void VCSManagerProjectConfig::setup( ) int current = 0; - TQString constraint = TQString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION); - KTrader::OfferList offers = KTrader::self()->query("KDevelop/VersionControl", constraint ); + TQString constraint = TQString("[X-TDevelop-Version] == %1").arg(TDEVELOP_PLUGIN_VERSION); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/VersionControl", constraint ); KTrader::OfferList::const_iterator it = offers.begin(); for ( int i = 1; it != offers.end(); ++it, ++i ) { -- cgit v1.2.1