diff -r 7c7476f56114 -r 40e59e9f82ce QTfrontend/ammoSchemeModel.h --- a/QTfrontend/ammoSchemeModel.h Tue Mar 10 21:57:33 2009 +0000 +++ b/QTfrontend/ammoSchemeModel.h Wed Mar 11 14:32:28 2009 +0000 @@ -34,12 +34,18 @@ int columnCount(const QModelIndex & parent) const; 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()); + bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex()); + QVariant data(const QModelIndex &index, int role) const; signals: void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight); protected: QList schemes; + +private: + QStringList defaultScheme; }; #endif // _AMMO_SCHEME_MODEL_INCLUDED