diff options
Diffstat (limited to 'parts/appwizard')
-rw-r--r-- | parts/appwizard/appwizarddlg.cpp | 6 | ||||
-rw-r--r-- | parts/appwizard/appwizardfactory.cpp | 8 | ||||
-rw-r--r-- | parts/appwizard/importdlg.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp index 176bf9cc..9dcb06f0 100644 --- a/parts/appwizard/appwizarddlg.cpp +++ b/parts/appwizard/appwizarddlg.cpp @@ -124,7 +124,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch config->setGroup("General Options"); TQString defaultProjectsDir = config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()+"/"); - KStandardDirs *dirs = AppWizardFactory::instance()->dirs(); + TDEStandardDirs *dirs = AppWizardFactory::instance()->dirs(); TQStringList m_templateNames = dirs->findAllResources("apptemplates", TQString(), false, true); kdDebug(9010) << "Templates: " << endl; @@ -1281,8 +1281,8 @@ TQDict<KDevLicense> AppWizardDialog::licenses() void AppWizardDialog::loadLicenses() { // kdDebug(9010) << "======================== Entering loadLicenses" << endl; - KStandardDirs* dirs = TDEGlobal::dirs(); - dirs->addResourceType( "licenses", KStandardDirs::kde_default( "data" ) + "tdevelop/licenses/" ); + TDEStandardDirs* dirs = TDEGlobal::dirs(); + dirs->addResourceType( "licenses", TDEStandardDirs::kde_default( "data" ) + "tdevelop/licenses/" ); TQStringList licNames = dirs->findAllResources( "licenses", TQString(), false, true ); TQStringList::Iterator it; diff --git a/parts/appwizard/appwizardfactory.cpp b/parts/appwizard/appwizardfactory.cpp index f60a23dc..d0f543c0 100644 --- a/parts/appwizard/appwizardfactory.cpp +++ b/parts/appwizard/appwizardfactory.cpp @@ -26,10 +26,10 @@ AppWizardFactory::AppWizardFactory() TDEInstance *AppWizardFactory::createInstance() { TDEInstance *instance = KDevGenericFactory<AppWizardPart>::createInstance(); - KStandardDirs *dirs = instance->dirs(); - dirs->addResourceType("apptemplates", KStandardDirs::kde_default("data") + "kdevappwizard/templates/"); - dirs->addResourceType("appimports", KStandardDirs::kde_default("data") + "kdevappwizard/imports/"); - dirs->addResourceType("appimportfiles", KStandardDirs::kde_default("data") + "kdevappwizard/importfiles/"); + 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/"); return instance; } diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp index c66cb6fa..b7680c16 100644 --- a/parts/appwizard/importdlg.cpp +++ b/parts/appwizard/importdlg.cpp @@ -61,7 +61,7 @@ ImportDialog::ImportDialog(AppWizardPart *part, TQWidget *parent, const char *na TQToolTip::add( urlinput_edit->button(), i18n("Choose directory to import") ); urlinput_edit->setMode(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly); - KStandardDirs *dirs = AppWizardFactory::instance()->dirs(); + TDEStandardDirs *dirs = AppWizardFactory::instance()->dirs(); importNames = dirs->findAllResources("appimports", TQString(), false, true); importNames.sort(); |