summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extras
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/extras')
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.cpp4
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.h12
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.cpp4
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.h10
4 files changed, 15 insertions, 15 deletions
diff --git a/lib/interfaces/extras/kdevcompileroptions.cpp b/lib/interfaces/extras/kdevcompileroptions.cpp
index 08f5d19f..22c701f1 100644
--- a/lib/interfaces/extras/kdevcompileroptions.cpp
+++ b/lib/interfaces/extras/kdevcompileroptions.cpp
@@ -1,7 +1,7 @@
#include "kdevcompileroptions.h"
-KDevCompilerOptions::KDevCompilerOptions( TQObject * tqparent, const char * name )
- :TQObject(tqparent, name)
+KDevCompilerOptions::KDevCompilerOptions( TQObject * parent, const char * name )
+ :TQObject(parent, name)
{
}
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
diff --git a/lib/interfaces/extras/kdevvcsintegrator.cpp b/lib/interfaces/extras/kdevvcsintegrator.cpp
index cb3cb263..5a6ab429 100644
--- a/lib/interfaces/extras/kdevvcsintegrator.cpp
+++ b/lib/interfaces/extras/kdevvcsintegrator.cpp
@@ -18,8 +18,8 @@
*/
#include "kdevvcsintegrator.h"
-KDevVCSIntegrator::KDevVCSIntegrator(TQObject *tqparent, const char *name)
- :TQObject(tqparent, name)
+KDevVCSIntegrator::KDevVCSIntegrator(TQObject *parent, const char *name)
+ :TQObject(parent, name)
{
}
diff --git a/lib/interfaces/extras/kdevvcsintegrator.h b/lib/interfaces/extras/kdevvcsintegrator.h
index e13798e2..b5098e6c 100644
--- a/lib/interfaces/extras/kdevvcsintegrator.h
+++ b/lib/interfaces/extras/kdevvcsintegrator.h
@@ -35,7 +35,7 @@ VCS Integration Dialog.
Usually it is created as:
@code
class MyVCSDialog: public TQWidget, public VCSDialog {
- MyVCSDialog(TQWidget *tqparent = 0, const char *name = 0);
+ MyVCSDialog(TQWidget *parent = 0, const char *name = 0);
virtual void accept() { ... }
virtual void init(const TQString &projectName, const TQString &projectLocation) { ... }
virtual TQWidget *self() {
@@ -53,7 +53,7 @@ public:
/**Init integration dialog with the project name and location.*/
virtual void init(const TQString &projectName, const TQString &projectLocation) = 0;
/**Reimplement to return an actual integration widget. Use TQWidgets for that, not
- TQDialogs because integrator dialogs are usually have tqparent containers.*/
+ TQDialogs because integrator dialogs are usually have parent containers.*/
virtual TQWidget *self() = 0;
};
@@ -66,12 +66,12 @@ class KDevVCSIntegrator: public TQObject {
Q_OBJECT
TQ_OBJECT
public:
- KDevVCSIntegrator(TQObject *tqparent = 0, const char *name = 0);
+ KDevVCSIntegrator(TQObject *parent = 0, const char *name = 0);
/**Reimplement to return a dialog to fetch the project from VCS.*/
- virtual VCSDialog *fetcher(TQWidget *tqparent) = 0;
+ virtual VCSDialog *fetcher(TQWidget *parent) = 0;
/**Reimplement to return a dialog to integrate the project into VCS.*/
- virtual VCSDialog *integrator(TQWidget *tqparent) = 0;
+ virtual VCSDialog *integrator(TQWidget *parent) = 0;
};
#endif