summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/yahoochattask.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/yahoo/libkyahoo/yahoochattask.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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/yahoo/libkyahoo/yahoochattask.h')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/yahoochattask.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/yahoochattask.h b/kopete/protocols/yahoo/libkyahoo/yahoochattask.h
index 310b174d..3de4cbd4 100644
--- a/kopete/protocols/yahoo/libkyahoo/yahoochattask.h
+++ b/kopete/protocols/yahoo/libkyahoo/yahoochattask.h
@@ -20,9 +20,9 @@
#include "task.h"
#include "yahootypes.h"
-#include <qmap.h>
-#include <qvaluelist.h>
-#include <qpair.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
+#include <tqpair.h>
class QDomDocument;
class YMSGTransfer;
@@ -31,7 +31,7 @@ namespace KIO {
}
struct YahooChatJob {
- QByteArray data;
+ TQByteArray data;
Yahoo::ChatCategory category;
};
@@ -54,18 +54,18 @@ public:
void joinRoom( const Yahoo::ChatRoom &room );
- void sendYahooChatMessage( const QString &msg, const QString &handle );
+ void sendYahooChatMessage( const TQString &msg, const TQString &handle );
void logout();
signals:
- void gotYahooChatCategories( const QDomDocument & );
- void gotYahooChatRooms( const Yahoo::ChatCategory &, const QDomDocument & );
+ void gotYahooChatCategories( const TQDomDocument & );
+ void gotYahooChatRooms( const Yahoo::ChatCategory &, const TQDomDocument & );
- void chatRoomJoined( int roomId, int categoryId, const QString &comment, const QString &handle );
- void chatBuddyHasJoined( const QString &nick, const QString &handle, bool suppressNotification );
- void chatBuddyHasLeft( const QString &nick, const QString &handle );
- void chatMessageReceived( const QString &nick, const QString &message, const QString &handle );
+ void chatRoomJoined( int roomId, int categoryId, const TQString &comment, const TQString &handle );
+ void chatBuddyHasJoined( const TQString &nick, const TQString &handle, bool suppressNotification );
+ void chatBuddyHasLeft( const TQString &nick, const TQString &handle );
+ void chatMessageReceived( const TQString &nick, const TQString &message, const TQString &handle );
private:
void login();
void parseLoginResponse( YMSGTransfer *t );
@@ -75,12 +75,12 @@ private:
void parseLogout( YMSGTransfer * );
private slots:
- void slotData( KIO::Job *, const QByteArray & );
+ void slotData( KIO::Job *, const TQByteArray & );
void slotCategoriesComplete( KIO::Job * );
void slotChatRoomsComplete( KIO::Job * );
private:
- QMap< KIO::Job *, YahooChatJob > m_jobs;
- QValueList< Yahoo::ChatRoom > m_pendingJoins;
+ TQMap< KIO::Job *, YahooChatJob > m_jobs;
+ TQValueList< Yahoo::ChatRoom > m_pendingJoins;
bool m_loggedIn;
};