Search for usage in LXR

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

MichaĆ«l Larouche micha[email protected]el.l[email protected]arouc[email protected][email protected][email protected]demai[email protected][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.

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-2021 The KDE developers.
Generated on Wed Apr 14 2021 23:01:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.