diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:26:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:26:34 +0000 |
commit | 36e4074ba1536a63a121293b20663a38cad836b7 (patch) | |
tree | 5ec4cb3822a30ce8d43a9904931907ade1d7fe2c /kopete/protocols/jabber | |
parent | 47c8a359c5276062c4bc17f0e82410f29081b502 (diff) | |
download | tdenetwork-36e4074ba1536a63a121293b20663a38cad836b7.tar.gz tdenetwork-36e4074ba1536a63a121293b20663a38cad836b7.zip |
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1158449 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber')
18 files changed, 29 insertions, 29 deletions
diff --git a/kopete/protocols/jabber/jabberaccount.h b/kopete/protocols/jabber/jabberaccount.h index a2781006..fd1dfc0f 100644 --- a/kopete/protocols/jabber/jabberaccount.h +++ b/kopete/protocols/jabber/jabberaccount.h @@ -33,8 +33,8 @@ #include <im.h> #include "jabberclient.h" -class QString; -class QStringList; +class TQString; +class TQStringList; class KActionMenu; class JabberResourcePool; class JabberContact; diff --git a/kopete/protocols/jabber/jabberchatsession.h b/kopete/protocols/jabber/jabberchatsession.h index 52b6197a..edd36772 100644 --- a/kopete/protocols/jabber/jabberchatsession.h +++ b/kopete/protocols/jabber/jabberchatsession.h @@ -26,7 +26,7 @@ class JabberProtocol; class JabberAccount; class JabberBaseContact; namespace Kopete { class Message; } -class QString; +class TQString; /** diff --git a/kopete/protocols/jabber/jabbercontact.h b/kopete/protocols/jabber/jabbercontact.h index 64402a48..6c88318b 100644 --- a/kopete/protocols/jabber/jabbercontact.h +++ b/kopete/protocols/jabber/jabbercontact.h @@ -28,7 +28,7 @@ #include "kopetechatsession.h" // needed for silly Kopete::ContactPtrList class JabberChatSession; -class QTimer; +class TQTimer; class JabberContact : public JabberBaseContact { diff --git a/kopete/protocols/jabber/jabberfiletransfer.h b/kopete/protocols/jabber/jabberfiletransfer.h index 296e38ca..851d5688 100644 --- a/kopete/protocols/jabber/jabberfiletransfer.h +++ b/kopete/protocols/jabber/jabberfiletransfer.h @@ -21,7 +21,7 @@ #include <tqobject.h> #include <filetransfer.h> -class QString; +class TQString; class JabberAccount; namespace Kopete { class Transfer; } namespace Kopete { class FileTransferInfo; } diff --git a/kopete/protocols/jabber/jabbergroupchatmanager.h b/kopete/protocols/jabber/jabbergroupchatmanager.h index 98fda47a..0891ae01 100644 --- a/kopete/protocols/jabber/jabbergroupchatmanager.h +++ b/kopete/protocols/jabber/jabbergroupchatmanager.h @@ -25,7 +25,7 @@ class JabberProtocol; class JabberAccount; class JabberBaseContact; namespace Kopete { class Message; } -class QString; +class TQString; /** * @author Till Gerken diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp index 33c5ec8a..a60c8040 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp @@ -108,7 +108,7 @@ void BSocket::reset(bool clear) void BSocket::ensureSocket() { if(!d->qsock) { - d->qsock = new QSocket; + d->qsock = new TQSocket; #if QT_VERSION >= 0x030200 d->qsock->setReadBufferSize(READBUFSIZE); #endif diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp index 3a182457..f20c054f 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp @@ -88,7 +88,7 @@ HttpPoll::HttpPoll(TQObject *parent) d = new Private; d->polltime = 30; - d->t = new QTimer; + d->t = new TQTimer; connect(d->t, TQT_SIGNAL(timeout()), TQT_SLOT(do_sync())); connect(&d->http, TQT_SIGNAL(result()), TQT_SLOT(http_result())); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp index 748db248..a060b23a 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp @@ -142,14 +142,14 @@ public: NDnsManager::NDnsManager() { #ifndef HAVE_GETHOSTBYNAME_R - workerMutex = new QMutex; - workerCancelled = new QMutex; + workerMutex = new TQMutex; + workerCancelled = new TQMutex; #endif #ifdef Q_OS_WIN32 if(!winsock_init) { winsock_init = true; - TQSocketDevice *sd = new QSocketDevice; + TQSocketDevice *sd = new TQSocketDevice; delete sd; } #endif diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/socks.h b/kopete/protocols/jabber/libiris/cutestuff/network/socks.h index 507caf5f..00ed09b4 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/socks.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/socks.h @@ -25,7 +25,7 @@ // CS_NAMESPACE_BEGIN -class QHostAddress; +class TQHostAddress; class SocksClient; class SocksServer; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp index d462a17e..fd1c4992 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp @@ -105,7 +105,7 @@ void SrvResolver::resolve(const TQString &server, const TQString &type, const TQ d->srvonly = false; d->srv = TQString("_") + type + "._" + proto + '.' + server; d->t.start(15000, true); - d->qdns = new QDns; + d->qdns = new TQDns; connect(d->qdns, TQT_SIGNAL(resultsReady()), TQT_SLOT(qdns_done())); d->qdns->setRecordType(TQDns::Srv); d->qdns->setLabel(d->srv); @@ -119,7 +119,7 @@ void SrvResolver::resolveSrvOnly(const TQString &server, const TQString &type, c d->srvonly = true; d->srv = TQString("_") + type + "._" + proto + '.' + server; d->t.start(15000, true); - d->qdns = new QDns; + d->qdns = new TQDns; connect(d->qdns, TQT_SIGNAL(resultsReady()), TQT_SLOT(qdns_done())); d->qdns->setRecordType(TQDns::Srv); d->qdns->setLabel(d->srv); @@ -190,7 +190,7 @@ void SrvResolver::tryNext() #ifndef NO_NDNS d->ndns.resolve(d->servers.first().name); #else - d->qdns = new QDns; + d->qdns = new TQDns; connect(d->qdns, TQT_SIGNAL(resultsReady()), TQT_SLOT(ndns_done())); if(d->aaaa) d->qdns->setRecordType(TQDns::Aaaa); // IPv6 diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp index 3ba5cb16..3c8e5435 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/connector.cpp @@ -388,7 +388,7 @@ void AdvancedConnector::do_resolve() { #ifdef NO_NDNS printf("resolving (aaaa=%d)\n", d->aaaa); - d->qdns = new QDns; + d->qdns = new TQDns; connect(d->qdns, TQT_SIGNAL(resultsReady()), TQT_SLOT(dns_done())); if(d->aaaa) d->qdns->setRecordType(TQDns::Aaaa); // IPv6 diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/parser.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/parser.cpp index 2348c88e..4c10bd53 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-core/parser.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/parser.cpp @@ -714,10 +714,10 @@ public: delete doc; if(create) { - doc = new QDomDocument; + doc = new TQDomDocument; in = new StreamInput; handler = new ParserHandler(in, doc); - reader = new QXmlSimpleReader; + reader = new TQXmlSimpleReader; reader->setContentHandler(handler); // initialize the reader diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp index 95f61e69..9e2fc061 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.cpp @@ -387,7 +387,7 @@ TQString JT_Roster::toString() const bool JT_Roster::fromString(const TQString &str) { - TQDomDocument *dd = new QDomDocument; + TQDomDocument *dd = new TQDomDocument; if(!dd->setContent(lineDecode(str).utf8())) return false; TQDomElement e = doc()->importNode(dd->documentElement(), true).toElement(); diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.h b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.h index 885e08a9..e1ea742b 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.h +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.h @@ -28,7 +28,7 @@ #include <tqvaluelist.h> #include <tqdom.h> -class QDate; +class TQDate; namespace XMPP { diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h index 926395e9..f6a94e59 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h @@ -23,11 +23,11 @@ #include<tqdom.h> -class QDateTime; -class QRect; -class QSize; -class QColor; -class QStringList; +class TQDateTime; +class TQRect; +class TQSize; +class TQColor; +class TQStringList; bool stamp2TS(const TQString &ts, TQDateTime *d); TQString TS2stamp(const TQDateTime &d); diff --git a/kopete/protocols/jabber/libiris/qca/src/qca.h b/kopete/protocols/jabber/libiris/qca/src/qca.h index 46b25cc9..9df6f7cd 100644 --- a/kopete/protocols/jabber/libiris/qca/src/qca.h +++ b/kopete/protocols/jabber/libiris/qca/src/qca.h @@ -52,8 +52,8 @@ #define QCA_PLUGIN_EXPORT extern "C" #endif -class QHostAddress; -class QStringList; +class TQHostAddress; +class TQStringList; class QCAProvider; class QCA_HashContext; diff --git a/kopete/protocols/jabber/ui/dlgjabbervcard.h b/kopete/protocols/jabber/ui/dlgjabbervcard.h index 05a80940..a3794ee4 100644 --- a/kopete/protocols/jabber/ui/dlgjabbervcard.h +++ b/kopete/protocols/jabber/ui/dlgjabbervcard.h @@ -26,7 +26,7 @@ class JabberAccount; class JabberContact; class JabberBaseContact; -class QString; +class TQString; class dlgVCard; /** diff --git a/kopete/protocols/jabber/ui/jabberaddcontactpage.h b/kopete/protocols/jabber/ui/jabberaddcontactpage.h index 77109c3d..09cdaae1 100644 --- a/kopete/protocols/jabber/ui/jabberaddcontactpage.h +++ b/kopete/protocols/jabber/ui/jabberaddcontactpage.h @@ -27,7 +27,7 @@ */ class dlgAddContact; class JabberAccount; -class QLabel; +class TQLabel; class JabberAddContactPage:public AddContactPage { |