mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
21 lines
393 B
C++
21 lines
393 B
C++
#ifndef __ERROR_MESSAGE_H
|
|
#define __ERROR_MESSAGE_H
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
#include <QByteArray>
|
|
|
|
class ErrorMessage : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ErrorMessage(QString message, QObject *parent = 0);
|
|
ErrorMessage(QString type, QString message, QObject *parent = 0);
|
|
QByteArray toString();
|
|
|
|
private:
|
|
QString m_type;
|
|
QString m_message;
|
|
};
|
|
|
|
#endif
|