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/external/designer.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/external/designer.h')
-rw-r--r-- | lib/interfaces/external/designer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h index c254ab07..72d7508a 100644 --- a/lib/interfaces/external/designer.h +++ b/lib/interfaces/external/designer.h @@ -26,14 +26,14 @@ namespace KInterfaceDesigner{ /**The type of a GUI Designer.*/ enum DesignerType { - QtDesigner /**<Qt Designer.*/, + TQtDesigner /**<TQt Designer.*/, Glade /**<Glade (version >= 3).*/ }; /**Function type.*/ enum FunctionType { ftFunction /**<Simple function or a callback.*/, - ftQtSlot /**<Qt slot.*/ + ftTQtSlot /**<TQt slot.*/ }; /**Function.*/ @@ -65,8 +65,9 @@ mimetype then it becomes automatically integrated into KDevelop IDE. */ class Designer: public KParts::ReadWritePart{ Q_OBJECT + TQ_OBJECT public: - Designer(TQObject *parent, const char *name); + Designer(TQObject *tqparent, const char *name); /**Reimplement this to be able to open projects.*/ virtual void openProject(const TQString &projectFile) = 0; @@ -90,7 +91,7 @@ signals: /**Emitted when a form state is changed in the designer. @param formName An absolute name of the form file. @param status 0: form is clean, 1: form is modified.*/ - void newStatus(const TQString &formName, int status); + void newtqStatus(const TQString &formName, int status); }; } |