diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/interfaces/extras/kdevvcsintegrator.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/extras/kdevvcsintegrator.h')
-rw-r--r-- | lib/interfaces/extras/kdevvcsintegrator.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/interfaces/extras/kdevvcsintegrator.h b/lib/interfaces/extras/kdevvcsintegrator.h index 260f2a20..e13798e2 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 *parent = 0, const char *name = 0); + MyVCSDialog(TQWidget *tqparent = 0, const char *name = 0); virtual void accept() { ... } virtual void init(const TQString &projectName, const TQString &projectLocation) { ... } virtual TQWidget *self() { @@ -52,8 +52,8 @@ public: virtual void accept() = 0; /**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 QWidgets for that, not - QDialogs because integrator dialogs are usually have parent containers.*/ + /**Reimplement to return an actual integration widget. Use TQWidgets for that, not + TQDialogs because integrator dialogs are usually have tqparent containers.*/ virtual TQWidget *self() = 0; }; @@ -64,13 +64,14 @@ It can, for example, perform checkout or import operations. */ class KDevVCSIntegrator: public TQObject { Q_OBJECT + TQ_OBJECT public: - KDevVCSIntegrator(TQObject *parent = 0, const char *name = 0); + KDevVCSIntegrator(TQObject *tqparent = 0, const char *name = 0); /**Reimplement to return a dialog to fetch the project from VCS.*/ - virtual VCSDialog *fetcher(TQWidget *parent) = 0; + virtual VCSDialog *fetcher(TQWidget *tqparent) = 0; /**Reimplement to return a dialog to integrate the project into VCS.*/ - virtual VCSDialog *integrator(TQWidget *parent) = 0; + virtual VCSDialog *integrator(TQWidget *tqparent) = 0; }; #endif |