summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/appwizarddlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 19:39:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-28 16:10:53 +0900
commit07a12d6eb21cce4cd735de6b4a4a17cce152f6a8 (patch)
tree68012ffbb56cb0f0023b257591f3e2218827fda9 /parts/appwizard/appwizarddlg.cpp
parentf9e07649d38f3ec8c2c599c0ba65a288e8eac5e0 (diff)
downloadtdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.tar.gz
tdevelop-07a12d6eb21cce4cd735de6b4a4a17cce152f6a8.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/appwizard/appwizarddlg.cpp')
-rw-r--r--parts/appwizard/appwizarddlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index 8787ea45..481b3575 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -116,7 +116,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
m_appsInfo.setAutoDelete(true);
m_tempFiles.setAutoDelete(true);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
//config->setGroup("AppWizard");
//templates_tabwidget->setCurrentPage(config->readNumEntry("CurrentTab", 0));
@@ -913,7 +913,7 @@ void AppWizardDialog::destButtonClicked(const TQString& dir)
if(!dir.isEmpty()) {
// set new location as default project dir?
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
TQDir defPrjDir( config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()) );
TQDir newDir (dir);
@@ -1158,7 +1158,7 @@ void AppWizardDialog::removeFavourite()
void AppWizardDialog::populateFavourites()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("AppWizard");
//favourites are stored in config as a list of templates and a seperate
@@ -1204,7 +1204,7 @@ void AppWizardDialog::done(int r)
}
}
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("AppWizard");
config->writePathEntry("FavTemplates", templatesList);
config->writeEntry("FavNames", iconNamesList);