summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetechatsession.h
diff options
context:
space:
mode:
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