diff options
Diffstat (limited to 'parts/appwizard/appwizarddlg.cpp')
-rw-r--r-- | parts/appwizard/appwizarddlg.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp index d5160075..4cbf716d 100644 --- a/parts/appwizard/appwizarddlg.cpp +++ b/parts/appwizard/appwizarddlg.cpp @@ -64,14 +64,14 @@ #include <tqlayout.h> #include "domutil.h" -#include "kdevversioncontrol.h" -#include "kdevmakefrontend.h" -#include "kdevpartcontroller.h" -#include "kdevplugincontroller.h" -#include "kdevappfrontend.h" -#include "kdevplugininfo.h" -#include "kdevlicense.h" -#include "kdevcore.h" +#include "tdevversioncontrol.h" +#include "tdevmakefrontend.h" +#include "tdevpartcontroller.h" +#include "tdevplugincontroller.h" +#include "tdevappfrontend.h" +#include "tdevplugininfo.h" +#include "tdevlicense.h" +#include "tdevcore.h" #include "appwizardfactory.h" #include "appwizardpart.h" #include "filepropspage.h" @@ -309,8 +309,8 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch appname_edit->setValidator(appname_edit_validator); // insert the licenses into the license_combo - TQDict< KDevLicense > lics( licenses() ); - TQDictIterator< KDevLicense > dit(lics); + TQDict< TDevLicense > lics( licenses() ); + TQDictIterator< TDevLicense > dit(lics); int idx=1; for( ; dit.current(); ++dit ) { @@ -356,8 +356,8 @@ void AppWizardDialog::loadVcs() } TQStringList args; TQObject *obj = factory->create(0, service->name().latin1(), - "KDevVCSIntegrator", args); - KDevVCSIntegrator *integrator = (KDevVCSIntegrator*) obj; + "TDevVCSIntegrator", args); + TDevVCSIntegrator *integrator = (TDevVCSIntegrator*) obj; if (!integrator) kdDebug(9010) << " failed to create vcs integrator " << service->name() << endl; @@ -418,20 +418,20 @@ void AppWizardDialog::licenseChanged() edit->setText( TQString() ); } } else { - KDevLicense* lic = licenses()[ license_combo->currentText() ]; + TDevLicense* lic = licenses()[ license_combo->currentText() ]; for (it = m_fileTemplates.begin(); it != m_fileTemplates.end(); ++it) { TQString style = (*it).style; TQMultiLineEdit *edit = (*it).edit; - KDevFile::CommentingStyle commentStyle = KDevFile::CPPStyle; + TDevFile::CommentingStyle commentStyle = TDevFile::CPPStyle; if (style == "PStyle") { - commentStyle = KDevFile::PascalStyle; + commentStyle = TDevFile::PascalStyle; } else if (style == "AdaStyle") { - commentStyle = KDevFile::AdaStyle; + commentStyle = TDevFile::AdaStyle; } else if (style == "ShellStyle") { - commentStyle = KDevFile::BashStyle; + commentStyle = TDevFile::BashStyle; } else if (style == "XMLStyle") { - commentStyle = KDevFile::XMLStyle; + commentStyle = TDevFile::XMLStyle; } TQString text; @@ -577,7 +577,7 @@ void AppWizardDialog::accept() if( license_combo->currentItem() != 0 ) { licenseName = license_combo->currentText(); - KDevLicense* lic = licenses()[ licenseName ]; + TDevLicense* lic = licenses()[ licenseName ]; if( lic ) { TQStringList files( lic->copyFiles() ); @@ -1273,7 +1273,7 @@ void AppWizardDialog::setPermissions(const installFile &file) } } -TQDict<KDevLicense> AppWizardDialog::licenses() +TQDict<TDevLicense> AppWizardDialog::licenses() { return m_licenses; } @@ -1291,7 +1291,7 @@ void AppWizardDialog::loadLicenses() TQString licPath( dirs->findResource( "licenses", *it ) ); kdDebug(9010) << "Loading license file: " << licPath << endl; TQString licName = licPath.mid( licPath.findRev('/') + 1 ); - KDevLicense* lic = new KDevLicense( licName, licPath ); + TDevLicense* lic = new TDevLicense( licName, licPath ); m_licenses.insert( licName, lic ); } // kdDebug(9010) << "======================== Done loadLicenses" << endl; |