diff options
Diffstat (limited to 'src/parsers/filesearch.cpp')
-rw-r--r-- | src/parsers/filesearch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parsers/filesearch.cpp b/src/parsers/filesearch.cpp index c0a7a36..281aa63 100644 --- a/src/parsers/filesearch.cpp +++ b/src/parsers/filesearch.cpp @@ -10,16 +10,16 @@ #include "parsers.h" #include "../apt.h" -static QString +static TQString html_dpkgs_line_begin("<tr><td class=\"file\">%1</td><td>\n\t"), html_dpkgs_line_end("\n</td></tr>\n"); namespace Parsers { -void FileSearch::operator() (AptProtocol* slave, const QString & tag, const QString & value ) +void FileSearch::operator() (AptProtocol* slave, const TQString & tag, const TQString & value ) { - static QString buffer; + static TQString buffer; if (tag == "begin") { m_result_count = 0; @@ -33,7 +33,7 @@ void FileSearch::operator() (AptProtocol* slave, const QString & tag, const QStr if (m_result_count) *slave << buffer + html_dpkgs_line_end; - *slave << html_dpkgs_line_begin.arg(value); + *slave << html_dpkgs_line_begin.tqarg(value); ++m_result_count; buffer = ""; } |