diff options
Diffstat (limited to 'kivio/kiviopart/kivio_stackbar.cpp')
-rw-r--r-- | kivio/kiviopart/kivio_stackbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/kivio_stackbar.cpp b/kivio/kiviopart/kivio_stackbar.cpp index 4b42fa09..25ea7af2 100644 --- a/kivio/kiviopart/kivio_stackbar.cpp +++ b/kivio/kiviopart/kivio_stackbar.cpp @@ -19,7 +19,7 @@ #include "kivio_stackbar.h" #include "stencilbarbutton.h" -#include <tqlayout.h> +#include <layout.h> #include <tqpushbutton.h> #include <tqapplication.h> @@ -52,8 +52,8 @@ void KivioStackBar::insertPage( TQWidget* w, const TQString& title ) w->hide(); w->setFocusPolicy(TQ_NoFocus); - setMinimumWidth( TQMAX(tqminimumSize().width(),w->tqminimumSize().width() ) ); - setMaximumWidth( TQMAX(tqmaximumSize().width(),w->tqmaximumSize().width() ) ); + setMinimumWidth( TQMAX(minimumSize().width(),w->minimumSize().width() ) ); + setMaximumWidth( TQMAX(maximumSize().width(),w->maximumSize().width() ) ); DragBarButton* b = new DragBarButton( title, this ); b->setOrientation(orientation()); |