OverviewModel Class
(CPlusPlus::OverviewModel)Inherits: | QAbstractItemModel |
Public Types
enum | Role { FileNameRole, LineNumberRole } |
Public Functions
OverviewModel(QObject *parent = 0) | |
virtual | ~OverviewModel() |
Document::Ptr | document() const |
void | rebuild(Document::Ptr doc) |
Symbol * | symbolFromIndex(const QModelIndex &index) const |
Reimplemented Public Functions
virtual int | columnCount(const QModelIndex &parent = QModelIndex()) const |
virtual QVariant | data(const QModelIndex &index, int role = Qt::DisplayRole) const |
virtual Qt::ItemFlags | flags(const QModelIndex &index) const |
virtual QModelIndex | index(int row, int column, const QModelIndex &parent = QModelIndex()) const |
virtual QMimeData * | mimeData(const QModelIndexList &indexes) const |
virtual QStringList | mimeTypes() const |
virtual QModelIndex | parent(const QModelIndex &child) const |
virtual int | rowCount(const QModelIndex &parent = QModelIndex()) const |
virtual Qt::DropActions | supportedDragActions() const |
- 39 public functions inherited from QAbstractItemModel
- 32 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 2 public slots inherited from QAbstractItemModel
- 1 public slot inherited from QObject
- 18 signals inherited from QAbstractItemModel
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 19 protected functions inherited from QAbstractItemModel
- 9 protected functions inherited from QObject
- 1 protected slot inherited from QAbstractItemModel
- 2 protected variables inherited from QObject
Member Function Documentation
OverviewModel::OverviewModel(QObject *parent = 0)
Default constructs an instance of OverviewModel.
[virtual]
OverviewModel::~OverviewModel()
Destroys the instance of OverviewModel. The destructor is virtual.