summaryrefslogtreecommitdiffstats
path: root/parts/appwizard
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:29:56 -0600
commit82fc754f7c4e43eace608a45c22e74e532bd33f1 (patch)
tree7e1217a13d974e19f4e03cd914de2a217e832f21 /parts/appwizard
parent8d6fecdf83984625b9bc6d010a6a00ee670af344 (diff)
downloadtdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.tar.gz
tdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'parts/appwizard')
-rw-r--r--parts/appwizard/appwizarddlg.cpp6
-rw-r--r--parts/appwizard/appwizardfactory.cpp8
-rw-r--r--parts/appwizard/importdlg.cpp2
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();