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/appwizard/appwizardfactory.cpp | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'parts/appwizard/appwizardfactory.cpp')
-rw-r--r-- | parts/appwizard/appwizardfactory.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/appwizard/appwizardfactory.cpp b/parts/appwizard/appwizardfactory.cpp index 5288105d..6749add0 100644 --- a/parts/appwizard/appwizardfactory.cpp +++ b/parts/appwizard/appwizardfactory.cpp @@ -11,30 +11,30 @@ #include <kstandarddirs.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include "appwizardfactory.h" -static const KDevPluginInfo data("kdevappwizard"); -K_EXPORT_COMPONENT_FACTORY( libkdevappwizard, AppWizardFactory ) +static const TDevPluginInfo data("tdevappwizard"); +K_EXPORT_COMPONENT_FACTORY( libtdevappwizard, AppWizardFactory ) AppWizardFactory::AppWizardFactory() - : KDevGenericFactory<AppWizardPart>( data ) + : TDevGenericFactory<AppWizardPart>( data ) { } TDEInstance *AppWizardFactory::createInstance() { - TDEInstance *instance = KDevGenericFactory<AppWizardPart>::createInstance(); + TDEInstance *instance = TDevGenericFactory<AppWizardPart>::createInstance(); TDEStandardDirs *dirs = instance->dirs(); - dirs->addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/templates/"); - dirs->addResourceType("appimports", TDEStandardDirs::kde_default("data") + "kdevappwizard/imports/"); - dirs->addResourceType("appimportfiles", TDEStandardDirs::kde_default("data") + "kdevappwizard/importfiles/"); + dirs->addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/templates/"); + dirs->addResourceType("appimports", TDEStandardDirs::kde_default("data") + "tdevappwizard/imports/"); + dirs->addResourceType("appimportfiles", TDEStandardDirs::kde_default("data") + "tdevappwizard/importfiles/"); return instance; } -const KDevPluginInfo *AppWizardFactory::info() +const TDevPluginInfo *AppWizardFactory::info() { return &data; } |