diff options
Diffstat (limited to 'lib/kopalette/kotoolboxpalette.h')
-rw-r--r-- | lib/kopalette/kotoolboxpalette.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/lib/kopalette/kotoolboxpalette.h b/lib/kopalette/kotoolboxpalette.h index 5b5fa991..b4c8290f 100644 --- a/lib/kopalette/kotoolboxpalette.h +++ b/lib/kopalette/kotoolboxpalette.h @@ -18,8 +18,8 @@ #ifndef _KO_TOOLBOX_PALETTE_ #define _KO_TOOLBOX_PALETTE_ -#include <qdockwindow.h> -#include <qtoolbox.h> +#include <tqdockwindow.h> +#include <tqtoolbox.h> #include <kopalettemanager.h> @@ -30,27 +30,28 @@ class KoToolBoxPalette : public KoPalette { Q_OBJECT + TQ_OBJECT public: - KoToolBoxPalette(QWidget * parent, const char * name); + KoToolBoxPalette(TQWidget * tqparent, const char * name); ~KoToolBoxPalette(); public: void resetFont(); - virtual void plug(QWidget * widget, const QString & name, int position = INT_MAX); - virtual void unplug(const QWidget * widget); - void showPage(QWidget *w); + virtual void plug(TQWidget * widget, const TQString & name, int position = INT_MAX); + 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); - void togglePageHidden(QWidget *w); + virtual void hidePage(TQWidget * w); + int indexOf(TQWidget *w); + bool isHidden(TQWidget *w); + void togglePageHidden(TQWidget *w); private: - QToolBox * m_page; + TQToolBox * m_page; - QMap<QWidget*, int> m_hiddenPages; + TQMap<TQWidget*, int> m_hiddenPages; }; #endif //_KO_TOOLBOX_PALETTE_ |