From f761852a7e013af7373c40a429c44dd7927d8df3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:36:45 -0600 Subject: Remove additional unneeded tq method conversions --- src/dpkg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dpkg.cpp') 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("").tqarg(type).tqarg(type) + html_form_line_begin.arg(type).arg(label) + + TQString("").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\n").arg(type).arg(type); } static TQString make_form_option(const TQString& name, const TQString& text) { return "\t\t\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; } -- cgit v1.2.1