Changeset View
Changeset View
Standalone View
Standalone View
interfaces/devicesmodel.h
Context not available. | |||||
60 | Q_FLAGS(StatusFilterFlags) | 60 | Q_FLAGS(StatusFilterFlags) | ||
---|---|---|---|---|---|
61 | Q_ENUM(StatusFilterFlag) | 61 | Q_ENUM(StatusFilterFlag) | ||
62 | 62 | | |||
63 | explicit DevicesModel(QObject *parent = nullptr); | 63 | explicit DevicesModel(QObject* parent = nullptr); | ||
64 | ~DevicesModel() override; | 64 | ~DevicesModel() override; | ||
65 | 65 | | |||
66 | void setDisplayFilter(int flags); | 66 | void setDisplayFilter(int flags); | ||
Context not available. | |||||
87 | int rowForDevice(const QString& id) const; | 87 | int rowForDevice(const QString& id) const; | ||
88 | void clearDevices(); | 88 | void clearDevices(); | ||
89 | void appendDevice(DeviceDbusInterface* dev); | 89 | void appendDevice(DeviceDbusInterface* dev); | ||
90 | bool passesFilter(DeviceDbusInterface *dev) const; | 90 | bool passesFilter(DeviceDbusInterface* dev) const; | ||
91 | 91 | | |||
92 | DaemonDbusInterface* m_dbusInterface; | 92 | DaemonDbusInterface* m_dbusInterface; | ||
93 | QVector<DeviceDbusInterface*> m_deviceList; | 93 | QVector<DeviceDbusInterface*> m_deviceList; | ||
Context not available. |