diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/jabber/jingle/jinglesessionmanager.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/jingle/jinglesessionmanager.cpp')
-rw-r--r-- | kopete/protocols/jabber/jingle/jinglesessionmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/jabber/jingle/jinglesessionmanager.cpp b/kopete/protocols/jabber/jingle/jinglesessionmanager.cpp index aeec2889..54fc7274 100644 --- a/kopete/protocols/jabber/jingle/jinglesessionmanager.cpp +++ b/kopete/protocols/jabber/jingle/jinglesessionmanager.cpp @@ -90,7 +90,7 @@ public: } JabberAccount *account; - QValueList<JingleSession*> sessionList; + TQValueList<JingleSession*> sessionList; JingleWatchSessionTask *watchSessionTask; cricket::NetworkManager *networkManager; @@ -101,18 +101,18 @@ public: //END JingleSessionManager::Private JingleSessionManager::JingleSessionManager(JabberAccount *account) - : QObject(account, 0), d(new Private(account)) + : TQObject(account, 0), d(new Private(account)) { // Create slots proxy for libjingle slotsProxy = new SlotsProxy(this); // Create watch incoming session task. d->watchSessionTask = new JingleWatchSessionTask(account->client()->rootTask()); - connect(d->watchSessionTask, SIGNAL(watchSession(const QString &, const QString &)), this, SLOT(slotIncomingSession(const QString &, const QString &))); + connect(d->watchSessionTask, TQT_SIGNAL(watchSession(const TQString &, const TQString &)), this, TQT_SLOT(slotIncomingSession(const TQString &, const TQString &))); // Create global cricket variables common to all sessions. // Seed random generation with the JID of the account. - QString accountJid = account->client()->jid().full(); + TQString accountJid = account->client()->jid().full(); cricket::InitRandom( accountJid.ascii(), accountJid.length() ); // Create the libjingle NetworkManager that manager local network connections @@ -137,7 +137,7 @@ JingleSessionManager::~JingleSessionManager() kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << endl; kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Cleaning up Jingle sessions." << endl; - QValueList<JingleSession*>::Iterator it, itEnd = d->sessionList.end(); + TQValueList<JingleSession*>::Iterator it, itEnd = d->sessionList.end(); for(it = d->sessionList.begin(); it != itEnd; ++it) { JingleSession *deletedSession = *it; @@ -162,7 +162,7 @@ JabberAccount *JingleSessionManager::account() return d->account; } -JingleSession *JingleSessionManager::createSession(const QString &sessionType, const JidList &peers) +JingleSession *JingleSessionManager::createSession(const TQString &sessionType, const JidList &peers) { JingleSession *newSession = 0L; @@ -178,7 +178,7 @@ JingleSession *JingleSessionManager::createSession(const QString &sessionType, c return newSession; } -JingleSession *JingleSessionManager::createSession(const QString &sessionType, const XMPP::Jid &user) +JingleSession *JingleSessionManager::createSession(const TQString &sessionType, const XMPP::Jid &user) { JingleSessionManager::JidList jidList; jidList.append(user); @@ -194,7 +194,7 @@ void JingleSessionManager::removeSession(JingleSession *session) delete session; } -void JingleSessionManager::slotIncomingSession(const QString &sessionType, const QString &initiator) +void JingleSessionManager::slotIncomingSession(const TQString &sessionType, const TQString &initiator) { kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Incoming session: " << sessionType << ". Initiator: " << initiator << endl; |