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/multibuffer.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/multibuffer.h')
-rw-r--r-- | src/multibuffer.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/multibuffer.h b/src/multibuffer.h index a481574f..f6f40ea6 100644 --- a/src/multibuffer.h +++ b/src/multibuffer.h @@ -35,13 +35,14 @@ class ReadOnlyPart; class KURL; typedef TQMap< KURL, KParts::Part* > BufferMap; -typedef TQMap< KParts::Part*, QPair<int, int> > ActivationMap; +typedef TQMap< KParts::Part*, TQPair<int, int> > ActivationMap; -class MultiBuffer : public QSplitter +class MultiBuffer : public TQSplitter { Q_OBJECT + TQ_OBJECT public: - MultiBuffer( TQWidget * parent = 0 ); + MultiBuffer( TQWidget * tqparent = 0 ); virtual ~MultiBuffer(); KParts::Part *activeBuffer() const; @@ -54,7 +55,7 @@ public: KParts::Part* createPart( const TQString &mimeType, const TQString &partType, const TQString &className, - const TQString &preferredName = TQString::null ); + const TQString &preferredName = TQString() ); KParts::Part* openURL( const KURL &url ); bool closeURL( const KURL &url ); @@ -86,4 +87,4 @@ private: #endif -// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on +// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on |