libkdegames/libkdegamesprivate
KChatBaseMessage Class Reference
#include <KChatBaseModel>
Inheritance diagram for KChatBaseMessage:
Public Types | |
enum | MessageType { Normal, System } |
Public Member Functions | |
KChatBaseMessage () | |
KChatBaseMessage (const QString &sender, const QString &message, MessageType type=Normal) | |
KChatBaseMessage (const KChatBaseMessage &m) | |
virtual | ~KChatBaseMessage () |
Public Member Functions inherited from QPair< QString, QString > | |
QPair () | |
QPair (const T1 &value1, const T2 &value2) | |
QPair< T1, T2 > & | operator= (const QPair< T1, T2 > &other) |
Additional Inherited Members | |
Public Attributes inherited from QPair< QString, QString > | |
typedef | first_type |
typedef | second_type |
Detailed Description
The class of the elements stored in the chat list model.
It's a pair of strings where the first element is the sender name and the second one is the actual message. It furthermore indicates the type of the message: normal or system
Definition at line 41 of file kchatbasemodel.h.
Member Enumeration Documentation
The different types of messages.
Enumerator | |
---|---|
Normal | |
System |
Definition at line 45 of file kchatbasemodel.h.
Constructor & Destructor Documentation
KChatBaseMessage::KChatBaseMessage | ( | ) |
KChatBaseMessage::KChatBaseMessage | ( | const QString & | sender, |
const QString & | message, | ||
MessageType | type = Normal |
||
) |
Initializing constructor.
Definition at line 46 of file kchatbasemodel.cpp.
KChatBaseMessage::KChatBaseMessage | ( | const KChatBaseMessage & | m | ) |
|
virtual |
Default destructor.
Definition at line 61 of file kchatbasemodel.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.