diff options
Diffstat (limited to 'kivio/kiviopart/kivio_stackbar.h')
-rw-r--r-- | kivio/kiviopart/kivio_stackbar.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kivio/kiviopart/kivio_stackbar.h b/kivio/kiviopart/kivio_stackbar.h index 55f26c31..6a4d6b81 100644 --- a/kivio/kiviopart/kivio_stackbar.h +++ b/kivio/kiviopart/kivio_stackbar.h @@ -19,8 +19,8 @@ #ifndef KIVIO_STACK_BAR_H #define KIVIO_STACK_BAR_H -#include <qdockwindow.h> -#include <qptrdict.h> +#include <tqdockwindow.h> +#include <tqptrdict.h> namespace Kivio { class DragBarButton; @@ -30,43 +30,44 @@ class KivioView; using namespace Kivio; -class KivioStackBar : public QDockWindow +class KivioStackBar : public TQDockWindow { Q_OBJECT + TQ_OBJECT public: - KivioStackBar(KivioView* view, QWidget* parent=0, const char* name=0); + KivioStackBar(KivioView* view, TQWidget* tqparent=0, const char* name=0); ~KivioStackBar(); - QWidget* findPage(const QString& name); - QWidget* findPage(DragBarButton*); - void insertPage(QWidget*, const QString&); - void removePage(QWidget*); + TQWidget* findPage(const TQString& name); + TQWidget* findPage(DragBarButton*); + void insertPage(TQWidget*, const TQString&); + void removePage(TQWidget*); void deletePageAndButton(DragBarButton*); - void showPage(QWidget*); + void showPage(TQWidget*); - QWidget* visiblePage() const { return m_visiblePage; } + TQWidget* visiblePage() const { return m_visiblePage; } KivioView* view() const { return m_view; } signals: - void aboutToShow(QWidget*); + void aboutToShow(TQWidget*); void beginDragPage(DragBarButton*); void finishDragPage(DragBarButton*); - void deleteButton(DragBarButton*, QWidget*, KivioStackBar*); + void deleteButton(DragBarButton*, TQWidget*, KivioStackBar*); protected: - virtual void closeEvent(QCloseEvent*); + virtual void closeEvent(TQCloseEvent*); protected slots: void showButtonPage(); void buttonBeginDrag(); void buttonFinishDrag(); void slotDeleteButton(DragBarButton*); - void newPlace(QDockWindow::Place place); + void newPlace(TQDockWindow::Place place); private: - QPtrDict<QWidget> m_data; - QWidget* m_visiblePage; + TQPtrDict<TQWidget> m_data; + TQWidget* m_visiblePage; KivioView* m_view; }; |