QTfrontend/ammoSchemeModel.h
changeset 1884 40e59e9f82ce
parent 1881 9b62d68c7b92
child 1890 de5cfe3beb22
--- 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<QStringList> schemes;
+
+private:
+	QStringList defaultScheme;
 };
 
 #endif // _AMMO_SCHEME_MODEL_INCLUDED