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. --- src/plugincontroller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugincontroller.cpp') diff --git a/src/plugincontroller.cpp b/src/plugincontroller.cpp index 6639375b..6d579346 100644 --- a/src/plugincontroller.cpp +++ b/src/plugincontroller.cpp @@ -49,7 +49,7 @@ namespace template ComponentType *loadDefaultPart( const TQString &serviceType ) { - KTrader::OfferList offers = KTrader::self()->query(serviceType, TQString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION)); + KTrader::OfferList offers = KTrader::self()->query(serviceType, TQString("[X-TDevelop-Version] == %1").arg(TDEVELOP_PLUGIN_VERSION)); KTrader::OfferList::ConstIterator serviceIt = offers.begin(); for ( ; serviceIt != offers.end(); ++serviceIt ) { KService::Ptr service = *serviceIt; @@ -173,7 +173,7 @@ void PluginController::unloadProjectPlugins( ) { // this is nasty, but we need to unload the version control plugin too, and the // right moment to do this is here - KTrader::OfferList offers = KTrader::self()->query("KDevelop/VersionControl", ""); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/VersionControl", ""); offers += m_engine.offers(m_profile, ProfileEngine::Project); for (KTrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it) @@ -232,7 +232,7 @@ TQStringList PluginController::argumentsFromService( const KService::Ptr &servic if ( !service ) // service is a reference to a pointer, so a check whether it is 0 is still required return args; - TQVariant prop = service->property( "X-KDevelop-Args" ); + TQVariant prop = service->property( "X-TDevelop-Args" ); if ( prop.isValid() ) args = TQStringList::split( " ", prop.toString() ); return args; -- cgit v1.2.3