29 #ifndef FAILED_DISPLAY_H 30 #define FAILED_DISPLAY_H 49 FailedDisplay(
const QString& desired_class_id,
const QString& error_message);
51 QVariant
getViewData(
int column,
int role)
const override;
74 #endif // FAILED_DISPLAY_H QVariant getViewData(int column, int role) const override
Return data appropriate for the given column (0 or 1) and role for this Display.
virtual void save(Config config)
Save Config equivalent to the last which was sent to load().
A FailedDisplay instance represents a Display class we tried and failed to instantiate.
Configuration data storage class.
void load(const Config &config) override
Store the given Config data for later, so we can return it with save() when someone writes this back ...
QString getDescription() const override
Return the description.
FailedDisplay(const QString &desired_class_id, const QString &error_message)