36 , m_description(description)
58 connect(message, SIGNAL(destroyed()),
this, SLOT(
messageDeleted()));
62 errorList.append(message);
71 connect(message, SIGNAL(destroyed()),
this, SLOT(
messageDeleted()));
76 warningList.append(message);
85 connect(message, SIGNAL(destroyed()),
this, SLOT(
messageDeleted()));
89 infoList.append(message);
97 connect(message, SIGNAL(destroyed()),
this, SLOT(
messageDeleted()));
103 errorList.append(message);
107 warningList.append(message);
111 infoList.append(message);
125 temp.append(message);
135 temp.append(message);
145 temp.append(message);
170 errorList.removeAll(message);
174 warningList.removeAll(message);
178 infoList.removeAll(message);
GlobalMessage * addErrorMessage(QString brief, QString description)
void addMessage(GlobalMessage *)
void changedInfo(GlobalMessage *)
QList< GlobalMessage * > getActiveWarnings()
QList< GlobalMessage * > getWarnings()
void setActive(bool value)
GlobalMessage(QString brief, QString description, MessageType type, QObject *parent=nullptr)
QList< GlobalMessage * > getActiveInfos()
GlobalMessage * addInfoMessage(QString brief, QString description)
void newError(GlobalMessage *)
QList< GlobalMessage * > getInfos()
void changedMessage(GlobalMessage *)
void changed(GlobalMessage *)
void newWarning(GlobalMessage *)
void changedWarning(GlobalMessage *)
QList< GlobalMessage * > getActiveErrors()
GlobalMessage * addWarningMessage(QString brief, QString description)
QList< GlobalMessage * > getErrors()
GlobalMessaging(QObject *parent=nullptr)
void changedError(GlobalMessage *)
void newMessage(GlobalMessage *)
void newInfo(GlobalMessage *)