summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/misc.cpp')
-rw-r--r--buildtools/autotools/misc.cpp16
1 files changed, 8 insertions, 8 deletions
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 )
{