Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qerrormessage.cpp File Reference

(8b7f9f696ee5fcadc6bc3c96c1ea222fa592e8b6)

#include "qerrormessage.h"
#include "qapplication.h"
#include "qcheckbox.h"
#include "qlabel.h"
#include "qlayout.h"
#include "qpushbutton.h"
#include "qstringlist.h"
#include "qtextedit.h"
#include "qdialog_p.h"
#include "qpixmap.h"
#include "qmetaobject.h"
#include "qthread.h"
#include "qset.h"
#include <queue>
#include <stdio.h>
#include <stdlib.h>
#include "moc_qerrormessage.cpp"
+ Include dependency graph for qerrormessage.cpp:

Go to the source code of this file.

Classes

class  QErrorMessagePrivate
 
struct  QErrorMessagePrivate::Message
 

Functions

static void deleteStaticcQErrorMessage ()
 
static QString msgType2i18nString (QtMsgType t)
 
static void jump (QtMsgType t, const QMessageLogContext &context, const QString &m)
 

Variables

static QErrorMessageqtMessageHandler = nullptr
 
static bool metFatal = false
 
static QtMessageHandler originalMessageHandler = nullptr
 

Function Documentation

◆ deleteStaticcQErrorMessage()

static void deleteStaticcQErrorMessage ( )
static

Definition at line 156 of file qerrormessage.cpp.

References qtMessageHandler.

Referenced by QErrorMessage::qtHandler().

+ Here is the caller graph for this function:

◆ jump()

static void jump ( QtMsgType t,
const QMessageLogContext & context,
const QString & m )
static

Definition at line 190 of file qerrormessage.cpp.

References context, Qt::convertFromPlainText(), QThread::currentThread(), QLoggingCategory::defaultCategory(), QMetaObject::invokeMethod(), metFatal, msgType2i18nString(), originalMessageHandler, Q_ARG, qApp, qScopeGuard(), qstrcmp(), QtFatalMsg, qtMessageHandler, Qt::QueuedConnection, and Qt::WhiteSpaceNormal.

Referenced by QErrorMessage::~QErrorMessage(), QV4::Compiler::Codegen::initializeAndDestructureBindingElement(), QV4::Compiler::Codegen::Reference::loadInAccumulator(), QErrorMessage::qtHandler(), QQuickStochasticEngine::setGoal(), and QV4::Compiler::Codegen::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ msgType2i18nString()

static QString msgType2i18nString ( QtMsgType t)
static

Definition at line 166 of file qerrormessage.cpp.

References Q_ASSERT, QT_TRANSLATE_NOOP, QtCriticalMsg, QtDebugMsg, QtFatalMsg, QtInfoMsg, QtWarningMsg, and QCoreApplication::translate().

Referenced by jump().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ metFatal

bool metFatal = false
static

Definition at line 164 of file qerrormessage.cpp.

Referenced by QErrorMessage::done(), and jump().

◆ originalMessageHandler

QtMessageHandler originalMessageHandler = nullptr
static

◆ qtMessageHandler