From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: 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 --- src/multibuffer.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/multibuffer.h') 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 > ActivationMap; +typedef TQMap< KParts::Part*, TQPair > 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 -- cgit v1.2.3