52 #ifndef Patternist_ColoringMessageHandler_h 53 #define Patternist_ColoringMessageHandler_h 75 const QUrl &identifier,
#define QT_END_NAMESPACE
This macro expands to.
virtual void handleMessage(QtMsgType type, const QString &description, const QUrl &identifier, const QSourceLocation &sourceLocation)
This function must be implemented by the sub-class.
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.
QString colorifyDescription(const QString &in) const
QtMsgType
This enum describes the messages that can be sent to a message handler (QtMsgHandler).
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
QHash< QString, ColorType > m_classToColor
The QAbstractMessageHandler class provides a callback interface for handling messages.
QObject * parent() const
Returns a pointer to the parent object.
ColoringMessageHandler(QObject *parent=0)