kopete/libkopete
kopetechatsessionmanager.cpp
Go to the documentation of this file.
107 const Contact *user, ContactPtrList chatContacts, Protocol *protocol, Kopete::ChatSession::Form form )
156 KopeteView * ChatSessionManager::createView( ChatSession *kmm , const QString &requestedPlugin )
Definition: kopetemessageevent.h:41
KopeteView * activeView()
Returns the current active Kopete view.
Definition: kopetechatsessionmanager.cpp:187
void aboutToDisplay(Kopete::Message &message)
This signal is emitted whenever a message is about to be displayed by the KopeteChatWindow.
void readMessage()
The global shortcut for sending message has been used.
Kopete::ChatSession * create(const Kopete::Contact *user, Kopete::ContactPtrList chatContacts, Kopete::Protocol *protocol, Kopete::ChatSession::Form form=Kopete::ChatSession::Small)
Create a new chat session.
Definition: kopetechatsessionmanager.cpp:106
void registerChatSession(Kopete::ChatSession *)
Registers a Kopete::ChatSession (or subclass thereof) with the Kopete::ChatSessionManager.
Definition: kopetechatsessionmanager.cpp:123
KopeteView * createView(Kopete::ChatSession *, const QString &requestedPlugin=QString())
create a new view for the manager.
Definition: kopetechatsessionmanager.cpp:156
void newEvent(Kopete::MessageEvent *)
A new event has been posted.
void aboutToReceive(Kopete::Message &message)
Plugins may connect to this signal to manipulate the contents of the message that is being received...
Definition: kopetechatsession.h:74
void slotReadMessage()
Definition: kopetechatsessionmanager.cpp:118
void viewActivated(KopeteView *view)
A view as been activated(manually only?).
~ChatSessionManager()
Definition: kopetechatsessionmanager.cpp:53
Definition: kopetecontact.h:58
void chatSessionCreated(Kopete::ChatSession *)
a new KMM has been created
static ChatSessionManager * self()
Definition: kopetechatsessionmanager.cpp:39
KopeteView * activeView() const
Provide access to the list of KopeteChatWindow the class maintains.
Definition: kopeteviewmanager.cpp:566
QList< ChatSession * > sessions()
Get a list of all open sessions.
Definition: kopetechatsessionmanager.cpp:151
Kopete::ChatSession * findChatSession(const Kopete::Contact *user, Kopete::ContactPtrList chatContacts, Kopete::Protocol *protocol)
Find a chat session, if one exists, that matches the given list of contacts.
Definition: kopetechatsessionmanager.cpp:65
void aboutToSend(Kopete::Message &message)
Plugins may connect to this signal to manipulate the contents of the message that is being sent...
const Contact * myself() const
Get the local user in the session.
Definition: kopetechatsession.cpp:215
void postNewEvent(Kopete::MessageEvent *)
Post a new event.
Definition: kopetechatsessionmanager.cpp:182
const ContactPtrList & members() const
Get a list of all contacts in the session.
Definition: kopetechatsession.cpp:210
static KopeteViewManager * viewManager()
This is a singleton class.
Definition: kopeteviewmanager.cpp:133
void viewClosing(KopeteView *view)
void display(Kopete::Message &message, Kopete::ChatSession *)
the message is ready to be displayed
Definition: kopeteview.h:40
void removeSession(Kopete::ChatSession *session)
Definition: kopetechatsessionmanager.cpp:145
KopeteView * view(Kopete::ChatSession *session, const QString &requestedPlugin=QString())
Return a view for the supplied Kopete::ChatSession.
Definition: kopeteviewmanager.cpp:187
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.