QTfrontend/model/ammoSchemeModel.h
changeset 12666 1d25f5555c38
parent 11046 47a8c19ecb60
child 13196 f93658732448
equal deleted inserted replaced
12665:5664ec82aed7 12666:1d25f5555c38
    32         AmmoSchemeModel(QObject * parent, const QString & fileName);
    32         AmmoSchemeModel(QObject * parent, const QString & fileName);
    33 
    33 
    34         QVariant headerData(int section, Qt::Orientation orientation, int role) const;
    34         QVariant headerData(int section, Qt::Orientation orientation, int role) const;
    35         int rowCount(const QModelIndex & parent) const;
    35         int rowCount(const QModelIndex & parent) const;
    36         int columnCount(const QModelIndex & parent) const;
    36         int columnCount(const QModelIndex & parent) const;
       
    37         bool hasScheme(QString name);
    37         Qt::ItemFlags flags(const QModelIndex & index) const;
    38         Qt::ItemFlags flags(const QModelIndex & index) const;
    38         bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole);
    39         bool setData(const QModelIndex & index, const QVariant & value, int role = Qt::EditRole);
    39         bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex());
    40         bool insertRows(int row, int count, const QModelIndex & parent = QModelIndex());
    40         bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
    41         bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
    41         QVariant data(const QModelIndex &index, int role) const;
    42         QVariant data(const QModelIndex &index, int role) const;