summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extras/kdevvcsintegrator.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/extras/kdevvcsintegrator.h')
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/interfaces/extras/kdevvcsintegrator.h b/lib/interfaces/extras/kdevvcsintegrator.h
index 62928cae..0efc71b5 100644
--- a/lib/interfaces/extras/kdevvcsintegrator.h
+++ b/lib/interfaces/extras/kdevvcsintegrator.h
@@ -19,7 +19,7 @@
#ifndef KDEVVCSINTEGRATOR_H
#define KDEVVCSINTEGRATOR_H
-#include <qobject.h>
+#include <tqobject.h>
/**
@file kdevvcsintegrator.h
@@ -34,11 +34,11 @@ VCS Integration Dialog.
Usually it is created as:
@code
-class MyVCSDialog: public QWidget, public VCSDialog {
- MyVCSDialog(QWidget *parent = 0, const char *name = 0);
+class MyVCSDialog: public TQWidget, public VCSDialog {
+ MyVCSDialog(TQWidget *parent = 0, const char *name = 0);
virtual void accept() { ... }
- virtual void init(const QString &projectName, const QString &projectLocation) { ... }
- virtual QWidget *self() {
+ virtual void init(const TQString &projectName, const TQString &projectLocation) { ... }
+ virtual TQWidget *self() {
return const_cast<MyVCSDialog*>(this);
}
}
@@ -47,14 +47,14 @@ class MyVCSDialog: public QWidget, public VCSDialog {
class VCSDialog {
public:
VCSDialog() { }
- /**Implement all integration actions here. Do not use QDialog::accept method
+ /**Implement all integration actions here. Do not use TQDialog::accept method
to perform integration actions.*/
virtual void accept() = 0;
/**Init integration dialog with the project name and location.*/
- virtual void init(const QString &projectName, const QString &projectLocation) = 0;
+ virtual void init(const TQString &projectName, const TQString &projectLocation) = 0;
/**Reimplement to return an actual integration widget. Use QWidgets for that, not
QDialogs because integrator dialogs are usually have parent containers.*/
- virtual QWidget *self() = 0;
+ virtual TQWidget *self() = 0;
};
/**
@@ -62,15 +62,15 @@ The interface to VCS integrators.
VCS integrator takes care about setting up VCS for new and existing projects.
It can, for example, perform checkout or import operations.
*/
-class KDevVCSIntegrator: public QObject {
+class KDevVCSIntegrator: public TQObject {
Q_OBJECT
public:
- KDevVCSIntegrator(QObject *parent = 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(QWidget *parent) = 0;
+ virtual VCSDialog *fetcher(TQWidget *parent) = 0;
/**Reimplement to return a dialog to integrate the project into VCS.*/
- virtual VCSDialog *integrator(QWidget *parent) = 0;
+ virtual VCSDialog *integrator(TQWidget *parent) = 0;
};
#endif