summaryrefslogtreecommitdiffstats
path: root/libk3b/cddb/k3bcddbpquery.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:08:12 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:08:12 -0500
commit2f36c1bd457c375a07b37e81aaef0c7d75278e0e (patch)
treeaab4c1e258ef1af8e37d0bff3826cd7b004d5b4b /libk3b/cddb/k3bcddbpquery.cpp
parent6aa759b112c09eb02ccd54b616339c1362e3ad99 (diff)
downloadk3b-2f36c1bd457c375a07b37e81aaef0c7d75278e0e.tar.gz
k3b-2f36c1bd457c375a07b37e81aaef0c7d75278e0e.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'libk3b/cddb/k3bcddbpquery.cpp')
-rw-r--r--libk3b/cddb/k3bcddbpquery.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libk3b/cddb/k3bcddbpquery.cpp b/libk3b/cddb/k3bcddbpquery.cpp
index 0cde7f0..3961109 100644
--- a/libk3b/cddb/k3bcddbpquery.cpp
+++ b/libk3b/cddb/k3bcddbpquery.cpp
@@ -95,7 +95,7 @@ void K3bCddbpQuery::slotConnectionClosed()
void K3bCddbpQuery::cddbpQuit()
{
- m_state = TQUIT;
+ m_state = QUIT;
m_stream << "quit" << endl << flush;
}
@@ -146,13 +146,13 @@ void K3bCddbpQuery::slotReadyRead()
}
// just ignore the reply since it's not important for the functionality
- m_state = TQUERY;
+ m_state = QUERY;
m_stream << queryString() << endl << flush;
break;
}
- case TQUERY:
+ case QUERY:
if( getCode( line ) == 200 ) {
// parse exact match and send a read command
K3bCddbResultHeader header;
@@ -169,7 +169,7 @@ void K3bCddbpQuery::slotReadyRead()
emit infoMessage( i18n("Found multiple exact matches") );
- m_state = TQUERY_DATA;
+ m_state = QUERY_DATA;
}
else if( getCode( line ) == 211 ) {
@@ -177,7 +177,7 @@ void K3bCddbpQuery::slotReadyRead()
emit infoMessage( i18n("Found inexact matches") );
- m_state = TQUERY_DATA;
+ m_state = QUERY_DATA;
}
else if( getCode( line ) == 202 ) {
@@ -190,12 +190,12 @@ void K3bCddbpQuery::slotReadyRead()
else {
kdDebug() << "(K3bCddbpQuery) Error while querying: " << line << endl;
emit infoMessage( i18n("Error while querying") );
- setError( TQUERY_ERROR );
+ setError( QUERY_ERROR );
cddbpQuit();
}
break;
- case TQUERY_DATA:
+ case QUERY_DATA:
if( line.startsWith( "." ) ) {
// finished query
// go on reading
@@ -246,7 +246,7 @@ void K3bCddbpQuery::slotReadyRead()
}
break;
- case TQUIT:
+ case QUIT:
// no parsing needed
break;
}