summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_toolbox.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kspread/kspread_toolbox.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kspread/kspread_toolbox.cc')
-rw-r--r--kspread/kspread_toolbox.cc8
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();
}