diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /src/multibuffer.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/multibuffer.h')
-rw-r--r-- | src/multibuffer.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/multibuffer.h b/src/multibuffer.h index 3d04f256..a481574f 100644 --- a/src/multibuffer.h +++ b/src/multibuffer.h @@ -21,9 +21,9 @@ #ifndef MULTIBUFFER_H #define MULTIBUFFER_H -#include <qpair.h> -#include <qsplitter.h> -#include <qguardedptr.h> +#include <tqpair.h> +#include <tqsplitter.h> +#include <tqguardedptr.h> namespace KParts { @@ -34,14 +34,14 @@ class ReadOnlyPart; class KURL; -typedef QMap< KURL, KParts::Part* > BufferMap; -typedef QMap< KParts::Part*, QPair<int, int> > ActivationMap; +typedef TQMap< KURL, KParts::Part* > BufferMap; +typedef TQMap< KParts::Part*, QPair<int, int> > ActivationMap; class MultiBuffer : public QSplitter { Q_OBJECT public: - MultiBuffer( QWidget * parent = 0 ); + MultiBuffer( TQWidget * parent = 0 ); virtual ~MultiBuffer(); KParts::Part *activeBuffer() const; @@ -51,10 +51,10 @@ public: bool isActivated() const; void setDelayedActivation( bool delayed ); - KParts::Part* createPart( const QString &mimeType, - const QString &partType, - const QString &className, - const QString &preferredName = QString::null ); + KParts::Part* createPart( const TQString &mimeType, + const TQString &partType, + const TQString &className, + const TQString &preferredName = TQString::null ); KParts::Part* openURL( const KURL &url ); bool closeURL( const KURL &url ); @@ -70,18 +70,18 @@ public slots: void activePartChanged( const KURL &url ); protected: - virtual void focusInEvent( QFocusEvent *ev ); + virtual void focusInEvent( TQFocusEvent *ev ); private: KParts::Part* createPart( const KURL &url ); private: BufferMap m_buffers; - QGuardedPtr<KParts::Factory> m_editorFactory; + TQGuardedPtr<KParts::Factory> m_editorFactory; ActivationMap m_delayedActivation; bool m_delayActivate; bool m_activated; - QGuardedPtr<KParts::Part> m_activeBuffer; + TQGuardedPtr<KParts::Part> m_activeBuffer; }; #endif |