summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo/yahoochattask.h
diff options
context:
space:
mode:
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;
};