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 /languages/cpp/cppsupportfactory.cpp | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'languages/cpp/cppsupportfactory.cpp')
-rw-r--r-- | languages/cpp/cppsupportfactory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/cppsupportfactory.cpp b/languages/cpp/cppsupportfactory.cpp index 41335cdb..ca98f2f3 100644 --- a/languages/cpp/cppsupportfactory.cpp +++ b/languages/cpp/cppsupportfactory.cpp @@ -11,21 +11,21 @@ #include <kinstance.h> #include <kstandarddirs.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include "cppsupportfactory.h" -K_EXPORT_COMPONENT_FACTORY( libkdevcppsupport, CppSupportFactory ) +K_EXPORT_COMPONENT_FACTORY( libtdevcppsupport, CppSupportFactory ) -static const KDevPluginInfo data("kdevcppsupport"); +static const TDevPluginInfo data("tdevcppsupport"); CppSupportFactory::CppSupportFactory() -: KDevGenericFactory<CppSupportPart>( data ) +: TDevGenericFactory<CppSupportPart>( data ) { } TDEInstance *CppSupportFactory::createInstance() { - TDEInstance *instance = KDevGenericFactory<CppSupportPart>::createInstance(); + TDEInstance *instance = TDevGenericFactory<CppSupportPart>::createInstance(); TDEStandardDirs *dirs = instance->dirs(); dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" ); dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" ); @@ -33,7 +33,7 @@ TDEInstance *CppSupportFactory::createInstance() return instance; } -const KDevPluginInfo * CppSupportFactory::info() +const TDevPluginInfo * CppSupportFactory::info() { return &data; } |