LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
A model to be used with UnhideListViewBase. More...
#include "unhidelistmodel.h"
Public Types | |
enum | Roles { ItemClass = Qt::UserRole + 1, ItemName, ItemDescription, ItemIcon } |
Various unhide roles to be set by the rows of this model. More... | |
Public Member Functions | |
UnhideListModel (QObject *parent) | |
Constructs the model with the given parent. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from LC::Util::RoleNamesMixin< QStandardItemModel > | |
void | setRoleNames (const QHash< int, QByteArray > &roleNames) |
Sets the role names to roleNames. More... | |
QHash< int, QByteArray > | roleNames () const override |
Returns the role names. More... | |
A model to be used with UnhideListViewBase.
This model just defines some roles used in various "unhide" lists and exposes them to QML.
Definition at line 32 of file unhidelistmodel.h.
Various unhide roles to be set by the rows of this model.
Definition at line 44 of file unhidelistmodel.h.
|
explicit |
Constructs the model with the given parent.
[in] | parent | The parent object of this model. |
Definition at line 19 of file unhidelistmodel.cpp.