summaryrefslogtreecommitdiffstats
path: root/src/aptcache.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit294efafa8952ef8c96127f59c5f6afe4682322ad (patch)
treeb7b5e29ee448dbf045b8fdf96ea4d7bbd5647f9c /src/aptcache.cpp
parentf22f5c856d0ee7ec953825828bba094f14c9cade (diff)
downloadtdeio-apt-294efafa8952ef8c96127f59c5f6afe4682322ad.tar.gz
tdeio-apt-294efafa8952ef8c96127f59c5f6afe4682322ad.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-apt@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/aptcache.cpp')
-rw-r--r--src/aptcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aptcache.cpp b/src/aptcache.cpp
index ec5342f..c921920 100644
--- a/src/aptcache.cpp
+++ b/src/aptcache.cpp
@@ -168,7 +168,7 @@ void AptCache::receiveShow(const TQStringList& lines)
parse_pkgfield(data);
else
{
- int new_indent = data.tqfind( TQRegExp("[^\\s]") );
+ int new_indent = data.find( TQRegExp("[^\\s]") );
// new_indent > 0 means that we are in a multi-line
// field. Those lines always begin with " ", so we want
@@ -213,7 +213,7 @@ void AptCache::parse_pkgfield(const TQString& data)
if (j != bar.begin()) emit token("data", " | ");
TQString pkg, remaining;
- int paren = (*j).tqfind('(');
+ int paren = (*j).find('(');
if (paren != -1)
{
pkg = (*j).left(paren - 1);