summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /buildtools/autotools
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'buildtools/autotools')
-rw-r--r--buildtools/autotools/CMakeLists.txt10
-rw-r--r--buildtools/autotools/Makefile.am20
-rw-r--r--buildtools/autotools/addfiledlg.cpp2
-rw-r--r--buildtools/autotools/addsubprojectdlg.cpp2
-rw-r--r--buildtools/autotools/autodetailsview.cpp20
-rw-r--r--buildtools/autotools/autoprojectpart.cpp30
-rw-r--r--buildtools/autotools/autoprojectpart.h14
-rw-r--r--buildtools/autotools/autoprojectwidget.cpp2
-rw-r--r--buildtools/autotools/autosubprojectview.cpp8
-rw-r--r--buildtools/autotools/choosetargetdialog.cpp2
-rw-r--r--buildtools/autotools/configureoptionswidget.cpp20
-rw-r--r--buildtools/autotools/configureoptionswidget.h4
-rw-r--r--buildtools/autotools/fileselectorwidget.cpp4
-rw-r--r--buildtools/autotools/misc.cpp16
-rw-r--r--buildtools/autotools/removefiledlg.cpp2
-rw-r--r--buildtools/autotools/tdevautoproject.desktop (renamed from buildtools/autotools/kdevautoproject.desktop)2
-rw-r--r--buildtools/autotools/tdevautoproject.rc (renamed from buildtools/autotools/kdevautoproject.rc)0
-rw-r--r--buildtools/autotools/tdevtdeautoproject.desktop (renamed from buildtools/autotools/kdevtdeautoproject.desktop)2
18 files changed, 80 insertions, 80 deletions
diff --git a/buildtools/autotools/CMakeLists.txt b/buildtools/autotools/CMakeLists.txt
index f7af5bc6..e33d897c 100644
--- a/buildtools/autotools/CMakeLists.txt
+++ b/buildtools/autotools/CMakeLists.txt
@@ -32,13 +32,13 @@ link_directories(
##### other data ################################
-install( FILES kdevautoproject.desktop kdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject )
+install( FILES tdevautoproject.desktop tdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevautoproject )
-##### libkdevautoproject (module) ###############
+##### libtdevautoproject (module) ###############
-tde_add_kpart( libkdevautoproject AUTOMOC
+tde_add_kpart( libtdevautoproject AUTOMOC
SOURCES
autoprojectpart.cpp autoprojectwidget.cpp
configureoptionswidget.cpp configureoptionswidgetbase.ui
@@ -60,6 +60,6 @@ tde_add_kpart( libkdevautoproject AUTOMOC
autolistviewitems.cpp managecustomcommandsbase.ui
managecustomcommand.cpp autoprojectviewbase.ui
autotoolsaction.cpp makefilehandler.cpp
- LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared
+ LINK tdevautotoolsparser-static tdevbuildbase-shared tdevbuildtoolswidgets-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/buildtools/autotools/Makefile.am b/buildtools/autotools/Makefile.am
index 98f3ad51..a704eb29 100644
--- a/buildtools/autotools/Makefile.am
+++ b/buildtools/autotools/Makefile.am
@@ -7,14 +7,14 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib -I$(top_srcdir)/buildtools/lib/base \
-I$(top_builddir)/buildtools/lib/widgets
-kde_module_LTLIBRARIES = libkdevautoproject.la
-libkdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN)
-libkdevautoproject_la_LIBADD = \
- $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \
- $(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la \
- $(top_builddir)/lib/interfaces/extras/libkdevextras.la $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevautoproject.la
+libtdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN)
+libtdevautoproject_la_LIBADD = \
+ $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \
+ $(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \
+ $(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/libtdevelop.la
-libkdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
+libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
configureoptionswidget.cpp configureoptionswidgetbase.ui subprojectoptionsdlg.cpp \
subprojectoptionsdlgbase.ui targetoptionsdlg.cpp targetoptionsdlgbase.ui addservicedlg.cpp \
addservicedlgbase.ui addapplicationdlg.cpp addapplicationdlgbase.ui addtargetdlg.cpp \
@@ -30,9 +30,9 @@ libkdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevautoproject.desktop kdevtdeautoproject.desktop
+service_DATA = tdevautoproject.desktop tdevtdeautoproject.desktop
-rcdir = $(kde_datadir)/kdevautoproject
-rc_DATA = kdevautoproject.rc
+rcdir = $(kde_datadir)/tdevautoproject
+rc_DATA = tdevautoproject.rc
noinst_HEADERS = managecustomcommand.h autotoolsaction.h makefilehandler.h
diff --git a/buildtools/autotools/addfiledlg.cpp b/buildtools/autotools/addfiledlg.cpp
index d3f71637..18bf87a8 100644
--- a/buildtools/autotools/addfiledlg.cpp
+++ b/buildtools/autotools/addfiledlg.cpp
@@ -36,7 +36,7 @@
#include "autoprojectpart.h"
#include "autoprojectwidget.h"
-#include "kdevpartcontroller.h"
+#include "tdevpartcontroller.h"
AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget,
SubprojectItem *spitem, TargetItem *item,
diff --git a/buildtools/autotools/addsubprojectdlg.cpp b/buildtools/autotools/addsubprojectdlg.cpp
index 59cebc53..fa64c506 100644
--- a/buildtools/autotools/addsubprojectdlg.cpp
+++ b/buildtools/autotools/addsubprojectdlg.cpp
@@ -25,7 +25,7 @@
#include "autolistviewitems.h"
-#include "kdevmakefrontend.h"
+#include "tdevmakefrontend.h"
#include "misc.h"
#include "autoprojectpart.h"
#include "autosubprojectview.h"
diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp
index 91b6d75c..34060b61 100644
--- a/buildtools/autotools/autodetailsview.cpp
+++ b/buildtools/autotools/autodetailsview.cpp
@@ -32,13 +32,13 @@
#include <tdepopupmenu.h>
/** KDevelop */
-#include "kdevappfrontend.h"
-#include "kdevcore.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
-#include "kdevcreatefile.h"
-#include "kdevlanguagesupport.h"
-#include "kdevmakefrontend.h"
+#include "tdevappfrontend.h"
+#include "tdevcore.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.h"
+#include "tdevcreatefile.h"
+#include "tdevlanguagesupport.h"
+#include "tdevmakefrontend.h"
#include "urlutil.h"
#include "domutil.h"
@@ -294,13 +294,13 @@ void AutoDetailsView::slotAddNewFile()
if ( !titem )
return;
- KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>("TDevelop/CreateFile");
+ TDevCreateFile * createFileSupport = m_part->extension<TDevCreateFile>("TDevelop/CreateFile");
if (createFileSupport)
{
- KDevCreateFile::CreatedFile crFile =
+ TDevCreateFile::CreatedFile crFile =
createFileSupport->createNewFile(TQString(),
m_widget->selectedSubproject()->path);
-/* if (crFile.status == KDevCreateFile::CreatedFile::STATUS_OK)
+/* if (crFile.status == TDevCreateFile::CreatedFile::STATUS_OK)
{
FileItem *fitem = m_widget->createFileItem(crFile.filename, m_widget->selectedSubproject());
titem->sources.append(fitem);
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index 6b408bd0..ae5453bc 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -45,34 +45,34 @@
#include <kprocess.h>
#include <domutil.h>
-#include <kdevcore.h>
-#include <kdevmakefrontend.h>
-#include <kdevappfrontend.h>
-#include <kdevmainwindow.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevmakefrontend.h>
+#include <tdevappfrontend.h>
+#include <tdevmainwindow.h>
+#include <tdevpartcontroller.h>
#include <makeoptionswidget.h>
#include <runoptionswidget.h>
#include <envvartools.h>
#include <configwidgetproxy.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
#include <urlutil.h>
#define CONFIGURE_OPTIONS 1
#define RUN_OPTIONS 2
#define MAKE_OPTIONS 3
-static const KDevPluginInfo data("kdevautoproject");
+static const TDevPluginInfo data("tdevautoproject");
-K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libtdevautoproject, AutoProjectFactory( data ) )
AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args)
- : KDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
+ : TDevBuildTool(&data, parent, name ? name : "AutoProjectPart")
, m_lastCompilationFailed(false)
{
setInstance(AutoProjectFactory::instance());
- setXMLFile("kdevautoproject.rc");
+ setXMLFile("tdevautoproject.rc");
m_executeAfterBuild = false;
m_isKDE = (args[0] == "kde");
@@ -310,7 +310,7 @@ void AutoProjectPart::openProject(const TQString &dirName, const TQString &proje
"Project -> Project Options -> Run Options"), i18n("No active target specified"), "tdevelop_open_project_no_active_target");
}
- KDevProject::openProject( dirName, projectName );
+ TDevProject::openProject( dirName, projectName );
}
@@ -358,7 +358,7 @@ TQString AutoProjectPart::runDirectory() const
TQString cwd;
if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() )
{
- cwd = defaultRunDirectory("kdevautoproject");
+ cwd = defaultRunDirectory("tdevautoproject");
}else
{
cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name );
@@ -585,7 +585,7 @@ TQStringList AutoProjectPart::allBuildConfigs() const
TQStringList allConfigs;
allConfigs.append("default");
- TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
+ TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull())
{
@@ -1075,7 +1075,7 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const
// Find the admin tarball
TDEStandardDirs dirs;
- dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/template-common/");
+ dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/template-common/");
source = dirs.findResource("apptemplates", "admin.tar.gz");
if (source != "") {
TQString cmdline = "rm -rf admin && tar -xzvf ";
@@ -1453,7 +1453,7 @@ bool AutoProjectPart::isKDE() const
return m_isKDE;
}
-KDevProject::Options AutoProjectPart::options() const
+TDevProject::Options AutoProjectPart::options() const
{
return UsesAutotoolsBuildSystem;
}
diff --git a/buildtools/autotools/autoprojectpart.h b/buildtools/autotools/autoprojectpart.h
index 83066c3c..08d83719 100644
--- a/buildtools/autotools/autoprojectpart.h
+++ b/buildtools/autotools/autoprojectpart.h
@@ -20,8 +20,8 @@
#include <tqmap.h>
#include <tqdatetime.h>
#include <tqdir.h>
-#include <kdevgenericfactory.h>
-#include "kdevbuildtool.h"
+#include <tdevgenericfactory.h>
+#include "tdevbuildtool.h"
class TQDomElement;
class TQStringList;
@@ -31,7 +31,7 @@ class TDESelectAction;
class TargetItem;
class ConfigWidgetProxy;
-class AutoProjectPart : public KDevBuildTool
+class AutoProjectPart : public TDevBuildTool
{
Q_OBJECT
@@ -41,7 +41,7 @@ public:
virtual ~AutoProjectPart();
/**
- * Implementation of the KDevProject interface.
+ * Implementation of the TDevProject interface.
*/
virtual TQString projectDirectory() const;
virtual TQString projectName() const;
@@ -61,7 +61,7 @@ public:
virtual Options options() const;
/**
- * Implementation of the KDevPlugin interface.
+ * Implementation of the TDevPlugin interface.
*/
virtual void restorePartialProjectSession ( const TQDomElement* el );
virtual void savePartialProjectSession ( TQDomElement* el );
@@ -85,7 +85,7 @@ public:
protected:
/**
- * Reimplemented from KDevProject. These methods are only
+ * Reimplemented from TDevProject. These methods are only
* for use by the application core.
*/
virtual void openProject( const TQString &dirName, const TQString &projectName );
@@ -151,7 +151,7 @@ private:
bool queueInternalLibDependenciesBuild( TargetItem* titem, TQStringList& list );
};
-typedef KDevGenericFactory<AutoProjectPart> AutoProjectFactory;
+typedef TDevGenericFactory<AutoProjectPart> AutoProjectFactory;
#endif
// kate: indent-mode csands; tab-width 4;
diff --git a/buildtools/autotools/autoprojectwidget.cpp b/buildtools/autotools/autoprojectwidget.cpp
index a558a593..c41a60dc 100644
--- a/buildtools/autotools/autoprojectwidget.cpp
+++ b/buildtools/autotools/autoprojectwidget.cpp
@@ -42,7 +42,7 @@
#include <kxmlguiclient.h>
#include <tdeaction.h>
-#include "kdevcore.h"
+#include "tdevcore.h"
#include "domutil.h"
#include "misc.h"
#include "choosetargetdialog.h"
diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp
index 8353e2ea..0eecfe4b 100644
--- a/buildtools/autotools/autosubprojectview.cpp
+++ b/buildtools/autotools/autosubprojectview.cpp
@@ -34,10 +34,10 @@
#include <tdelistview.h>
/** KDevelop */
-#include <kdevmainwindow.h>
-#include <kdevmakefrontend.h>
-#include <kdevappfrontend.h>
-#include <kdevcore.h>
+#include <tdevmainwindow.h>
+#include <tdevmakefrontend.h>
+#include <tdevappfrontend.h>
+#include <tdevcore.h>
#include <urlutil.h>
/** AutoProject */
diff --git a/buildtools/autotools/choosetargetdialog.cpp b/buildtools/autotools/choosetargetdialog.cpp
index 8b59545f..fad399f3 100644
--- a/buildtools/autotools/choosetargetdialog.cpp
+++ b/buildtools/autotools/choosetargetdialog.cpp
@@ -43,7 +43,7 @@
#include "autoprojectwidget.h"
#include "autoprojectpart.h"
-#include "kdevpartcontroller.h"
+#include "tdevpartcontroller.h"
class ChooseTargetDialog::Private
{
diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp
index cc39aa07..c991d15d 100644
--- a/buildtools/autotools/configureoptionswidget.cpp
+++ b/buildtools/autotools/configureoptionswidget.cpp
@@ -29,7 +29,7 @@
#include <kservice.h>
#include <ktrader.h>
-#include "kdevcompileroptions.h"
+#include "tdevcompileroptions.h"
#include "autoprojectpart.h"
#include "environmentvariableswidget.h"
@@ -310,7 +310,7 @@ void ConfigureOptionsWidget::configRemoved()
TQString config = config_combo->currentText();
TQDomDocument dom = *m_part->projectDom();
- TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations");
+ TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations");
node.removeChild(node.namedItem(config));
allConfigs.remove(config);
@@ -348,7 +348,7 @@ void ConfigureOptionsWidget::f77serviceChanged()
void ConfigureOptionsWidget::cflagsClicked()
{
TQString name = ServiceComboBox::currentText(cservice_combo, cservice_names);
- KDevCompilerOptions *plugin = createCompilerOptions(name);
+ TDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) {
TQString flags = plugin->exec(this, cflags_edit->text());
@@ -361,7 +361,7 @@ void ConfigureOptionsWidget::cflagsClicked()
void ConfigureOptionsWidget::cxxflagsClicked()
{
TQString name = ServiceComboBox::currentText(cxxservice_combo, cxxservice_names);
- KDevCompilerOptions *plugin = createCompilerOptions(name);
+ TDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) {
TQString flags = plugin->exec(this, cxxflags_edit->text());
@@ -374,7 +374,7 @@ void ConfigureOptionsWidget::cxxflagsClicked()
void ConfigureOptionsWidget::f77flagsClicked()
{
TQString name = ServiceComboBox::currentText(f77service_combo, f77service_names);
- KDevCompilerOptions *plugin = createCompilerOptions(name);
+ TDevCompilerOptions *plugin = createCompilerOptions(name);
if (plugin) {
TQString flags = plugin->exec(this, f77flags_edit->text());
@@ -384,7 +384,7 @@ void ConfigureOptionsWidget::f77flagsClicked()
}
-KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name)
+TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name)
{
KService::Ptr service = KService::serviceByDesktopName(name);
if (!service) {
@@ -406,13 +406,13 @@ KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(),
- "KDevCompilerOptions", args);
+ "TDevCompilerOptions", args);
- if (!obj->inherits("KDevCompilerOptions")) {
- kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl;
+ if (!obj->inherits("TDevCompilerOptions")) {
+ kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl;
return 0;
}
- KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
+ TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
return dlg;
}
diff --git a/buildtools/autotools/configureoptionswidget.h b/buildtools/autotools/configureoptionswidget.h
index e40874de..dfab95cc 100644
--- a/buildtools/autotools/configureoptionswidget.h
+++ b/buildtools/autotools/configureoptionswidget.h
@@ -18,7 +18,7 @@
#include "domutil.h"
-class KDevCompilerOptions;
+class TDevCompilerOptions;
class AutoProjectPart;
class EnvironmentVariablesWidget;
@@ -53,7 +53,7 @@ private:
void readSettings( const TQString &config );
void saveSettings( const TQString &config );
- KDevCompilerOptions *createCompilerOptions( const TQString &lang );
+ TDevCompilerOptions *createCompilerOptions( const TQString &lang );
TDETrader::OfferList coffers, cxxoffers, f77offers;
TQStringList cservice_names, cservice_execs;
TQStringList cxxservice_names, cxxservice_execs;
diff --git a/buildtools/autotools/fileselectorwidget.cpp b/buildtools/autotools/fileselectorwidget.cpp
index c10db050..afd09d4b 100644
--- a/buildtools/autotools/fileselectorwidget.cpp
+++ b/buildtools/autotools/fileselectorwidget.cpp
@@ -43,7 +43,7 @@
#include "autoprojectwidget.h"
#include "autoprojectpart.h"
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
#include "tdefilednddetailview.h"
#include "tdefiledndiconview.h"
@@ -140,7 +140,7 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode,
/* read the file patterns from the project DOM */
TQDomElement docEl = m_part->projectDom()->documentElement();
- TQDomElement fileviewEl = docEl.namedItem("kdevfileview").toElement();
+ TQDomElement fileviewEl = docEl.namedItem("tdevfileview").toElement();
TQDomElement groupsEl = fileviewEl.namedItem("groups").toElement();
TQDomElement groupEl = groupsEl.firstChild().toElement();
diff --git a/buildtools/autotools/misc.cpp b/buildtools/autotools/misc.cpp
index ec58b54c..f1174b21 100644
--- a/buildtools/autotools/misc.cpp
+++ b/buildtools/autotools/misc.cpp
@@ -21,10 +21,10 @@
#include "misc.h"
-#include "kdevcompileroptions.h"
+#include "tdevcompileroptions.h"
-static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
+static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
{
KService::Ptr service = KService::serviceByDesktopName( name );
if ( !service )
@@ -48,13 +48,13 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split(" ", prop.toString());
TQObject *obj = factory->create(parent, service->name().latin1(),
- "KDevCompilerOptions", args);
+ "TDevCompilerOptions", args);
- if (!obj->inherits("KDevCompilerOptions")) {
- kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl;
+ if (!obj->inherits("TDevCompilerOptions")) {
+ kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl;
return 0;
}
- KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj;
+ TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj;
return dlg;
@@ -65,14 +65,14 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
args = TQStringList::split( " ", prop.toString() );
return KParts::ComponentFactory
- ::createInstanceFromService<KDevCompilerOptions>( service, parent,
+ ::createInstanceFromService<TDevCompilerOptions>( service, parent,
service->name().latin1(), args );*/
}
TQString AutoProjectTool::execFlagsDialog( const TQString &compiler, const TQString &flags, TQWidget *parent )
{
- KDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) );
+ TDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) );
if ( plugin )
{
diff --git a/buildtools/autotools/removefiledlg.cpp b/buildtools/autotools/removefiledlg.cpp
index e265a969..6508d126 100644
--- a/buildtools/autotools/removefiledlg.cpp
+++ b/buildtools/autotools/removefiledlg.cpp
@@ -155,7 +155,7 @@ void RemoveFileDialog::accept()
TQDomDocument &dom = *(m_part->projectDom());
TQDomElement el = dom.documentElement();
- TQDomNode el2 = el.namedItem("kdevautoproject");
+ TQDomNode el2 = el.namedItem("tdevautoproject");
TQDomNode el3 = el2.namedItem("subclassing");
TQDomNode n = el3.firstChild();
diff --git a/buildtools/autotools/kdevautoproject.desktop b/buildtools/autotools/tdevautoproject.desktop
index a149c870..ad164259 100644
--- a/buildtools/autotools/kdevautoproject.desktop
+++ b/buildtools/autotools/tdevautoproject.desktop
@@ -92,6 +92,6 @@ GenericName[zh_CN]=Automake 工程
GenericName[zh_TW]=Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
-X-TDE-Library=libkdevautoproject
+X-TDE-Library=libtdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=
diff --git a/buildtools/autotools/kdevautoproject.rc b/buildtools/autotools/tdevautoproject.rc
index 5d213e3e..5d213e3e 100644
--- a/buildtools/autotools/kdevautoproject.rc
+++ b/buildtools/autotools/tdevautoproject.rc
diff --git a/buildtools/autotools/kdevtdeautoproject.desktop b/buildtools/autotools/tdevtdeautoproject.desktop
index b9b6abd8..5ed348d1 100644
--- a/buildtools/autotools/kdevtdeautoproject.desktop
+++ b/buildtools/autotools/tdevtdeautoproject.desktop
@@ -87,6 +87,6 @@ GenericName[zh_CN]=TDE Automake 工程
GenericName[zh_TW]=TDE Automake 專案
ServiceTypes=TDevelop/Project
Icon=make
-X-TDE-Library=libkdevautoproject
+X-TDE-Library=libtdevautoproject
X-TDevelop-Version=5
X-TDevelop-Args=kde