Library::ProcessesItemModel Class Reference
Inheritance diagram for Library::ProcessesItemModel:
TreeNodeBasedItemModel< ProcessNode > TreeModel

Public Member Functions

 ProcessesItemModel (const score::GUIApplicationContext &ctx, QObject *parent)
 
void rescan ()
 
QModelIndex find (const Process::ProcessModelFactory::ConcreteKey &k)
 
ProcessNoderootNode () override
 
const ProcessNoderootNode () const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QStringList mimeTypes () const override
 
QMimeData * mimeData (const QModelIndexList &indexes) const override
 
Qt::DropActions supportedDragActions () const override
 
void on_newPlugin (const Process::ProcessModelFactory &fact)
 
- Public Member Functions inherited from TreeNodeBasedItemModel< ProcessNode >
ProcessNode & nodeFromModelIndex (const QModelIndex &index) const
 
QModelIndex parent (const QModelIndex &index) const final override
 
QModelIndex index (int row, int column, const QModelIndex &parent) const final override
 
int rowCount (const QModelIndex &parent) const final override
 
bool hasChildren (const QModelIndex &parent) const final override
 
- Public Member Functions inherited from TreeModel
template<typename F >
void iterate (const QModelIndex &idx, const F &f)
 idx: should be the root index of the view
 
QModelIndex convertPathToIndex (const TreePath &path) const
 

Additional Inherited Members

- Public Types inherited from TreeNodeBasedItemModel< ProcessNode >
using node_type = ProcessNode
 

The documentation for this class was generated from the following files: