KMessageHandler

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 &title)=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
Deprecated:
Since 5.97, technology not in use.

Definition at line 112 of file kmessage.h.

Member Function Documentation

◆ message()

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

Display a long message of a certain type.

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

Parameters
typeCurrrent type of message. See MessageType enum.
textLong message to be displayed.
titleTitle 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-2023 The KDE developers.
Generated on Mon Mar 27 2023 04:15:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.