QTfrontend/ammoSchemeModel.h
changeset 1890 de5cfe3beb22
parent 1884 40e59e9f82ce
child 1897 e9dcb47013c7
equal deleted inserted replaced
1889:b8590b604fdd 1890:de5cfe3beb22
    18 
    18 
    19 #ifndef _AMMO_SCHEME_MODEL_INCLUDED
    19 #ifndef _AMMO_SCHEME_MODEL_INCLUDED
    20 #define _AMMO_SCHEME_MODEL_INCLUDED
    20 #define _AMMO_SCHEME_MODEL_INCLUDED
    21 
    21 
    22 #include <QAbstractTableModel>
    22 #include <QAbstractTableModel>
    23 #include <QStringList>
    23 #include <QList>
    24 
    24 
    25 class AmmoSchemeModel : public QAbstractTableModel
    25 class AmmoSchemeModel : public QAbstractTableModel
    26 {
    26 {
    27 	Q_OBJECT
    27 	Q_OBJECT
    28 
    28 
    40 
    40 
    41 signals:
    41 signals:
    42 	void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
    42 	void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
    43 
    43 
    44 protected:
    44 protected:
    45 	QList<QStringList> schemes;
    45 	QList< QList<QVariant> > schemes;
    46 
    46 
    47 private:
    47 private:
    48 	QStringList defaultScheme;
    48 	QList<QVariant> defaultScheme;
    49 };
    49 };
    50 
    50 
    51 #endif // _AMMO_SCHEME_MODEL_INCLUDED
    51 #endif // _AMMO_SCHEME_MODEL_INCLUDED