From 10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9 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/applications/dolphin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/urlnavigator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/urlnavigator.cpp') 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 { -- cgit v1.2.3