KDbMessageTitleSetter
#include <KDbMessageHandler.h>
Public Member Functions | |
KDbMessageTitleSetter (KDbResult *result, const QString &message=QString()) | |
KDbMessageTitleSetter (KDbResultable *resultable, const QString &message=QString()) | |
Protected Attributes | |
QString | m_prevMsgTitle |
KDbResult * | m_result |
Detailed Description
Helper for setting temporary message title for an KDbResult object. Message title is a text prepended to error or warning messages. Use it as follows:
After leaving the current code block, myResultableObject's message title will be set back to the previous value.
Definition at line 96 of file KDbMessageHandler.h.
Constructor & Destructor Documentation
◆ KDbMessageTitleSetter() [1/2]
|
explicit |
Definition at line 64 of file KDbMessageHandler.cpp.
◆ KDbMessageTitleSetter() [2/2]
|
explicit |
Definition at line 71 of file KDbMessageHandler.cpp.
◆ ~KDbMessageTitleSetter()
KDbMessageTitleSetter::~KDbMessageTitleSetter | ( | ) |
Definition at line 78 of file KDbMessageHandler.cpp.
Member Data Documentation
◆ m_prevMsgTitle
|
protected |
Definition at line 105 of file KDbMessageHandler.h.
◆ m_result
|
protected |
Definition at line 104 of file KDbMessageHandler.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.