summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extras/kdevvcsintegrator.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/extras/kdevvcsintegrator.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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