diff options
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 |