summaryrefslogtreecommitdiffstats
path: root/libkcddb/test
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /libkcddb/test
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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/test')
-rw-r--r--libkcddb/test/asynccddblookuptest.cpp6
-rw-r--r--libkcddb/test/asynccddblookuptest.h2
-rw-r--r--libkcddb/test/asynchttplookuptest.cpp6
-rw-r--r--libkcddb/test/asynchttplookuptest.h2
-rw-r--r--libkcddb/test/asynchttpsubmittest.cpp10
-rw-r--r--libkcddb/test/asynchttpsubmittest.h2
-rw-r--r--libkcddb/test/asyncsmtpsubmittest.cpp10
-rw-r--r--libkcddb/test/asyncsmtpsubmittest.h2
-rw-r--r--libkcddb/test/sitestest.cpp4
-rw-r--r--libkcddb/test/synchttpsubmittest.cpp4
-rw-r--r--libkcddb/test/syncsmtpsubmittest.cpp4
11 files changed, 26 insertions, 26 deletions
diff --git a/libkcddb/test/asynccddblookuptest.cpp b/libkcddb/test/asynccddblookuptest.cpp
index afbd326a..ff8c34bb 100644
--- a/libkcddb/test/asynccddblookuptest.cpp
+++ b/libkcddb/test/asynccddblookuptest.cpp
@@ -8,7 +8,7 @@
#include "libkcddb/lookup.h"
AsyncCDDBLookupTest::AsyncCDDBLookupTest()
- : QObject()
+ : TQObject()
{
using namespace KCDDB;
@@ -22,8 +22,8 @@ AsyncCDDBLookupTest::AsyncCDDBLookupTest()
connect
(
client_,
- SIGNAL(finished(CDDB::Result)),
- SLOT(slotFinished(CDDB::Result))
+ TQT_SIGNAL(finished(CDDB::Result)),
+ TQT_SLOT(slotFinished(CDDB::Result))
);
TrackOffsetList list;
diff --git a/libkcddb/test/asynccddblookuptest.h b/libkcddb/test/asynccddblookuptest.h
index 5e0a3efb..db4436e4 100644
--- a/libkcddb/test/asynccddblookuptest.h
+++ b/libkcddb/test/asynccddblookuptest.h
@@ -1,7 +1,7 @@
#ifndef TEST_H
#define TEST_H
-#include <qobject.h>
+#include <tqobject.h>
#include <libkcddb/client.h>
using namespace KCDDB;
diff --git a/libkcddb/test/asynchttplookuptest.cpp b/libkcddb/test/asynchttplookuptest.cpp
index 610d9fab..174525bb 100644
--- a/libkcddb/test/asynchttplookuptest.cpp
+++ b/libkcddb/test/asynchttplookuptest.cpp
@@ -7,7 +7,7 @@
#include "libkcddb/lookup.h"
AsyncHTTPLookupTest::AsyncHTTPLookupTest()
- : QObject()
+ : TQObject()
{
using namespace KCDDB;
@@ -21,8 +21,8 @@ AsyncHTTPLookupTest::AsyncHTTPLookupTest()
connect
(
client_,
- SIGNAL(finished(CDDB::Result)),
- SLOT(slotFinished(CDDB::Result))
+ TQT_SIGNAL(finished(CDDB::Result)),
+ TQT_SLOT(slotFinished(CDDB::Result))
);
TrackOffsetList list;
diff --git a/libkcddb/test/asynchttplookuptest.h b/libkcddb/test/asynchttplookuptest.h
index c8e3e86c..7649f204 100644
--- a/libkcddb/test/asynchttplookuptest.h
+++ b/libkcddb/test/asynchttplookuptest.h
@@ -1,7 +1,7 @@
#ifndef TEST_H
#define TEST_H
-#include <qobject.h>
+#include <tqobject.h>
#include <libkcddb/client.h>
using namespace KCDDB;
diff --git a/libkcddb/test/asynchttpsubmittest.cpp b/libkcddb/test/asynchttpsubmittest.cpp
index 9981f8a7..d0923b27 100644
--- a/libkcddb/test/asynchttpsubmittest.cpp
+++ b/libkcddb/test/asynchttpsubmittest.cpp
@@ -6,7 +6,7 @@
#include "libkcddb/submit.h"
AsyncHTTPSubmitTest::AsyncHTTPSubmitTest()
- : QObject()
+ : TQObject()
{
using namespace KCDDB;
@@ -34,7 +34,7 @@ AsyncHTTPSubmitTest::AsyncHTTPSubmitTest()
cdInfo.year = 2001;
cdInfo.category = "misc";
cdInfo.genre = "Barnsaga";
- cdInfo.extd = QString::fromUtf8("Berättare: Olof Thunberg");
+ cdInfo.extd = TQString::fromUtf8("Berättare: Olof Thunberg");
TrackInfo info;
info.title = "Bamses signaturmelodi";
@@ -45,14 +45,14 @@ AsyncHTTPSubmitTest::AsyncHTTPSubmitTest()
cdInfo.trackInfoList.append(info);
info.title = "*";
cdInfo.trackInfoList.append(info);
- info.title = QString::fromUtf8("Jätteödlan Bronto");
+ info.title = TQString::fromUtf8("Jätteödlan Bronto");
cdInfo.trackInfoList.append(info);
connect
(
client_,
- SIGNAL(finished(CDDB::Result)),
- SLOT(slotFinished(CDDB::Result))
+ TQT_SIGNAL(finished(CDDB::Result)),
+ TQT_SLOT(slotFinished(CDDB::Result))
);
client_->submit(cdInfo, list);
diff --git a/libkcddb/test/asynchttpsubmittest.h b/libkcddb/test/asynchttpsubmittest.h
index 27053836..6cce8ed2 100644
--- a/libkcddb/test/asynchttpsubmittest.h
+++ b/libkcddb/test/asynchttpsubmittest.h
@@ -1,7 +1,7 @@
#ifndef TEST_H
#define TEST_H
-#include <qobject.h>
+#include <tqobject.h>
#include <libkcddb/client.h>
using namespace KCDDB;
diff --git a/libkcddb/test/asyncsmtpsubmittest.cpp b/libkcddb/test/asyncsmtpsubmittest.cpp
index 224288e3..89c0ad50 100644
--- a/libkcddb/test/asyncsmtpsubmittest.cpp
+++ b/libkcddb/test/asyncsmtpsubmittest.cpp
@@ -6,7 +6,7 @@
#include "libkcddb/submit.h"
AsyncSMTPSubmitTest::AsyncSMTPSubmitTest()
- : QObject()
+ : TQObject()
{
using namespace KCDDB;
@@ -35,7 +35,7 @@ AsyncSMTPSubmitTest::AsyncSMTPSubmitTest()
cdInfo.year = 2001;
cdInfo.category = "misc";
cdInfo.genre = "Barnsaga";
- cdInfo.extd = QString::fromUtf8("Berättare: Olof Thunberg");
+ cdInfo.extd = TQString::fromUtf8("Berättare: Olof Thunberg");
TrackInfo info;
info.title = "Bamses signaturmelodi";
@@ -46,14 +46,14 @@ AsyncSMTPSubmitTest::AsyncSMTPSubmitTest()
cdInfo.trackInfoList.append(info);
info.title = "*";
cdInfo.trackInfoList.append(info);
- info.title = QString::fromUtf8("Jätteödlan Bronto");
+ info.title = TQString::fromUtf8("Jätteödlan Bronto");
cdInfo.trackInfoList.append(info);
connect
(
client_,
- SIGNAL(finished(CDDB::Result)),
- SLOT(slotFinished(CDDB::Result))
+ TQT_SIGNAL(finished(CDDB::Result)),
+ TQT_SLOT(slotFinished(CDDB::Result))
);
client_->submit(cdInfo, list);
diff --git a/libkcddb/test/asyncsmtpsubmittest.h b/libkcddb/test/asyncsmtpsubmittest.h
index 3528798d..0e6f445e 100644
--- a/libkcddb/test/asyncsmtpsubmittest.h
+++ b/libkcddb/test/asyncsmtpsubmittest.h
@@ -1,7 +1,7 @@
#ifndef TEST_H
#define TEST_H
-#include <qobject.h>
+#include <tqobject.h>
#include <libkcddb/client.h>
using namespace KCDDB;
diff --git a/libkcddb/test/sitestest.cpp b/libkcddb/test/sitestest.cpp
index cd2faaca..6188665d 100644
--- a/libkcddb/test/sitestest.cpp
+++ b/libkcddb/test/sitestest.cpp
@@ -36,8 +36,8 @@ main(int argc, char ** argv)
kdDebug() << "Sites: " << endl;
- QValueList<Mirror> sites = s.siteList();
- for (QValueList<Mirror>::Iterator it = sites.begin(); it != sites.end(); ++it)
+ TQValueList<Mirror> sites = s.siteList();
+ for (TQValueList<Mirror>::Iterator it = sites.begin(); it != sites.end(); ++it)
if ((*it).transport == Lookup::CDDBP)
kdDebug() << (*it).address << " CDDBP " << (*it).port << " " << (*it).description << endl;
else
diff --git a/libkcddb/test/synchttpsubmittest.cpp b/libkcddb/test/synchttpsubmittest.cpp
index 79fab86c..d6c17eaf 100644
--- a/libkcddb/test/synchttpsubmittest.cpp
+++ b/libkcddb/test/synchttpsubmittest.cpp
@@ -54,7 +54,7 @@ main(int argc, char ** argv)
cdInfo.year = 2001;
cdInfo.category = "misc";
cdInfo.genre = "Barnsaga";
- cdInfo.extd = QString::fromUtf8("Berättare: Olof Thunberg");
+ cdInfo.extd = TQString::fromUtf8("Berättare: Olof Thunberg");
TrackInfo info;
info.title = "Bamses signaturmelodi";
@@ -65,7 +65,7 @@ main(int argc, char ** argv)
cdInfo.trackInfoList.append(info);
info.title = "*";
cdInfo.trackInfoList.append(info);
- info.title = QString::fromUtf8("Jätteödlan Bronto");
+ info.title = TQString::fromUtf8("Jätteödlan Bronto");
cdInfo.trackInfoList.append(info);
Client c;
diff --git a/libkcddb/test/syncsmtpsubmittest.cpp b/libkcddb/test/syncsmtpsubmittest.cpp
index 75935848..4af365bb 100644
--- a/libkcddb/test/syncsmtpsubmittest.cpp
+++ b/libkcddb/test/syncsmtpsubmittest.cpp
@@ -54,7 +54,7 @@ main(int argc, char ** argv)
cdInfo.year = 2001;
cdInfo.category = "misc";
cdInfo.genre = "Barnsaga";
- cdInfo.extd = QString::fromUtf8("Berättare: Olof Thunberg");
+ cdInfo.extd = TQString::fromUtf8("Berättare: Olof Thunberg");
TrackInfo info;
info.title = "Bamses signaturmelodi";
@@ -65,7 +65,7 @@ main(int argc, char ** argv)
cdInfo.trackInfoList.append(info);
info.title = "*";
cdInfo.trackInfoList.append(info);
- info.title = QString::fromUtf8("Jätteödlan Bronto");
+ info.title = TQString::fromUtf8("Jätteödlan Bronto");
cdInfo.trackInfoList.append(info);
Client c;