KChatBaseMessage
KChatBaseMessage Class Reference
#include <KChatBaseModel>
Public Types | |
enum | MessageType { Normal , System } |
Public Member Functions | |
KChatBaseMessage () | |
KChatBaseMessage (const KChatBaseMessage &m) | |
KChatBaseMessage (const QString &sender, const QString &message, MessageType type=Normal) | |
virtual | ~KChatBaseMessage () |
KChatBaseMessage & | operator= (const KChatBaseMessage &m) |
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 34 of file kchatbasemodel.h.
Member Enumeration Documentation
◆ MessageType
The different types of messages.
Definition at line 38 of file kchatbasemodel.h.
Constructor & Destructor Documentation
◆ KChatBaseMessage() [1/3]
KChatBaseMessage::KChatBaseMessage | ( | ) |
◆ KChatBaseMessage() [2/3]
KChatBaseMessage::KChatBaseMessage | ( | const QString & | sender, |
const QString & | message, | ||
MessageType | type = Normal ) |
Initializing constructor.
Definition at line 35 of file kchatbasemodel.cpp.
◆ KChatBaseMessage() [3/3]
|
default |
Copy constructor.
Necessary for Qt metatypes
◆ ~KChatBaseMessage()
|
virtualdefault |
Default destructor.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:50:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:50:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.