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 /src/partcontroller.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 'src/partcontroller.h')
-rw-r--r-- | src/partcontroller.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/partcontroller.h b/src/partcontroller.h index 1c6a764d..dbb6a632 100644 --- a/src/partcontroller.h +++ b/src/partcontroller.h @@ -43,11 +43,12 @@ Part controler implementation. class PartController : public KDevPartController { Q_OBJECT + TQ_OBJECT public: PartController(TQWidget *toplevel); - static void createInstance(TQWidget *parent); + static void createInstance(TQWidget *tqparent); static PartController *getInstance(); ///// KDevPartController interface @@ -97,7 +98,7 @@ public: KTextEditor::Editor *openTextDocument( bool activate = true ); KParts::Factory *findPartFactory(const TQString &mimeType, const TQString &partType, - const TQString &preferredName = TQString::null ); + const TQString &preferredName = TQString() ); public slots: @@ -140,8 +141,8 @@ private slots: void slotDocumentDirty( Kate::Document * doc, bool isModified, unsigned char reason ); void slotDocumentDirtyStepTwo( void * ); - void slotNewStatus(); - void slotNewDesignerStatus(const TQString &formName, int status); + void slotNewtqStatus(); + void slotNewDesignertqStatus(const TQString &formName, int status); void textChanged(); void gotoLastEditPos(); @@ -216,7 +217,7 @@ private: struct LastEditPos { KURL url; - QPair<unsigned int,unsigned int> pos; + TQPair<unsigned int,unsigned int> pos; LastEditPos() : pos( -1, -1) {} }; |