KMessageHandler

KMessageHandler Class Referenceabstract

#include <KMessageHandler>

Inheritance diagram for KMessageHandler:

Public Member Functions

virtual void message (KMessage::MessageType type, const QString &text, const QString &caption)=0
 

Detailed Description

Abstract class for KMessage handler.

This class define how KMessage display a message.

Reimplement the virtual methods then set your custom KMessageHandler using KMessage::setMessageHandler()

Author
MichaĆ«l Larouche micha[email protected]el.l[email protected]arouc[email protected][email protected][email protected]demai[email protected]l.ne[email protected]t

Definition at line 101 of file kmessage.h.

Member Function Documentation

virtual void KMessageHandler::message ( KMessage::MessageType  type,
const QString text,
const QString caption 
)
pure virtual

Display a long message of a certain type.

A long message span on multiple lines and can have a caption.

Parameters
typeCurrrent type of message. See MessageType enum.
textLong message to be displayed.
captionCaption to be used. This is optional.

Implemented in KMessageBoxMessageHandler, and KPassivePopupMessageHandler.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue May 26 2020 23:09:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.