summaryrefslogtreecommitdiffstats
path: root/libk3b/cddb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:48 -0600
commit5183781c5dddd8447b308c24b2d7f9257bd0bcad (patch)
treef1fa64e82ce281c97cf602ba207460a5d38dcfdd /libk3b/cddb
parent09c863183250d07f82c0919e0a40fc7834c32192 (diff)
downloadk3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.tar.gz
k3b-5183781c5dddd8447b308c24b2d7f9257bd0bcad.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'libk3b/cddb')
-rw-r--r--libk3b/cddb/k3bcddbhttpquery.cpp4
-rw-r--r--libk3b/cddb/k3bcddblocalquery.cpp2
-rw-r--r--libk3b/cddb/k3bcddblocalsubmit.cpp2
-rw-r--r--libk3b/cddb/k3bcddbpquery.cpp16
-rw-r--r--libk3b/cddb/k3bcddbquery.cpp6
5 files changed, 15 insertions, 15 deletions
diff --git a/libk3b/cddb/k3bcddbhttpquery.cpp b/libk3b/cddb/k3bcddbhttpquery.cpp
index f3b9152..b554910 100644
--- a/libk3b/cddb/k3bcddbhttpquery.cpp
+++ b/libk3b/cddb/k3bcddbhttpquery.cpp
@@ -58,7 +58,7 @@ void K3bCddbHttpQuery::doMatchQuery()
m_state = READ;
m_parsingBuffer.truncate(0);
- performCommand( TQString( "cddb read %1 %2").tqarg( header().category ).tqarg( header().discid ) );
+ performCommand( TQString( "cddb read %1 %2").arg( header().category ).arg( header().discid ) );
}
@@ -82,7 +82,7 @@ void K3bCddbHttpQuery::performCommand( const TQString& cmd )
if( !job ) {
setError( CONNECTION_ERROR );
- emit infoMessage( i18n("Could not connect to host %1").tqarg(m_server) );
+ emit infoMessage( i18n("Could not connect to host %1").arg(m_server) );
emitQueryFinished();
return;
}
diff --git a/libk3b/cddb/k3bcddblocalquery.cpp b/libk3b/cddb/k3bcddblocalquery.cpp
index 1c247dd..21ad685 100644
--- a/libk3b/cddb/k3bcddblocalquery.cpp
+++ b/libk3b/cddb/k3bcddblocalquery.cpp
@@ -38,7 +38,7 @@ K3bCddbLocalQuery::~K3bCddbLocalQuery()
void K3bCddbLocalQuery::doQuery()
{
- emit infoMessage( i18n("Searching entry in %1").tqarg( m_cddbDir ) );
+ emit infoMessage( i18n("Searching entry in %1").arg( m_cddbDir ) );
kapp->processEvents(); //BAD!
TQString path = preparePath( m_cddbDir );
diff --git a/libk3b/cddb/k3bcddblocalsubmit.cpp b/libk3b/cddb/k3bcddblocalsubmit.cpp
index 3c401b1..e364e3c 100644
--- a/libk3b/cddb/k3bcddblocalsubmit.cpp
+++ b/libk3b/cddb/k3bcddblocalsubmit.cpp
@@ -94,7 +94,7 @@ void K3bCddbLocalSubmit::doSubmit()
else {
kdDebug() << "(K3bCddbLocalSubmit) could not find directory: " << path << endl;
setError( IO_ERROR );
- emit infoMessage( i18n("Could not find directory: %1").tqarg(path) );
+ emit infoMessage( i18n("Could not find directory: %1").arg(path) );
emit submitFinished( this );
}
}
diff --git a/libk3b/cddb/k3bcddbpquery.cpp b/libk3b/cddb/k3bcddbpquery.cpp
index bcd75be..0cde7f0 100644
--- a/libk3b/cddb/k3bcddbpquery.cpp
+++ b/libk3b/cddb/k3bcddbpquery.cpp
@@ -54,7 +54,7 @@ void K3bCddbpQuery::doQuery()
// connect to the server
m_socket->connectToHost( m_server, m_port );
- emit infoMessage( i18n("Searching %1 on port %2").tqarg(m_server).tqarg(m_port) );
+ emit infoMessage( i18n("Searching %1 on port %2").arg(m_server).arg(m_port) );
}
@@ -63,7 +63,7 @@ void K3bCddbpQuery::doMatchQuery()
// we should still be connected
// TODO: check this
- TQString read = TQString( "cddb read %1 %2").tqarg( header().category ).tqarg( header().discid );
+ TQString read = TQString( "cddb read %1 %2").arg( header().category ).arg( header().discid );
m_state = READ;
m_parsingBuffer = "";
@@ -258,16 +258,16 @@ void K3bCddbpQuery::slotError( int e )
{
switch(e) {
case TQSocket::ErrConnectionRefused:
- kdDebug() << i18n("Connection to %1 refused").tqarg( m_server ) << endl;
- emit infoMessage( i18n("Connection to %1 refused").tqarg( m_server ) );
+ kdDebug() << i18n("Connection to %1 refused").arg( m_server ) << endl;
+ emit infoMessage( i18n("Connection to %1 refused").arg( m_server ) );
break;
case TQSocket::ErrHostNotFound:
- kdDebug() << i18n("Could not find host %1").tqarg( m_server ) << endl;
- emit infoMessage( i18n("Could not find host %1").tqarg( m_server ) );
+ kdDebug() << i18n("Could not find host %1").arg( m_server ) << endl;
+ emit infoMessage( i18n("Could not find host %1").arg( m_server ) );
break;
case TQSocket::ErrSocketRead:
- kdDebug() << i18n("Error while reading from %1").tqarg( m_server ) << endl;
- emit infoMessage( i18n("Error while reading from %1").tqarg( m_server ) );
+ kdDebug() << i18n("Error while reading from %1").arg( m_server ) << endl;
+ emit infoMessage( i18n("Error while reading from %1").arg( m_server ) );
break;
}
diff --git a/libk3b/cddb/k3bcddbquery.cpp b/libk3b/cddb/k3bcddbquery.cpp
index e4ccc75..ab6cb7f 100644
--- a/libk3b/cddb/k3bcddbquery.cpp
+++ b/libk3b/cddb/k3bcddbquery.cpp
@@ -226,7 +226,7 @@ TQString K3bCddbQuery::handshakeString() const
if( host.isEmpty() )
host = "kde-host";
- return TQString("%1 %2 K3b %3").tqarg(user).tqarg(host).tqarg(kapp->aboutData()->version());
+ return TQString("%1 %2 K3b %3").arg(user).arg(host).arg(kapp->aboutData()->version());
}
@@ -238,10 +238,10 @@ TQString K3bCddbQuery::queryString() const
+ TQString::number( (unsigned int)m_toc.count() );
for( K3bDevice::Toc::const_iterator it = m_toc.begin(); it != m_toc.end(); ++it ) {
- query.append( TQString( " %1" ).tqarg( (*it).firstSector().lba() ) );
+ query.append( TQString( " %1" ).arg( (*it).firstSector().lba() ) );
}
- query.append( TQString( " %1" ).tqarg( m_toc.length().lba() / 75 ) );
+ query.append( TQString( " %1" ).arg( m_toc.length().lba() / 75 ) );
return query;
}