#include <cmdlinemessagehandler.h>
|
virtual void | handleMessage (QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation) |
|
◆ CmdLineMessageHandler()
CmdLineMessageHandler::CmdLineMessageHandler |
( |
QObject * |
parent = 0 | ) |
|
◆ ~CmdLineMessageHandler()
CmdLineMessageHandler::~CmdLineMessageHandler |
( |
| ) |
|
|
virtual |
◆ acceptDefaults()
bool XAbstractMessageHandler::acceptDefaults |
( |
| ) |
const |
|
inherited |
◆ handleMessage()
void CmdLineMessageHandler::handleMessage |
( |
QtMsgType |
type, |
|
|
const QString & |
description, |
|
|
const QUrl & |
identifier, |
|
|
const QSourceLocation & |
sourceLocation |
|
) |
| |
|
protectedvirtual |
◆ question()
QMessageBox::StandardButton CmdLineMessageHandler::question |
( |
const QString & |
question, |
|
|
QMessageBox::StandardButtons |
buttons = QMessageBox::Ok , |
|
|
QMessageBox::StandardButton |
defaultButton = QMessageBox::NoButton |
|
) |
| |
|
virtual |
◆ setAcceptDefaults()
bool XAbstractMessageHandler::setAcceptDefaults |
( |
const bool |
accept | ) |
|
|
inherited |
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 |
|
protectedinherited |
The documentation for this class was generated from the following files:
- cmdlinemessagehandler.h
- cmdlinemessagehandler.cpp