summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetechatsession.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/libkopete/kopetechatsession.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/libkopete/kopetechatsession.h')
-rw-r--r--kopete/libkopete/kopetechatsession.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/libkopete/kopetechatsession.h b/kopete/libkopete/kopetechatsession.h
index 86d5fa64..928ac7d5 100644
--- a/kopete/libkopete/kopetechatsession.h
+++ b/kopete/libkopete/kopetechatsession.h
@@ -23,9 +23,9 @@
#ifndef __KOPETECHATSESSION_H__
#define __KOPETECHATSESSION_H__
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
#include <kxmlguiclient.h>
@@ -51,8 +51,8 @@ class ChatSessionManager;
class MessageHandlerChain;
class TemporaryKMMCallbackAppendMessageHandler;
-typedef QPtrList<Contact> ContactPtrList;
-typedef QValueList<Message> MessageList;
+typedef TQPtrList<Contact> ContactPtrList;
+typedef TQValueList<Message> MessageList;
/**
@@ -71,7 +71,7 @@ typedef QValueList<Message> MessageList;
* so plugins can add childClients of this client to add their own actions in the
* chatwindow.
*/
-class KOPETE_EXPORT ChatSession : public QObject , public KXMLGUIClient
+class KOPETE_EXPORT ChatSession : public TQObject , public KXMLGUIClient
{
// friend class so the object factory can access the protected constructor
friend class ChatSessionManager;
@@ -114,14 +114,14 @@ public:
*
* Used for named chats
*/
- const QString displayName();
+ const TQString displayName();
/**
* @brief change the displayname
*
* change the display name of the chat
*/
- void setDisplayName( const QString &displayName );
+ void setDisplayName( const TQString &displayName );
/**
* @brief set a specified KOS for specified contact in this KMM
@@ -148,7 +148,7 @@ public:
* @param requestedPlugin Specifies the view plugin to use if we have to create one.
*/
// FIXME: canCreate should definitely be an enum and not a bool - Martijn
- KopeteView* view( bool canCreate = false, const QString &requestedPlugin = QString::null );
+ KopeteView* view( bool canCreate = false, const TQString &requestedPlugin = TQString::null );
/**
* says if you may invite contact from the same account to this chat with @ref inviteContact
@@ -166,7 +166,7 @@ public:
*
* the default implementaiton do nothing
*/
- virtual void inviteContact(const QString &contactId);
+ virtual void inviteContact(const TQString &contactId);
/**
* Returns the message handler chain for the message direction @p dir.
@@ -216,7 +216,7 @@ signals:
/**
* @brief a contact is no longer in this chat
*/
- void contactRemoved( const Kopete::Contact *contact, const QString &reason, Kopete::Message::MessageFormat format = Message::PlainText, bool contactRemoved = false );
+ void contactRemoved( const Kopete::Contact *contact, const TQString &reason, Kopete::Message::MessageFormat format = Message::PlainText, bool contactRemoved = false );
/**
* @brief a contact in this chat has changed his status
@@ -248,7 +248,7 @@ signals:
* Signals that a an event has to be displayed in the statusbar.
* The chatwindow connects to this signal to update the statusbar.
*/
- void eventNotification( const QString& notificationText);
+ void eventNotification( const TQString& notificationText);
/**
* @brief A contact within the chat session changed his photo.
@@ -264,17 +264,17 @@ public slots:
/**
* Got a typing notification from a user. This is a convenience version
- * of the above method that takes a QString contactId instead of a full
+ * of the above method that takes a TQString contactId instead of a full
* Kopete::Contact
*/
- void receivedTypingMsg( const QString &contactId, bool isTyping = true );
+ void receivedTypingMsg( const TQString &contactId, bool isTyping = true );
/**
* @brief Got an event notification from a user.
* It will emit the signal eventNotification(). Use this slot in your protocols
* and plugins to change chatwindow statusBar text.
*/
- void receivedEventNotification( const QString& notificationText );
+ void receivedEventNotification( const TQString& notificationText );
/**
* Show a message to the chatwindow, or append it to the queue.
@@ -310,7 +310,7 @@ public slots:
* @param format The format of the message
* @param suppressNotification prevents a notification of the removal in the chat view. See note in @ref addContact
*/
- void removeContact( const Kopete::Contact *contact, const QString& reason = QString::null, Kopete::Message::MessageFormat format = Message::PlainText, bool suppressNotification = false );
+ void removeContact( const Kopete::Contact *contact, const TQString& reason = TQString::null, Kopete::Message::MessageFormat format = Message::PlainText, bool suppressNotification = false );
/**
* Set if the KMM will be deleted when the chatwindow is deleted. It is useful if you want