From 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdat/ktreeview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdat/ktreeview.cpp') diff --git a/kdat/ktreeview.cpp b/kdat/ktreeview.cpp index c43cb35..2a31a19 100644 --- a/kdat/ktreeview.cpp +++ b/kdat/ktreeview.cpp @@ -155,7 +155,7 @@ int KTreeViewItem::childIndex(KTreeViewItem* searched) const // indicates whether mouse press is in expand button inline bool KTreeViewItem::expandButtonClicked(const TQPoint& coord) const { - return expandButton.tqcontains(coord); + return expandButton.contains(coord); } bool KTreeViewItem::mousePressEvent( const TQPoint& ) @@ -1681,7 +1681,7 @@ void KTreeView::mouseDoubleClickEvent(TQMouseEvent *e) // hit test item int indent = indentation(item); - if(item->boundingRect(indent).tqcontains(cellCoord)) + if(item->boundingRect(indent).contains(cellCoord)) emit selected(itemClicked); } @@ -1749,7 +1749,7 @@ void KTreeView::mousePressEvent(TQMouseEvent *e) emit selected(itemClicked); } // hit item (to show info on the file/dir label clicked) - else if (item->boundingRect(indentation(item)).tqcontains(cellCoord)) { + else if (item->boundingRect(indentation(item)).contains(cellCoord)) { setCurrentItem(itemClicked); // highlight item if ( e->button() == Qt::RightButton ) { emit popupMenu( itemClicked, mapToGlobal( TQPoint( e->pos().x(), e->pos().y() ) ) ); -- cgit v1.2.1