summaryrefslogtreecommitdiffstats
path: root/src/aptcache.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/aptcache.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/aptcache.cpp')
-rw-r--r--src/aptcache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/aptcache.cpp b/src/aptcache.cpp
index f864f2d..c921920 100644
--- a/src/aptcache.cpp
+++ b/src/aptcache.cpp
@@ -37,7 +37,7 @@ AptCache::~AptCache() {}
static TQStringList received(TQString& buffer, char* input, int input_len)
{
- buffer += TQString::fromLatin1(input, input_len);
+ buffer += TQString::tqfromLatin1(input, input_len);
TQStringList ret = TQStringList::split('\n', buffer, true);
if (!buffer.endsWith("\n"))
{
@@ -255,19 +255,19 @@ void AptCache::receivePolicy(const TQStringList& lines)
TQString data( (*l).stripWhiteSpace() );
if (rx_pkgname.exactMatch(*l))
emit token("package", rx_pkgname.cap(1));
- else if (data.startsWith("Installed:", false))
+ else if (data.tqstartsWith("Installed:", false))
{
data = data.right(data.length() - 11);
emit token("installed", data);
m_installed = data;
}
- else if (data.startsWith("Candidate:", false))
+ else if (data.tqstartsWith("Candidate:", false))
{
data = data.right(data.length() - 11);
emit token("candidate", data);
m_candidate = data;
}
- else if (data.startsWith("Version table:", false))
+ else if (data.tqstartsWith("Version table:", false))
emit token("version_table", TQString());
else if (rx_location.search(data) > -1)
emit token("location", data);