20 #ifndef ESETTINGSMODEL_H
21 #define ESETTINGSMODEL_H
43 bool save(QString &error);
46 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const;
47 int columnCount(
const QModelIndex& parent = QModelIndex())
const;
48 int rowCount(
const QModelIndex& parent = QModelIndex())
const;
49 QModelIndex parent(
const QModelIndex& child)
const;
50 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex())
const;
51 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
57 inline void reloadSettingsRequestByPass(){ reloadRequested =
true; };
67 void reloadSettingsRequest();
68 void doReloadSettings();
71 #endif // ESETTINGSMODEL_H