DeviceManagerModel Class
(ProjectExplorer::DeviceManagerModel)Inherits: | QAbstractListModel |
Public Functions
DeviceManagerModel(const DeviceManager *deviceManager, QObject *parent = 0) | |
~DeviceManagerModel() override | |
IDevice::ConstPtr | device(int pos) const |
Core::Id | deviceId(int pos) const |
int | indexForId(Core::Id id) const |
int | indexOf(IDevice::ConstPtr dev) const |
void | setFilter(const QList<Core::Id> &filter) |
void | setTypeFilter(Core::Id type) |
void | updateDevice(Core::Id id) |
Reimplemented Public Functions
virtual int | rowCount(const QModelIndex &parent = QModelIndex()) const override |
- 4 public functions inherited from QAbstractListModel
- 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
DeviceManagerModel::DeviceManagerModel(const DeviceManager *deviceManager, QObject *parent = 0)
Default constructs an instance of DeviceManagerModel.
DeviceManagerModel::~DeviceManagerModel()
Destroys the instance of DeviceManagerModel.