Avogadro::PluginItemModel Class Reference

#include <pluginitemmodel.h>

List of all members.

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
PluginItemplugin (const QModelIndex &index) const


Constructor & Destructor Documentation

Avogadro::PluginItemModel::PluginItemModel ( Plugin::Type  type,
QObject *  parent = 0 
) [explicit]


Member Function Documentation

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


The documentation for this class was generated from the following files:
Generated on Thu Jan 8 20:54:44 2009 for Avogadro by  doxygen 1.5.4