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/importdlg.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/importdlg.cpp')
-rw-r--r-- | parts/appwizard/importdlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp index 5f07f5b4..cbe5bec2 100644 --- a/parts/appwizard/importdlg.cpp +++ b/parts/appwizard/importdlg.cpp @@ -133,7 +133,7 @@ void ImportDialog::accept() TQFileInfo finfo(importNames[project_combo->currentItem()]); TQDir importdir(finfo.dir()); importdir.cdUp(); - TQFile src(importdir.filePath("importfiles/" + finfo.fileName() + ".tdevelop")); + TQFile src(importdir.filePath("importfiles/" + finfo.fileName() + ".kdevelop")); kdDebug(9010) << "Import template " << src.name() << endl; if (!src.open(IO_ReadOnly)) { KMessageBox::sorry(this, i18n("Cannot open project template.")); @@ -188,7 +188,7 @@ void ImportDialog::accept() // write the dom back - TQFile dest(dir.filePath(projectName + ".tdevelop")); + TQFile dest(dir.filePath(projectName + ".kdevelop")); if (!dest.open(IO_WriteOnly)) { KMessageBox::sorry(this, i18n("Cannot write the project file.")); return; @@ -213,9 +213,9 @@ void ImportDialog::accept() // dest.close(); // src.close(); - m_part->core()->openProject(dir.filePath(projectName + ".tdevelop")); + m_part->core()->openProject(dir.filePath(projectName + ".kdevelop")); - kdDebug(9010) << "OPENING PROJECT: " << dir.filePath(projectName + ".tdevelop") << endl; + kdDebug(9010) << "OPENING PROJECT: " << dir.filePath(projectName + ".kdevelop") << endl; TQDialog::accept(); } |