diff options
Diffstat (limited to 'src/apt.cpp')
-rw-r--r-- | src/apt.cpp | 10 |
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) { |