18 #include "qgsversion.h"    19 #include "qgsconfig.h"    26     : mMessage( theMessage )
    29     , mFunction( theFunction )
    37   append( theMessage, theTag );
    47   mMessageList.append( theMessage );
    58 #if defined(QGISDEBUG) && defined(QGS_GIT_REMOTE_URL)    66     srcUrl = 
"https://github.com/" + path + 
"/blob/" + hash;
    75     int sPrefixLength = strlen( CMAKE_SOURCE_DIR ) + 1;
    76     file = m.
file().
mid( sPrefixLength );
   111       str += 
"<p><b>" + m.
tag() + 
":</b> " + m.
message();
   117         str += 
QString( 
"<br>(<a href='%1'>%2</a>)" ).
arg( url, location );
   132   return mMessageList.first().message();
 
QString & remove(int position, int n)
 
QString summary() const
Short error description, usually the first error in chain, the real error. 
 
static const char * QGIS_DEV_VERSION
 
QgsErrorMessage represents single error message. 
 
bool contains(QChar ch, Qt::CaseSensitivity cs) const
 
QString mid(int position, int n) const
 
void append(const QString &theMessage, const QString &theTag)
Append new error message. 
 
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
 
QString message(QgsErrorMessage::Format theFormat=QgsErrorMessage::Html) const
Full error messages description.