Changeset View
Changeset View
Standalone View
Standalone View
src/kcmodule/devices/devices.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 62 | public: | |||
---|---|---|---|---|---|
65 | 65 | | |||
66 | void load() override; | 66 | void load() override; | ||
67 | void save() override; | 67 | void save() override; | ||
68 | 68 | | |||
69 | private Q_SLOTS: | 69 | private Q_SLOTS: | ||
70 | void initJobResult(BluezQt::InitManagerJob *job); | 70 | void initJobResult(BluezQt::InitManagerJob *job); | ||
71 | 71 | | |||
72 | void addDevice(); | 72 | void addDevice(); | ||
73 | void removeDevice(); | 73 | void removeSelectedDevices(); | ||
74 | void currentChanged(); | 74 | void selectionChanged(); | ||
75 | 75 | | |||
76 | void deviceAdded(); | 76 | void deviceAdded(); | ||
77 | void deviceRemoved(); | 77 | void deviceRemoved(); | ||
78 | void bluetoothOperationalChanged(bool operational); | 78 | void bluetoothOperationalChanged(bool operational); | ||
79 | 79 | | |||
80 | private: | 80 | private: | ||
81 | void showDeviceDetails(); | 81 | void showDeviceDetails(); | ||
82 | void showConfigureMessage(); | 82 | void showConfigureMessage(); | ||
83 | void showNoDevicesMessage(); | 83 | void showNoDevicesMessage(); | ||
84 | 84 | | |||
85 | bool showingDeviceDetails() const; | 85 | bool showingDeviceDetails() const; | ||
86 | bool multipleDevicesSelected() const; | ||||
86 | BluezQt::DevicePtr currentDevice() const; | 87 | BluezQt::DevicePtr currentDevice() const; | ||
87 | 88 | | |||
88 | Ui::Devices *m_ui; | 89 | Ui::Devices *m_ui; | ||
89 | BluezQt::Manager *m_manager; | 90 | BluezQt::Manager *m_manager; | ||
90 | BluezQt::DevicesModel *m_devicesModel; | 91 | BluezQt::DevicesModel *m_devicesModel; | ||
91 | DevicesProxyModel *m_proxyModel; | 92 | DevicesProxyModel *m_proxyModel; | ||
92 | 93 | | |||
93 | SystemCheck *m_systemCheck; | 94 | SystemCheck *m_systemCheck; | ||
94 | DeviceDetails *m_deviceDetails; | 95 | DeviceDetails *m_deviceDetails; | ||
95 | QStackedLayout *m_contentLayout; | 96 | QStackedLayout *m_contentLayout; | ||
96 | }; | 97 | }; | ||
97 | 98 | | |||
98 | #endif // BLUEDEVILDEVICES_H | 99 | #endif // BLUEDEVILDEVICES_H |