#include <xabstractmessagehandler.h>
◆ XAbstractMessageHandler()
XAbstractMessageHandler::XAbstractMessageHandler |
( |
QObject * |
parent = 0 | ) |
|
◆ ~XAbstractMessageHandler()
XAbstractMessageHandler::~XAbstractMessageHandler |
( |
| ) |
|
|
virtual |
◆ acceptDefaults()
bool XAbstractMessageHandler::acceptDefaults |
( |
| ) |
const |
◆ question()
virtual QMessageBox::StandardButton XAbstractMessageHandler::question |
( |
const QString & |
question, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Ok , |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton |
|
) |
| |
|
pure virtual |
◆ setAcceptDefaults()
bool XAbstractMessageHandler::setAcceptDefaults |
( |
const bool |
accept | ) |
|
Set whether or not the message handler should automatically accept the defaultButton when ::question() is called. This is initially set to false
.
- Parameters
-
accept | true indicates yes, accept the default value false indicates no, ask the question and let the user decide |
- Returns
- the previous setting
◆ _acceptDefaults
bool XAbstractMessageHandler::_acceptDefaults |
|
protected |
The documentation for this class was generated from the following files:
- xabstractmessagehandler.h
- xabstractmessagehandler.cpp