summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoFrame.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /lib/kofficecore/KoFrame.cpp
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficecore/KoFrame.cpp')
-rw-r--r--lib/kofficecore/KoFrame.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kofficecore/KoFrame.cpp b/lib/kofficecore/KoFrame.cpp
index b6f77b8a..e8722eaa 100644
--- a/lib/kofficecore/KoFrame.cpp
+++ b/lib/kofficecore/KoFrame.cpp
@@ -251,7 +251,7 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev )
{
if ( d->m_mode == 0 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
move( TQPoint( p.x() + d->m_framePos.x() - d->m_mousePressPos.x(),
p.y() + d->m_framePos.y() - d->m_mousePressPos.y() ) );
// The other modes change the tqgeometry so they call resizeEvent.
@@ -261,7 +261,7 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev )
}
else if ( d->m_mode == 1 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width + d->m_mousePressPos.x() - p.x(), minimumWidth() ), maximumWidth() );
int h = TQMIN( TQMAX( d->m_height + d->m_mousePressPos.y() - p.y(), minimumHeight() ), maximumHeight() );
setGeometry( d->m_framePos.x() - w + d->m_width,
@@ -269,7 +269,7 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev )
}
else if ( d->m_mode == 2 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width + d->m_mousePressPos.x() - p.x(), minimumWidth() ), maximumWidth() );
int h = TQMIN( TQMAX( d->m_height - d->m_mousePressPos.y() + p.y(), minimumHeight() ), maximumHeight() );
setGeometry( d->m_framePos.x() - w + d->m_width,
@@ -277,14 +277,14 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev )
}
else if ( d->m_mode == 3 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width - d->m_mousePressPos.x() + p.x(), minimumWidth() ), maximumWidth() );
int h = TQMIN( TQMAX( d->m_height - d->m_mousePressPos.y() + p.y(), minimumHeight() ), maximumHeight() );
resize( w, h );
}
else if ( d->m_mode == 4 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width - d->m_mousePressPos.x() + p.x(), minimumWidth() ), maximumWidth() );
int h = TQMIN( TQMAX( d->m_height + d->m_mousePressPos.y() - p.y(), minimumHeight() ), maximumHeight() );
setGeometry( d->m_framePos.x(),
@@ -292,27 +292,27 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev )
}
else if ( d->m_mode == 5 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int h = TQMIN( TQMAX( d->m_height + d->m_mousePressPos.y() - p.y(), minimumHeight() ), maximumHeight() );
setGeometry( d->m_framePos.x(),
d->m_framePos.y() - h + d->m_height, d->m_width, h );
}
else if ( d->m_mode == 6 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int h = TQMIN( TQMAX( d->m_height - d->m_mousePressPos.y() + p.y(), minimumHeight() ), maximumHeight() );
resize( d->m_width, h );
}
else if ( d->m_mode == 7 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width + d->m_mousePressPos.x() - p.x(), minimumWidth() ), maximumWidth() );
setGeometry( d->m_framePos.x() - w + d->m_width,
d->m_framePos.y(), w, d->m_height );
}
else if ( d->m_mode == 8 )
{
- TQPoint p = tqparentWidget()->mapFromGlobal( ev->globalPos() );
+ TQPoint p = parentWidget()->mapFromGlobal( ev->globalPos() );
int w = TQMIN( TQMAX( d->m_width - d->m_mousePressPos.x() + p.x(), minimumWidth() ), maximumWidth() );
resize( w, d->m_height );
}