diff -r e1a3994558e1 -r a5a8488e2485 QTfrontend/model/gameSchemeModel.h --- a/QTfrontend/model/gameSchemeModel.h Tue Jul 24 20:46:22 2018 +0200 +++ b/QTfrontend/model/gameSchemeModel.h Thu Jul 26 00:18:59 2018 +0200 @@ -34,6 +34,8 @@ int rowCount(const QModelIndex & parent) const; int columnCount(const QModelIndex & parent) const; bool hasScheme(QString name); + bool hasScheme(QString name, int ignoreID); + bool renameScheme(int index, QString newName); Qt::ItemFlags flags(const QModelIndex & index) const; bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole); bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex()); @@ -47,6 +49,9 @@ public slots: void Save(); + signals: + void dataChanged(const QModelIndex &topLeft, const QModelIndex& bottomRight); + protected: QList< QList > schemes; };