summaryrefslogtreecommitdiffstats
path: root/src/parsers/show.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:40 -0600
commit9a210ba3a60a3348ede4a57602fd13e240da66aa (patch)
tree2896cd863121311a3e6dbb227cb3d6c3380fbf5c /src/parsers/show.cpp
parent0df776a58f9eace4d0a71077b9d6609d2560084c (diff)
downloadtdeio-apt-9a210ba3a60a3348ede4a57602fd13e240da66aa.tar.gz
tdeio-apt-9a210ba3a60a3348ede4a57602fd13e240da66aa.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/parsers/show.cpp')
-rw-r--r--src/parsers/show.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/parsers/show.cpp b/src/parsers/show.cpp
index 84ace04..5ffbc82 100644
--- a/src/parsers/show.cpp
+++ b/src/parsers/show.cpp
@@ -101,16 +101,16 @@ void Show::operator() (AptProtocol* slave, const TQString& tag, const TQString&
{
close_item(indent, buffer);
buffer +=
- html_attribute_begin.tqarg(value)
+ html_attribute_begin.arg(value)
+ "&nbsp;";
close_item(indent, buffer);
- buffer += html_attribute_begin.tqarg("&nbsp;");
+ buffer += html_attribute_begin.arg("&nbsp;");
}
else if (value != "Version" && value != "Package")
{
close_item(indent, buffer);
- buffer += html_attribute_begin.tqarg(value);
+ buffer += html_attribute_begin.arg(value);
}
if (value == "Description")
@@ -141,14 +141,14 @@ void Show::operator() (AptProtocol* slave, const TQString& tag, const TQString&
if (value == m_installed)
{
action.setQuery("remove");
- version = TQString("<div class=\"version-header-installed\" id=\"%1\">").tqarg(item_id)
- + i18n("Installed version %1").tqarg(value);
+ version = TQString("<div class=\"version-header-installed\" id=\"%1\">").arg(item_id)
+ + i18n("Installed version %1").arg(value);
}
else
{
action.setQuery("install");
- version = TQString("<div class=\"version-header\" id=\"%1\">").tqarg(item_id)
- + i18n("Version %1").tqarg(value);
+ version = TQString("<div class=\"version-header\" id=\"%1\">").arg(item_id)
+ + i18n("Version %1").arg(value);
}
action.addQueryItem("package", m_package);