summaryrefslogtreecommitdiffstats
path: root/src/parsers
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:36:45 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:36:45 -0600
commitf761852a7e013af7373c40a429c44dd7927d8df3 (patch)
tree8693f53f4bccc260ecba139592a802b416cc533f /src/parsers
parent00be2d853dc0910207c2a9791067d937e80dcc13 (diff)
downloadtdeio-apt-f761852a7e013af7373c40a429c44dd7927d8df3.tar.gz
tdeio-apt-f761852a7e013af7373c40a429c44dd7927d8df3.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/parsers')
-rw-r--r--src/parsers/filesearch.cpp2
-rw-r--r--src/parsers/list.cpp2
-rw-r--r--src/parsers/show.cpp14
3 files changed, 9 insertions, 9 deletions
diff --git a/src/parsers/filesearch.cpp b/src/parsers/filesearch.cpp
index 281aa63..e4185f2 100644
--- a/src/parsers/filesearch.cpp
+++ b/src/parsers/filesearch.cpp
@@ -33,7 +33,7 @@ void FileSearch::operator() (AptProtocol* slave, const TQString & tag, const TQS
if (m_result_count)
*slave << buffer + html_dpkgs_line_end;
- *slave << html_dpkgs_line_begin.tqarg(value);
+ *slave << html_dpkgs_line_begin.arg(value);
++m_result_count;
buffer = "";
}
diff --git a/src/parsers/list.cpp b/src/parsers/list.cpp
index e4cea8e..1c38cb7 100644
--- a/src/parsers/list.cpp
+++ b/src/parsers/list.cpp
@@ -62,7 +62,7 @@ namespace Parsers
files.sort();
*slave <<
"<div class=\"filelist\">\n" + files.join("\n<br>") + "\n</div>\n"
- "<div class=\"footer\">" + i18n("%1 files in the package").tqarg(result_count()) + "</div>\n";
+ "<div class=\"footer\">" + i18n("%1 files in the package").arg(result_count()) + "</div>\n";
files.clear();
}
}
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);