diff options
Diffstat (limited to 'lib/kopalette/kotabpalette.h')
-rw-r--r-- | lib/kopalette/kotabpalette.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/kopalette/kotabpalette.h b/lib/kopalette/kotabpalette.h index 85ff086a..18d46806 100644 --- a/lib/kopalette/kotabpalette.h +++ b/lib/kopalette/kotabpalette.h @@ -18,13 +18,13 @@ #ifndef _KO_TAB_PALETTE_ #define _KO_TAB_PALETTE_ -#include <qdockwindow.h> +#include <tqdockwindow.h> #include <ktabwidget.h> #include "kopalette.h" class KoView; -class QWidget; +class TQWidget; @@ -37,28 +37,29 @@ class QWidget; class KoTabPalette : public KoPalette { Q_OBJECT + TQ_OBJECT public: - KoTabPalette(QWidget * parent, const char * name); + KoTabPalette(TQWidget * tqparent, const char * name); virtual ~KoTabPalette(); public: virtual void resetFont(); - virtual void plug(QWidget * widget, const QString & name, int position = -1); - virtual void unplug(const QWidget * widget); - void showPage(QWidget *w); + virtual void plug(TQWidget * widget, const TQString & name, int position = -1); + virtual void unplug(const TQWidget * widget); + void showPage(TQWidget *w); void makeVisible(bool v); - virtual void hidePage(QWidget * w); - int indexOf(QWidget *w); - bool isHidden(QWidget *w); - virtual void togglePageHidden(QWidget *w); + virtual void hidePage(TQWidget * w); + int indexOf(TQWidget *w); + bool isHidden(TQWidget *w); + virtual void togglePageHidden(TQWidget *w); private: KTabWidget * m_page; - QMap<QWidget*, int> m_hiddenPages; + TQMap<TQWidget*, int> m_hiddenPages; }; #endif //_KO_TAB_PALETTE_ |