KChatBaseMessage

Search for usage in LXR

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 ()
 
KChatBaseMessageoperator= (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 ( )

Default constructor.

Necessary for Qt metatypes

Definition at line 30 of file kchatbasemodel.cpp.

◆ 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]

KChatBaseMessage::KChatBaseMessage ( const KChatBaseMessage & m)
default

Copy constructor.

Necessary for Qt metatypes

◆ ~KChatBaseMessage()

KChatBaseMessage::~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 Sat Dec 21 2024 16:59:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.