diff -r f0ab0c77946d -r 5763f46d7486 QTfrontend/ammoSchemeModel.h --- a/QTfrontend/ammoSchemeModel.h Mon Mar 16 20:55:10 2009 +0000 +++ b/QTfrontend/ammoSchemeModel.h Wed Mar 18 15:48:43 2009 +0000 @@ -50,11 +50,28 @@ QList< QList > schemes; private: - QList defaultScheme; - QSettings fileConfig; QStringList spNames; }; +class NetAmmoSchemeModel : public QAbstractTableModel +{ + Q_OBJECT + +public: + NetAmmoSchemeModel(QObject * parent); + + QVariant headerData(int section, Qt::Orientation orientation, int role) const; + int rowCount(const QModelIndex & parent) const; + int columnCount(const QModelIndex & parent) const; + QVariant data(const QModelIndex &index, int role) const; + +public slots: + void setNetSchemeConfig(QStringList & cfg); + +private: + QList netScheme; +}; + #endif // _AMMO_SCHEME_MODEL_INCLUDED