diff options
Diffstat (limited to 'src/combobutton.cpp')
-rwxr-xr-x | src/combobutton.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/combobutton.cpp b/src/combobutton.cpp index 4723f39..9b71947 100755 --- a/src/combobutton.cpp +++ b/src/combobutton.cpp @@ -1,7 +1,7 @@ #include "combobutton.h" -#include <layout.h> +#include <tqlayout.h> #include <tqstring.h> #include <tqpixmap.h> #include <tqstyle.h> @@ -43,11 +43,11 @@ void ComboButton::balanceSize() int width; if( m_sizeMode == Max ) - width = m_box->sizeHint().width()-17; + width = m_box->tqsizeHint().width()-17; else - width = m_button->sizeHint().width(); + width = m_button->tqsizeHint().width(); - int height = ( m_box->sizeHint().height() > m_button->sizeHint().height() ) ? m_box->sizeHint().height() : m_button->sizeHint().height(); + int height = ( m_box->tqsizeHint().height() > m_button->tqsizeHint().height() ) ? m_box->tqsizeHint().height() : m_button->tqsizeHint().height(); m_box->setFixedSize( width+17, height+m_increaseHeight ); m_button->setFixedSize( width, height+m_increaseHeight ); |