diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:38:25 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:38:25 +0000 |
commit | f22f5c856d0ee7ec953825828bba094f14c9cade (patch) | |
tree | 1c89a4d4c420bce13c002b650e610bff026f6d06 /src/parsers/list.cpp | |
parent | 0bceb5251f3c826f8fc4ee021ab76ee29f1dfdd7 (diff) | |
download | tdeio-apt-f22f5c856d0ee7ec953825828bba094f14c9cade.tar.gz tdeio-apt-f22f5c856d0ee7ec953825828bba094f14c9cade.zip |
TQt4 port kio-apt
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-apt@1239302 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/parsers/list.cpp')
-rw-r--r-- | src/parsers/list.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parsers/list.cpp b/src/parsers/list.cpp index afaac7f..e4cea8e 100644 --- a/src/parsers/list.cpp +++ b/src/parsers/list.cpp @@ -13,7 +13,7 @@ #include <kio/slavebase.h> #include <klocale.h> -#include <qregexp.h> +#include <tqregexp.h> #include <kurl.h> namespace Parsers @@ -22,11 +22,11 @@ namespace Parsers : m_links(links) {} /** Parses the tokens sent by PackageManager::list */ - void List::operator() (AptProtocol* slave, const QString& tag, const QString& value ) + void List::operator() (AptProtocol* slave, const TQString& tag, const TQString& value ) { - static QRegExp rx_manpage("/man/.*\\.\\d[^/]*$"); + static TQRegExp rx_manpage("/man/.*\\.\\d[^/]*$"); - static QStringList files; + static TQStringList files; if (tag == "begin") { @@ -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").arg(result_count()) + "</div>\n"; + "<div class=\"footer\">" + i18n("%1 files in the package").tqarg(result_count()) + "</div>\n"; files.clear(); } } |