44 #include "private/qobject_p.h" 132 const QUrl &identifier,
137 handleMessage(type, description, identifier, sourceLocation);
virtual ~QAbstractMessageHandler()
Destructs this QAbstractMessageHandler.
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QtMsgType
This enum describes the messages that can be sent to a message handler (QtMsgHandler).
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
void message(QtMsgType type, const QString &description, const QUrl &identifier=QUrl(), const QSourceLocation &sourceLocation=QSourceLocation())
Sends a message to this message handler.
virtual void handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)=0
This function must be implemented by the sub-class.
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
The QAbstractMessageHandler class provides a callback interface for handling messages.
QAbstractMessageHandler(QObject *parent=0)
Constructs a QAbstractMessageHandler.