summaryrefslogtreecommitdiffstats
path: root/src/apt.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/apt.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/apt.cpp')
-rw-r--r--src/apt.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/apt.cpp b/src/apt.cpp
index 04d126a..1ff1cc6 100644
--- a/src/apt.cpp
+++ b/src/apt.cpp
@@ -306,7 +306,7 @@ bool AptProtocol::check_validpackage(const TQString& query)
static TQString read_option(TQMap<TQString, TQString>& map, const TQString& name, const TQString& def)
{
- if (!map.tqcontains(name)) return def;
+ if (!map.contains(name)) return def;
TQString ret = map[name];
map.remove(name);
return ret;
@@ -360,7 +360,7 @@ void AptProtocol::get ( const KURL& url )
command = cmd_it;
method = methods[cmd_idx];
}
- if (options.tqcontains(cmd_it))
+ if (options.contains(cmd_it))
{
if (options[cmd_it].isEmpty() && !options[cmd_it].isNull())
@@ -533,7 +533,7 @@ void AptProtocol::show(const TQString& package, const QueryOptions& options)
{
if (!check_validpackage(package)) return;
- if (options.tqcontains("show_filelist"))
+ if (options.contains("show_filelist"))
{
KGlobal::config() -> writeEntry("show_filelist", options["show_filelist"] != "0");
KGlobal::config() -> sync();
@@ -805,7 +805,7 @@ void AptProtocol::adept_batch(const TQString& query, const QueryOptions& options
return;
}
- if (!options.tqcontains("package"))
+ if (!options.contains("package"))
{
error(ERR_SLAVE_DEFINED, i18n("No package specified"));
return;
@@ -865,7 +865,7 @@ void AptProtocol::adept_batch(const TQString& query, const QueryOptions& options
}
}
- if (options.tqcontains("weblinkinstall"))
+ if (options.contains("weblinkinstall"))
{
if (puninst.count() == 0)
{