summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extras/kdevcompileroptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/extras/kdevcompileroptions.h')
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/interfaces/extras/kdevcompileroptions.h b/lib/interfaces/extras/kdevcompileroptions.h
index 15d9a066..220956f5 100644
--- a/lib/interfaces/extras/kdevcompileroptions.h
+++ b/lib/interfaces/extras/kdevcompileroptions.h
@@ -34,7 +34,7 @@ Used by build systems to give users a compiler options configuration dialog.
Common use case:
@code
-static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *tqparent )
+static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent )
{
KService::Ptr service = KService::serviceByDesktopName( name );
if ( !service )
@@ -49,7 +49,7 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
if (prop.isValid())
args = TQStringList::split(" ", prop.toString());
- TQObject *obj = factory->create(tqparent, service->name().latin1(),
+ TQObject *obj = factory->create(parent, service->name().latin1(),
"KDevCompilerOptions", args);
if (!obj->inherits("KDevCompilerOptions"))
@@ -60,11 +60,11 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
}
...
-KDevCompilerOptions *plugin = createCompilerOptions(compilerName, tqparent);
+KDevCompilerOptions *plugin = createCompilerOptions(compilerName, parent);
TQString flags = ""; //old compiler flags
if ( plugin )
{
- flags = plugin->exec( tqparent, flags ); //new compiler flags are returned
+ flags = plugin->exec( parent, flags ); //new compiler flags are returned
delete plugin;
}
@endcode
@@ -75,7 +75,7 @@ class KDevCompilerOptions : public TQObject
TQ_OBJECT
public:
- KDevCompilerOptions( TQObject *tqparent=0, const char *name=0 );
+ KDevCompilerOptions( TQObject *parent=0, const char *name=0 );
/**
* Opens a dialog which allows the user to configure the
@@ -85,7 +85,7 @@ public:
* be returned as a string. If the dialog was cancelled,
* TQString() is returned.
*/
- virtual TQString exec(TQWidget *tqparent, const TQString &flags) = 0;
+ virtual TQString exec(TQWidget *parent, const TQString &flags) = 0;
};
#endif