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 | 10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9 (patch) | |
| tree | 9abdedb1613b67baf902467e11607d95e5e86c6c /src/urlnavigator.cpp | |
| parent | 7b65a26139363081928049b6613475488a057011 (diff) | |
| download | dolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.tar.gz dolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.zip | |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/urlnavigator.cpp')
| -rw-r--r-- | src/urlnavigator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlnavigator.cpp b/src/urlnavigator.cpp index 3f01e1b..58de6b0 100644 --- a/src/urlnavigator.cpp +++ b/src/urlnavigator.cpp @@ -179,7 +179,7 @@ void URLNavigator::setURL(const KURL& url) if (urlStr.at(0) == '~') { - // tqreplace '~' by the home directory + // replace '~' by the home directory urlStr.remove(0, 1); urlStr.insert(0, TQDir::home().path()); } @@ -451,8 +451,8 @@ void URLNavigator::updateContent() // path. E. g. "fish://root@192.168.0.2/var/lib" writes // "fish://root@192.168.0.2" to 'bookmarkPath', which leads to the // navigation indication 'Custom Path > var > lib". - int idx = path.tqfind(TQString("//")); - idx = path.tqfind("/", (idx < 0) ? 0 : idx + 2); + int idx = path.find(TQString("//")); + idx = path.find("/", (idx < 0) ? 0 : idx + 2); bookmarkPath = (idx < 0) ? path : path.left(idx); } else { |
