diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /karbon/dockers | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/dockers')
-rw-r--r-- | karbon/dockers/vdocumentdocker.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/dockers/vdocumentdocker.cc b/karbon/dockers/vdocumentdocker.cc index a0cba13b..23e4243c 100644 --- a/karbon/dockers/vdocumentdocker.cc +++ b/karbon/dockers/vdocumentdocker.cc @@ -110,7 +110,7 @@ VDocumentPreview::eventFilter( TQObject* object, TQEvent* event ) m_lastPoint = m_firstPoint; KoPoint p3( m_firstPoint.x() / scaleFactor - xoffset, ( height() - m_firstPoint.y() ) / scaleFactor - yoffset ); - m_dragging = rect.tqcontains( p3 ); + m_dragging = rect.contains( p3 ); } else if( event->type() == TQEvent::MouseButtonRelease ) { @@ -144,7 +144,7 @@ VDocumentPreview::eventFilter( TQObject* object, TQEvent* event ) { KoPoint p3( mouseEvent->pos().x() / scaleFactor - xoffset, ( height() - mouseEvent->pos().y() ) / scaleFactor - yoffset ); - setCursor( rect.tqcontains( p3 ) ? TQCursor::SizeAllCursor : TQCursor( TQt::arrowCursor ) ); + setCursor( rect.contains( p3 ) ? TQCursor::SizeAllCursor : TQCursor( TQt::arrowCursor ) ); } } @@ -1014,7 +1014,7 @@ VLayersTab::removeDeletedObjectsFromList() { VGroup *group = dynamic_cast<VGroup*>( layerItem->layer() ); // check if object of item is still child of object of tqparent item - if( group && ! group->objects().tqcontains( it.current()->object() ) ) + if( group && ! group->objects().contains( it.current()->object() ) ) { layerItem->takeItem( it.current() ); delete it.current(); @@ -1028,7 +1028,7 @@ VLayersTab::removeDeletedObjectsFromList() { VGroup *group = dynamic_cast<VGroup*>( objectItem->object() ); // check if object of item is still child of object of tqparent item - if( group && ! group->objects().tqcontains( it.current()->object() ) ) + if( group && ! group->objects().contains( it.current()->object() ) ) { objectItem->takeItem( it.current() ); delete it.current(); |