• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

libkdegames/libkdegamesprivate

Public Types | Public Member Functions | List of all members
KChatBaseMessage Class Reference

#include <KChatBaseModel>

Inheritance diagram for KChatBaseMessage:
Inheritance graph
[legend]

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

enum KChatBaseMessage::MessageType

The different types of messages.

Enumerator
Normal 
System 

Definition at line 45 of file kchatbasemodel.h.

Constructor & Destructor Documentation

KChatBaseMessage::KChatBaseMessage ( )

Default constructor.

Necessary for Qt metatypes

Definition at line 41 of file kchatbasemodel.cpp.

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)

Copy constructor.

Necessary for Qt metatypes

Definition at line 54 of file kchatbasemodel.cpp.

KChatBaseMessage::~KChatBaseMessage ( )
virtual

Default destructor.

Definition at line 61 of file kchatbasemodel.cpp.


The documentation for this class was generated from the following files:
  • kchatbasemodel.h
  • kchatbasemodel.cpp
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

KDE's Doxygen guidelines are available online.

libkdegames/libkdegamesprivate

Skip menu "libkdegames/libkdegamesprivate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal