summaryrefslogtreecommitdiffstats
path: root/src/dpkg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:11 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:11 -0600
commit93a6198212819d0cc95ce1bb0d80508523ab32c6 (patch)
treeae892ef46252c6f746f7ed5aeafeb61c50223756 /src/dpkg.cpp
parent9a210ba3a60a3348ede4a57602fd13e240da66aa (diff)
downloadtdeio-apt-93a6198212819d0cc95ce1bb0d80508523ab32c6.tar.gz
tdeio-apt-93a6198212819d0cc95ce1bb0d80508523ab32c6.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 9a210ba3a60a3348ede4a57602fd13e240da66aa.
Diffstat (limited to 'src/dpkg.cpp')
-rw-r--r--src/dpkg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dpkg.cpp b/src/dpkg.cpp
index 1993276..89ff615 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").arg(rx_notfound.cap(1)));
+ emit token("error", i18n("%1 not found").tqarg(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").arg(rx_notfound.cap(1)));
+ emit token("error", i18n("Package %1 is not installed").tqarg(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.arg(type).arg(label)
- + TQString("<input type=\"text\" name=\"%1\" id=\"%2\">").arg(type).arg(type)
+ html_form_line_begin.tqarg(type).tqarg(label)
+ + TQString("<input type=\"text\" name=\"%1\" id=\"%2\">").tqarg(type).tqarg(type)
+ html_form_line_end;
}
static TQString begin_form_combo(const TQString& type, const TQString& label)
{
return
- html_form_line_begin.arg(type).arg(label)
- + TQString("\t<select name=\"%1\" id=\"%2\">\n").arg(type).arg(type);
+ html_form_line_begin.tqarg(type).tqarg(label)
+ + TQString("\t<select name=\"%1\" id=\"%2\">\n").tqarg(type).tqarg(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.arg(i18n("Go online!"));
+ << html_form_end.tqarg(i18n("Go online!"));
return buffer;
}