summaryrefslogtreecommitdiffstats
path: root/src/projectmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectmanager.cpp')
-rw-r--r--src/projectmanager.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp
index 58cbaaef..f7478e75 100644
--- a/src/projectmanager.cpp
+++ b/src/projectmanager.cpp
@@ -55,7 +55,7 @@ class TQDomDocument;
TQString ProjectInfo::sessionFile() const
{
TQString sf = m_projectURL.path(-1);
- sf.truncate(sf.length() - 8); // without ".kdevelop"
+ sf.truncate(sf.length() - 8); // without ".tdevelop"
sf += "kdevses"; // suffix for a KDevelop session file
return sf;
}
@@ -130,7 +130,7 @@ void ProjectManager::slotOpenProject()
TQString defaultProjectsDir = config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()+"/");
KURL url = KFileDialog::getOpenURL(defaultProjectsDir,
- i18n("*.kdevelop|KDevelop 3 Project Files\n"
+ i18n("*.tdevelop|KDevelop 3 Project Files\n"
"*.kdevprj|KDevelop 2 Project Files"),
TopLevel::getInstance()->main(), i18n("Open Project") );
@@ -149,7 +149,7 @@ void ProjectManager::slotProjectOptions()
KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, TopLevel::getInstance()->main(),
"project options dialog");
- TQVBox *box = dlg.addVBoxPage( i18n("General"), i18n("General"), BarIcon( "kdevelop", KIcon::SizeMedium ) );
+ TQVBox *box = dlg.addVBoxPage( i18n("General"), i18n("General"), BarIcon( "tdevelop", KIcon::SizeMedium ) );
GeneralInfoWidget *g = new GeneralInfoWidget(*API::getInstance()->projectDom(), box, "general informations widget");
connect (&dlg, TQT_SIGNAL(okClicked()), g, TQT_SLOT(accept()));
@@ -379,7 +379,7 @@ bool ProjectManager::loadProjectFile()
KIO::NetAccess::removeTempFile(path);
return false;
}
- if (m_info->m_document.documentElement().nodeName() != "kdevelop")
+ if (m_info->m_document.documentElement().nodeName() != "tdevelop")
{
KMessageBox::sorry(TopLevel::getInstance()->main(),
i18n("This is not a valid project file."));
@@ -411,7 +411,7 @@ bool ProjectManager::saveProjectFile()
API::getInstance()->projectDom()->save(stream, 2);
fout.close();
} else {
- KTempFile fout(TQString::tqfromLatin1("kdevelop3"));
+ KTempFile fout(TQString::tqfromLatin1("tdevelop3"));
fout.setAutoDelete(true);
if (fout.status() != 0) {
KMessageBox::sorry(TopLevel::getInstance()->main(), i18n("Could not write the project file."));
@@ -457,7 +457,7 @@ void ProjectManager::getGeneralInfo()
if( m_info->m_projectName.isEmpty() )
{
m_info->m_projectName = m_info->m_projectURL.filename();
- m_info->m_projectName = m_info->m_projectName.left(m_info->m_projectName.length()-TQString(".kdevelop").length());
+ m_info->m_projectName = m_info->m_projectName.left(m_info->m_projectName.length()-TQString(".tdevelop").length());
TQDomElement prjname = m_info->m_document.createElement("projectname");
prjname.appendChild( m_info->m_document.createTextNode( m_info->m_projectName) );
generalEl.appendChild( prjname );
@@ -618,9 +618,9 @@ bool ProjectManager::loadKDevelop2Project( const KURL & url )
return false;
}
- TQString cmd = KGlobal::dirs()->findExe( "kdevprj2kdevelop" );
+ TQString cmd = KGlobal::dirs()->findExe( "kdevprj2tdevelop" );
if (cmd.isEmpty()) {
- KMessageBox::sorry(0, i18n("You do not have 'kdevprj2kdevelop' installed."));
+ KMessageBox::sorry(0, i18n("You do not have 'kdevprj2tdevelop' installed."));
return false;
}
@@ -631,13 +631,13 @@ bool ProjectManager::loadKDevelop2Project( const KURL & url )
proc << "perl" << cmd << KShellProcess::quote( url.path() );
proc.start( KProcess::Block );
- TQString projectFile = fileInfo.dirPath( true ) + "/" + fileInfo.baseName() + ".kdevelop";
+ TQString projectFile = fileInfo.dirPath( true ) + "/" + fileInfo.baseName() + ".tdevelop";
return loadProject( KURL(projectFile) );
}
// TQString ProjectManager::profileByAttributes(const TQString &language, const TQStringList &keywords)
// {
-// KConfig config(locate("data", "kdevelop/profiles/projectprofiles"));
+// KConfig config(locate("data", "tdevelop/profiles/projectprofiles"));
// config.setGroup(language);
//
// TQStringList profileKeywords = TQStringList::split("/", "Empty");