diff options
Diffstat (limited to 'src/dpkg.cpp')
-rw-r--r-- | src/dpkg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dpkg.cpp b/src/dpkg.cpp index 89ff615..1993276 100644 --- a/src/dpkg.cpp +++ b/src/dpkg.cpp @@ -86,7 +86,7 @@ void Dpkg::receiveSearch( const TQStringList & line ) if ((*i).isEmpty()) continue; if (rx_notfound.exactMatch(*i)) { - emit token("error", i18n("%1 not found").tqarg(rx_notfound.cap(1))); + emit token("error", i18n("%1 not found").arg(rx_notfound.cap(1))); continue; } @@ -123,7 +123,7 @@ void Dpkg::receiveList( const TQStringList & line ) for (TQStringList::ConstIterator i = line.begin(); i != line.end(); ++i) { if (rx_notfound.search(*i) > -1) - emit token("error", i18n("Package %1 is not installed").tqarg(rx_notfound.cap(1))); + emit token("error", i18n("Package %1 is not installed").arg(rx_notfound.cap(1))); else if ((*i).startsWith("/")) emit token("file", *i); } @@ -158,16 +158,16 @@ static const TQString html_form_combo("<select name=\"%1\" id=\"%2\">"); static TQString make_form_text(const TQString& type, const TQString& label) { return - html_form_line_begin.tqarg(type).tqarg(label) - + TQString("<input type=\"text\" name=\"%1\" id=\"%2\">").tqarg(type).tqarg(type) + html_form_line_begin.arg(type).arg(label) + + TQString("<input type=\"text\" name=\"%1\" id=\"%2\">").arg(type).arg(type) + html_form_line_end; } static TQString begin_form_combo(const TQString& type, const TQString& label) { return - html_form_line_begin.tqarg(type).tqarg(label) - + TQString("\t<select name=\"%1\" id=\"%2\">\n").tqarg(type).tqarg(type); + html_form_line_begin.arg(type).arg(label) + + TQString("\t<select name=\"%1\" id=\"%2\">\n").arg(type).arg(type); } static TQString make_form_option(const TQString& name, const TQString& text) { return "\t\t<option value=" + name + ">" + text + "</option>\n"; } @@ -201,7 +201,7 @@ TQString Dpkg::getOnlineForm() << make_form_option("warty", "warty") << end_form_combo() - << html_form_end.tqarg(i18n("Go online!")); + << html_form_end.arg(i18n("Go online!")); return buffer; } |