libquentier
0.4.0
The library for rich desktop clients of Evernote service
|
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (base) and non-translatable (details) parts of the error description. More...
#include <ErrorString.h>
Public Member Functions | |
ErrorString (const char *error=Q_NULLPTR) | |
ErrorString (const QString &error) | |
ErrorString (const ErrorString &other) | |
ErrorString & | operator= (const ErrorString &other) |
const QString & | base () const |
QString & | base () |
const QStringList & | additionalBases () const |
QStringList & | additionalBases () |
const QString & | details () const |
QString & | details () |
void | setBase (const QString &error) |
void | setBase (const char *error) |
void | appendBase (const QString &error) |
void | appendBase (const QStringList &errors) |
void | appendBase (const char *error) |
void | setDetails (const QString &error) |
void | setDetails (const char *error) |
bool | isEmpty () const |
void | clear () |
QString | localizedString () const |
QString | nonLocalizedString () const |
virtual QTextStream & | print (QTextStream &strm) const Q_DECL_OVERRIDE |
![]() | |
virtual const QString | toString () const |
Additional Inherited Members | |
![]() | |
Printable (const Printable &other) | |
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (base) and non-translatable (details) parts of the error description.