diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /libkcddb/client.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcddb/client.cpp')
-rw-r--r-- | libkcddb/client.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libkcddb/client.cpp b/libkcddb/client.cpp index 1e0b982c..9a06f04d 100644 --- a/libkcddb/client.cpp +++ b/libkcddb/client.cpp @@ -49,7 +49,7 @@ namespace KCDDB }; Client::Client() - : QObject(), + : TQObject(), cdInfoLookup(0), cdInfoSubmit(0) { @@ -113,7 +113,7 @@ namespace KCDDB { d->cdInfoList.clear(); - QString cddbId = Lookup::trackOffsetListToId( trackOffsetList ); + TQString cddbId = Lookup::trackOffsetListToId( trackOffsetList ); if ( cddbId.isNull() ) { @@ -177,16 +177,16 @@ namespace KCDDB cdInfoLookup = new AsyncCDDBPLookup(); connect( static_cast<AsyncCDDBPLookup *>( cdInfoLookup ), - SIGNAL( finished( CDDB::Result ) ), - SLOT( slotFinished( CDDB::Result ) ) ); + TQT_SIGNAL( finished( CDDB::Result ) ), + TQT_SLOT( slotFinished( CDDB::Result ) ) ); } else { cdInfoLookup = new AsyncHTTPLookup(); connect( static_cast<AsyncHTTPLookup *>( cdInfoLookup ), - SIGNAL( finished( CDDB::Result ) ), - SLOT( slotFinished( CDDB::Result ) ) ); + TQT_SIGNAL( finished( CDDB::Result ) ), + TQT_SLOT( slotFinished( CDDB::Result ) ) ); } r = cdInfoLookup->lookup( d->config.hostname(), @@ -252,13 +252,13 @@ namespace KCDDB // just in case we have a cdInfoSubmit, prevent memory leakage delete cdInfoSubmit; - QString from = d->config.emailAddress(); + TQString from = d->config.emailAddress(); switch (d->config.submitTransport()) { case Submit::HTTP: { - QString hostname = d->config.httpSubmitServer(); + TQString hostname = d->config.httpSubmitServer(); uint port = d->config.httpSubmitPort(); if ( blockingMode() ) @@ -267,17 +267,17 @@ namespace KCDDB { cdInfoSubmit = new AsyncHTTPSubmit(from, hostname, port); connect( static_cast<AsyncHTTPSubmit *>( cdInfoSubmit ), - SIGNAL(finished( CDDB::Result ) ), - SLOT( slotSubmitFinished( CDDB::Result ) ) ); + TQT_SIGNAL(finished( CDDB::Result ) ), + TQT_SLOT( slotSubmitFinished( CDDB::Result ) ) ); } break; } case Submit::SMTP: { - QString hostname = d->config.smtpHostname(); + TQString hostname = d->config.smtpHostname(); uint port = d->config.smtpPort(); - QString username = d->config.smtpUsername(); + TQString username = d->config.smtpUsername(); if ( blockingMode() ) cdInfoSubmit = new SyncSMTPSubmit( hostname, port, username, from, d->config.submitAddress() ); @@ -285,8 +285,8 @@ namespace KCDDB { cdInfoSubmit = new AsyncSMTPSubmit( hostname, port, username, from, d->config.submitAddress() ); connect( static_cast<AsyncSMTPSubmit *>( cdInfoSubmit ), - SIGNAL( finished( CDDB::Result ) ), - SLOT( slotSubmitFinished( CDDB::Result ) ) ); + TQT_SIGNAL( finished( CDDB::Result ) ), + TQT_SLOT( slotSubmitFinished( CDDB::Result ) ) ); } break; } |