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 | 0813b39aed2cf4c84157a22c4c9594336d93d412 (patch) | |
tree | 0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /cervisia/updateview.cpp | |
parent | 35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff) | |
download | tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/updateview.cpp')
-rw-r--r-- | cervisia/updateview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/updateview.cpp b/cervisia/updateview.cpp index a60e0cd9..50f7825a 100644 --- a/cervisia/updateview.cpp +++ b/cervisia/updateview.cpp @@ -191,9 +191,9 @@ bool UpdateView::isUnfoldingTree() const void UpdateView::replaceItem(TQListViewItem* oldItem, TQListViewItem* newItem) { - const int index(relevantSelection.tqfind(oldItem)); + const int index(relevantSelection.find(oldItem)); if (index >= 0) - relevantSelection.tqreplace(index, newItem); + relevantSelection.replace(index, newItem); } @@ -208,8 +208,8 @@ void UpdateView::unfoldSelectedFolders() // setup name of selected folder TQString selectedItem = selection.first(); - if( selectedItem.tqcontains('/') ) - selectedItem.remove(0, selectedItem.tqfindRev('/')+1); + if( selectedItem.contains('/') ) + selectedItem.remove(0, selectedItem.findRev('/')+1); // avoid flicker const bool updatesEnabled = isUpdatesEnabled(); |