kexi
KexiGUIMessageHandler Class Reference
Inheritance diagram for KexiGUIMessageHandler:

Detailed Description
Definition at line 26 of file kexiguimsghandler.h.
Public Member Functions | |
KexiGUIMessageHandler (QWidget *parent=0) | |
virtual | ~KexiGUIMessageHandler () |
virtual void | showErrorMessage (const QString &title, const QString &details=QString::null) |
virtual void | showErrorMessage (KexiDB::Object *obj, const QString &msg=QString::null) |
void | showErrorMessage (const QString &, const QString &, KexiDB::Object *obj) |
void | showErrorMessage (Kexi::ObjectStatus *status) |
void | showErrorMessage (const QString &message, Kexi::ObjectStatus *status) |
void | showSorryMessage (const QString &title, const QString &details=QString::null) |
virtual void | showMessage (MessageType type, const QString &title, const QString &details, const QString &dontShowAgainName=QString::null) |
virtual void | showWarningContinueMessage (const QString &title, const QString &details=QString::null, const QString &dontShowAgainName=QString::null) |
virtual int | askQuestion (const QString &message, KMessageBox::DialogType dlgType, KMessageBox::ButtonCode defaultResult, const KGuiItem &buttonYes=KStdGuiItem::yes(), const KGuiItem &buttonNo=KStdGuiItem::no(), const QString &dontShowAskAgainName=QString::null, int options=KMessageBox::Notify) |
Member Function Documentation
void KexiGUIMessageHandler::showErrorMessage | ( | const QString & | title, | |
const QString & | details = QString::null | |||
) | [virtual] |
Shows error message with title (it is not caption) and details.
Implements KexiDB::MessageHandler.
Definition at line 55 of file kexiguimsghandler.cpp.
void KexiGUIMessageHandler::showErrorMessage | ( | KexiDB::Object * | obj, | |
const QString & | msg = QString::null | |||
) | [virtual] |
Shows error message with msg text. Existing error message from obj object is also copied, if present.
Implements KexiDB::MessageHandler.
Definition at line 40 of file kexiguimsghandler.cpp.
void KexiGUIMessageHandler::showSorryMessage | ( | const QString & | title, | |
const QString & | details = QString::null | |||
) |
Displays a "Sorry" message with title text and optional details.
Definition at line 61 of file kexiguimsghandler.cpp.
void KexiGUIMessageHandler::showMessage | ( | MessageType | type, | |
const QString & | title, | |||
const QString & | details, | |||
const QString & | dontShowAgainName = QString::null | |||
) | [virtual] |
Displays a message of a type type, with title text and optional details. dontShowAgainName can be specified to add "Do not show again" option if type is Warning.
Definition at line 113 of file kexiguimsghandler.cpp.
void KexiGUIMessageHandler::showWarningContinueMessage | ( | const QString & | title, | |
const QString & | details = QString::null , |
|||
const QString & | dontShowAgainName = QString::null | |||
) | [virtual] |
Displays a Warning message with title text and optional details with "Continue" button instead "OK". dontShowAgainName can be specified to add "Do not show again" option.
Definition at line 144 of file kexiguimsghandler.cpp.
int KexiGUIMessageHandler::askQuestion | ( | const QString & | message, | |
KMessageBox::DialogType | dlgType, | |||
KMessageBox::ButtonCode | defaultResult, | |||
const KGuiItem & | buttonYes = KStdGuiItem::yes() , |
|||
const KGuiItem & | buttonNo = KStdGuiItem::no() , |
|||
const QString & | dontShowAskAgainName = QString::null , |
|||
int | options = KMessageBox::Notify | |||
) | [virtual] |
Interactively asks a question using KMessageBox. See KexiDB::MessageHandler::askQuestion() for details.
Reimplemented from KexiDB::MessageHandler.
Definition at line 161 of file kexiguimsghandler.cpp.
The documentation for this class was generated from the following files: