kexi

KexiDB::MessageTitle Class Reference

#include <msghandler.h>

List of all members.


Detailed Description

A helper class for setting temporary message title for an KexiDB::Object. Message title is a text prepended to error or warning messages. Use it this way:
 KexiDB::MessageTitle title(myKexiDBObject, i18n("Terrible error occurred"));
After leaving current from code block, object's message title will be reverted to previous value.

Definition at line 38 of file msghandler.h.


Public Member Functions

 MessageTitle (KexiDB::Object *o, const QString &msg=QString::null)

Protected Attributes

Objectm_obj
QString m_prevMsgTitle

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys