diff options
Diffstat (limited to 'kspread/kspread_toolbox.cc')
-rw-r--r-- | kspread/kspread_toolbox.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_toolbox.cc b/kspread/kspread_toolbox.cc index 06e7a689..d2b6edcd 100644 --- a/kspread/kspread_toolbox.cc +++ b/kspread/kspread_toolbox.cc @@ -22,7 +22,7 @@ #include <twin.h> -#include <tqlayout.h> +#include <layout.h> #include <tqspinbox.h> #include <tqobjectlist.h> @@ -59,7 +59,7 @@ void ToolBox::setEnabled( bool enable ) } else { - if ( tqfocusWidget() == this ) + if ( focusWidget() == this ) focusNextPrevChild( TRUE ); TQObjectList clo = childrenListObject(); if ( !clo.isEmpty() ) @@ -97,12 +97,12 @@ void ToolBox::childEvent( TQChildEvent* ev ) { if ( ev->inserted() && ev->child()->isWidgetType() ) m_layout->addWidget( (TQWidget*)ev->child() ); - resize( tqsizeHint() ); + resize( sizeHint() ); } void ToolBox::mousePressEvent( TQMouseEvent* ev ) { - m_startPos = tqgeometry().topLeft(); + m_startPos = geometry().topLeft(); m_mousePos = ev->globalPos(); } |