summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/appwizarddlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:53:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 13:53:18 -0600
commit2ecab1a194b0dc551b478820e1aaa3b8713354cc (patch)
treeae4df71ed26f3dc2dd605970d8d455165a1c8ab3 /parts/appwizard/appwizarddlg.cpp
parent549fec618f0b15c9316fc0a5ebe93c2829bc0b1b (diff)
downloadtdevelop-2ecab1a194b0dc551b478820e1aaa3b8713354cc.tar.gz
tdevelop-2ecab1a194b0dc551b478820e1aaa3b8713354cc.zip
Additional renaming of kde to tde
Diffstat (limited to 'parts/appwizard/appwizarddlg.cpp')
-rw-r--r--parts/appwizard/appwizarddlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index a5fbe33d..eb3fb4f6 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -1,8 +1,8 @@
/***************************************************************************
* Copyright (C) 2001-2002 by Bernd Gehrmann *
- * bernd@kdevelop.org *
+ * bernd@tdevelop.org *
* Copyright (C) 2001 by Sandy Meier *
- * smeier@kdevelop.org *
+ * smeier@tdevelop.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -177,7 +177,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
// Build builtins map to bootstrap.
TQString source = kdevRoot( info->templateName );
- info->subMap.insert("kdevelop", source );
+ info->subMap.insert("tdevelop", source );
// Add includes to the main template...
TQStringList::Iterator include = info->includes.begin();
@@ -206,7 +206,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
TQString type = templateConfig.readEntry( "ValueType", "String" );
TQVariant::Type variantType = TQVariant::nameToType( type.latin1());
TQVariant value = templateConfig.readPropertyEntry( "Default", variantType );
- value.cast( variantType ); // fix this in kdelibs...
+ value.cast( variantType ); // fix this in tdelibs...
if( !name.isEmpty() && !label.isEmpty() )
info->propValues->addProperty( new PropertyLib::Property( (int)variantType, name, label, value ) );
@@ -270,7 +270,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
if (item)
{
item = new KListViewItem(item, ait.current()->name);
- item->setPixmap(0, SmallIcon("kdevelop"));
+ item->setPixmap(0, SmallIcon("tdevelop"));
}
else
kdDebug(9010) << "Error can't find category in categoryMap: "
@@ -528,7 +528,7 @@ void AppWizardDialog::accept()
TQStringList cleanUpSubstMap;
- cleanUpSubstMap << "src" << "I18N" << "kdevelop";
+ cleanUpSubstMap << "src" << "I18N" << "tdevelop";
kdDebug(9010) << "add template files" << endl;
@@ -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 kdevelop><kdevelop><general><author>%1</author><email>%2</email><version>%3</version></general></kdevelop>";
+ TQString tempProjectDomSource = "<!DOCTYPE tdevelop><tdevelop><general><author>%1</author><email>%2</email><version>%3</version></general></tdevelop>";
tempProjectDomSource = tempProjectDomSource.tqarg( author_edit->text() ).tqarg( email_edit->text() ).tqarg( version_edit->text() );
TQDomDocument tempProjectDom;
tempProjectDom.setContent( tempProjectDomSource );
@@ -585,7 +585,7 @@ void AppWizardDialog::accept()
for( ; it != files.end(); ++it )
{
installFile file;
- file.source = TQString( "%{kdevelop}/template-common/%1" ).tqarg( *it );
+ file.source = TQString( "%{tdevelop}/template-common/%1" ).tqarg( *it );
file.dest = TQString("%{dest}/%1").tqarg( *it );
file.process = true;
file.isXML = false;
@@ -999,7 +999,7 @@ ApplicationInfo *AppWizardDialog::templateForItem(TQListViewItem *item)
void AppWizardDialog::openAfterGeneration()
{
- TQString projectFile( finalLoc_label->text() + "/" + appname_edit->text().lower() + ".kdevelop" );
+ TQString projectFile( finalLoc_label->text() + "/" + appname_edit->text().lower() + ".tdevelop" );
// Read the DOM of the newly created project
TQFile file( projectFile );
@@ -1114,7 +1114,7 @@ void AppWizardDialog::addFavourite(TQListViewItem* item, TQString favouriteName)
{
info->favourite = new KIconViewItem(favourites_iconview,
((favouriteName=="")?info->name:favouriteName),
- DesktopIcon("kdevelop"));
+ DesktopIcon("tdevelop"));
info->favourite->setRenameEnabled(true);
}
@@ -1282,7 +1282,7 @@ void AppWizardDialog::loadLicenses()
{
// kdDebug(9010) << "======================== Entering loadLicenses" << endl;
KStandardDirs* dirs = KGlobal::dirs();
- dirs->addResourceType( "licenses", KStandardDirs::kde_default( "data" ) + "kdevelop/licenses/" );
+ dirs->addResourceType( "licenses", KStandardDirs::kde_default( "data" ) + "tdevelop/licenses/" );
TQStringList licNames = dirs->findAllResources( "licenses", TQString(), false, true );
TQStringList::Iterator it;