|
|
| ProjectModel (QObject *parent=nullptr) |
| |
|
void | make_root () |
| |
|
void | destroy_root () |
| |
|
void | clear () |
| |
|
Media * | get_root () |
| |
|
QVariant | data (const QModelIndex &index, int role) const override |
| |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
| |
|
QModelIndex | create_index (int arow, int acolumn, void *aid) |
| |
|
QModelIndex | parent (const QModelIndex &index) const override |
| |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| |
|
Media * | getItem (const QModelIndex &index) const |
| |
|
void | appendChild (Media *parent, Media *child) |
| |
|
void | moveChild (Media *child, Media *to) |
| |
|
void | removeChild (Media *parent, Media *m) |
| |
|
Media * | child (int i, Media *parent=nullptr) |
| |
|
int | childCount (Media *parent=nullptr) |
| |
|
void | set_icon (Media *m, const QIcon &ico) |
| |
The documentation for this class was generated from the following files: