#include <componentmodel.h>
Classes | |
class | ComponentModelPrivate |
Public Member Functions | |
ComponentModel (QObject *parent=0) | |
~ComponentModel () | |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
virtual QModelIndex | parent (const QModelIndex &child) const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QStringList | mimeTypes () const |
virtual QMimeData * | mimeData (const QModelIndexList &indexes) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
Definition at line 28 of file componentmodel.h.
ComponentModel::ComponentModel | ( | QObject * | parent = 0 |
) |
Definition at line 75 of file componentmodel.cpp.
ComponentModel::~ComponentModel | ( | ) |
Definition at line 124 of file componentmodel.cpp.
int ComponentModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 296 of file componentmodel.cpp.
QVariant ComponentModel::data | ( | const QModelIndex & | index, | |
int | role = Qt::DisplayRole | |||
) | const [virtual] |
Definition at line 130 of file componentmodel.cpp.
Qt::ItemFlags ComponentModel::flags | ( | const QModelIndex & | index | ) | const [virtual] |
Definition at line 232 of file componentmodel.cpp.
QVariant ComponentModel::headerData | ( | int | section, | |
Qt::Orientation | orientation, | |||
int | role = Qt::DisplayRole | |||
) | const [virtual] |
Definition at line 171 of file componentmodel.cpp.
QModelIndex ComponentModel::index | ( | int | row, | |
int | column, | |||
const QModelIndex & | parent = QModelIndex() | |||
) | const [virtual] |
Definition at line 197 of file componentmodel.cpp.
QMimeData * ComponentModel::mimeData | ( | const QModelIndexList & | indexes | ) | const [virtual] |
Definition at line 255 of file componentmodel.cpp.
QStringList ComponentModel::mimeTypes | ( | ) | const [virtual] |
Definition at line 247 of file componentmodel.cpp.
QModelIndex ComponentModel::parent | ( | const QModelIndex & | child | ) | const [virtual] |
Definition at line 217 of file componentmodel.cpp.
int ComponentModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 281 of file componentmodel.cpp.