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 /kugar/kudesigner_lib/view.cpp | |
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 'kugar/kudesigner_lib/view.cpp')
-rw-r--r-- | kugar/kudesigner_lib/view.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kugar/kudesigner_lib/view.cpp b/kugar/kudesigner_lib/view.cpp index 6c5c4404..70bf22ca 100644 --- a/kugar/kudesigner_lib/view.cpp +++ b/kugar/kudesigner_lib/view.cpp @@ -149,7 +149,7 @@ void View::selectItemFromList( TQCanvasItemList &l ) if ( ( *it ) ->rtti() >= 1800 ) //include bands and the template itself { Kudesigner::Box * b = static_cast<Kudesigner::Box*>( *it ); - if ( !m_canvas->selected.tqcontains( b ) ) + if ( !m_canvas->selected.contains( b ) ) { m_canvas->unselectAll(); m_canvas->selectItem( b, false ); @@ -158,7 +158,7 @@ void View::selectItemFromList( TQCanvasItemList &l ) // selected->drawHolders(); return ; } - if ( m_canvas->selected.tqcontains( b ) ) + if ( m_canvas->selected.contains( b ) ) { if ( m_canvas->selected.count() > 1 ) { @@ -465,7 +465,7 @@ void View::contentsMouseMoveEvent( TQMouseEvent* e ) if ((*it)->rtti() > 2000) { CanvasReportItem *item = (CanvasReportItem*)(*it); - if (item->bottomRightResizableRect().tqcontains(e->pos())) + if (item->bottomRightResizableRect().contains(e->pos())) setCursor(TQCursor(TQt::SizeFDiagCursor)); } }*/ @@ -598,7 +598,7 @@ void View::contentsMouseMoveEvent( TQMouseEvent* e ) r.setBottom( top < bottom ? bottom : top ); if ( ( ( *it ) ->rtti() > 2001 ) && - ( r.tqcontains( static_cast<Kudesigner::Box*>( *it ) ->rect() ) ) ) + ( r.contains( static_cast<Kudesigner::Box*>( *it ) ->rect() ) ) ) { m_canvas->selectItem( static_cast<Kudesigner::Box*>( *it ) ); m_canvas->update(); @@ -613,7 +613,7 @@ void View::contentsMouseMoveEvent( TQMouseEvent* e ) for (TQCanvasItemList::Iterator it=l.begin(); it!=l.end(); ++it) { if ( ((*it)->rtti() > 2001) && - (selectionRect->rect().tqcontains(((CanvasKudesigner::Box*)(*it))->rect())) ) + (selectionRect->rect().contains(((CanvasKudesigner::Box*)(*it))->rect())) ) { selectItem((CanvasKudesigner::Box*)(*it)); m_canvas->update(); |