QTfrontend/ammoSchemeModel.h
changeset 4410 f9e38ce1e813
parent 4232 3a7862405c36
child 4976 088d40d8aba2
equal deleted inserted replaced
4409:a752e543d7b4 4410:f9e38ce1e813
    40     bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
    40     bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
    41     QVariant data(const QModelIndex &index, int role) const;
    41     QVariant data(const QModelIndex &index, int role) const;
    42 
    42 
    43     int numberOfDefaultSchemes;
    43     int numberOfDefaultSchemes;
    44     QStringList predefSchemesNames;
    44     QStringList predefSchemesNames;
       
    45     QStringList spNames;
    45 
    46 
    46 public slots:
    47 public slots:
    47     void Save();
    48     void Save();
    48 
    49 
    49 signals:
    50 signals:
    52 protected:
    53 protected:
    53     QList< QList<QVariant> > schemes;
    54     QList< QList<QVariant> > schemes;
    54 
    55 
    55 private:
    56 private:
    56     QSettings fileConfig;
    57     QSettings fileConfig;
    57 
       
    58     QStringList spNames;
       
    59 };
    58 };
    60 
    59 
    61 class NetAmmoSchemeModel : public QAbstractTableModel
    60 class NetAmmoSchemeModel : public QAbstractTableModel
    62 {
    61 {
    63     Q_OBJECT
    62     Q_OBJECT