#include <pluginitemmodel.h>
Public Member Functions | |
PluginItemModel (Plugin::Type type, QObject *parent=0) | |
QModelIndex | parent (const QModelIndex &) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role) |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
PluginItem * | plugin (const QModelIndex &index) const |
Avogadro::PluginItemModel::PluginItemModel | ( | Plugin::Type | type, | |
QObject * | parent = 0 | |||
) | [explicit] |
QModelIndex Avogadro::PluginItemModel::parent | ( | const QModelIndex & | ) | const [inline] |
int Avogadro::PluginItemModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
int Avogadro::PluginItemModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
QVariant Avogadro::PluginItemModel::data | ( | const QModelIndex & | index, | |
int | role = Qt::DisplayRole | |||
) | const |
Qt::ItemFlags Avogadro::PluginItemModel::flags | ( | const QModelIndex & | index | ) | const |
bool Avogadro::PluginItemModel::setData | ( | const QModelIndex & | index, | |
const QVariant & | value, | |||
int | role | |||
) |
QModelIndex Avogadro::PluginItemModel::index | ( | int | row, | |
int | column, | |||
const QModelIndex & | parent = QModelIndex() | |||
) | const |
PluginItem * Avogadro::PluginItemModel::plugin | ( | const QModelIndex & | index | ) | const |