diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-17 15:33:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-06-17 15:35:36 +0900 |
commit | 8b9c0d28fe084e8c7912a55f29052052edcfdd6e (patch) | |
tree | 9b199d1df7b3705bf6dc15594347c0267f3511fe /parts/appwizard/appwizarddlg.cpp | |
parent | a02c867020f0f7f4d399c1d2849ac990614036f8 (diff) | |
download | tdevelop-8b9c0d28fe084e8c7912a55f29052052edcfdd6e.tar.gz tdevelop-8b9c0d28fe084e8c7912a55f29052052edcfdd6e.zip |
Revert to .kdevelop files with <kdevelop> entity name for project files.
This resolves bug 2308.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e044c5463329652f28565dfc7de24ef8b0edaa6f)
Diffstat (limited to 'parts/appwizard/appwizarddlg.cpp')
-rw-r--r-- | parts/appwizard/appwizarddlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp index d5160075..e87cee2d 100644 --- a/parts/appwizard/appwizarddlg.cpp +++ b/parts/appwizard/appwizarddlg.cpp @@ -542,7 +542,7 @@ void AppWizardDialog::accept() m_pCurrentAppInfo->dirList.prepend( baseDir ); // This is too silly for words, but it's either this or reimplementing FileTemplate - TQString tempProjectDomSource = "<!DOCTYPE tdevelop><tdevelop><general><author>%1</author><email>%2</email><version>%3</version></general></tdevelop>"; + TQString tempProjectDomSource = "<!DOCTYPE kdevelop><kdevelop><general><author>%1</author><email>%2</email><version>%3</version></general></kdevelop>"; tempProjectDomSource = tempProjectDomSource.arg( author_edit->text() ).arg( email_edit->text() ).arg( version_edit->text() ); TQDomDocument tempProjectDom; tempProjectDom.setContent( tempProjectDomSource ); @@ -999,7 +999,7 @@ ApplicationInfo *AppWizardDialog::templateForItem(TQListViewItem *item) void AppWizardDialog::openAfterGeneration() { - TQString projectFile( finalLoc_label->text() + "/" + appname_edit->text().lower() + ".tdevelop" ); + TQString projectFile( finalLoc_label->text() + "/" + appname_edit->text().lower() + ".kdevelop" ); // Read the DOM of the newly created project TQFile file( projectFile ); |