Changeset View
Changeset View
Standalone View
Standalone View
dataengines/soliddevice/soliddeviceengine.h
Show All 29 Lines | |||||
30 | #include <solid/deviceinterface.h> | 30 | #include <solid/deviceinterface.h> | ||
31 | #include <solid/predicate.h> | 31 | #include <solid/predicate.h> | ||
32 | 32 | | |||
33 | #include <Plasma/Service> | 33 | #include <Plasma/Service> | ||
34 | #include <Plasma/DataEngine> | 34 | #include <Plasma/DataEngine> | ||
35 | #include "devicesignalmapmanager.h" | 35 | #include "devicesignalmapmanager.h" | ||
36 | #include "devicesignalmapper.h" | 36 | #include "devicesignalmapper.h" | ||
37 | #include "hddtemp.h" | 37 | #include "hddtemp.h" | ||
38 | #include <KIO/FileSystemFreeSpaceJob> | ||||
broulik: Unused? | |||||
38 | 39 | | |||
39 | enum State { | 40 | enum State { | ||
40 | Idle = 0, | 41 | Idle = 0, | ||
41 | Mounting = 1, | 42 | Mounting = 1, | ||
42 | Unmounting = 2 | 43 | Unmounting = 2 | ||
43 | }; | 44 | }; | ||
44 | 45 | | |||
45 | enum OperationResult { | 46 | enum OperationResult { | ||
Show All 29 Lines | 69 | private: | |||
75 | void listenForNewDevices(); | 76 | void listenForNewDevices(); | ||
76 | 77 | | |||
77 | //predicate in string form, list of devices by udi | 78 | //predicate in string form, list of devices by udi | ||
78 | QMap<QString, QStringList> m_predicatemap; | 79 | QMap<QString, QStringList> m_predicatemap; | ||
79 | //udi, corresponding device | 80 | //udi, corresponding device | ||
80 | QMap<QString, Solid::Device> m_devicemap; | 81 | QMap<QString, Solid::Device> m_devicemap; | ||
81 | //udi, corresponding encrypted container udi; | 82 | //udi, corresponding encrypted container udi; | ||
82 | QMap<QString, QString> m_encryptedContainerMap; | 83 | QMap<QString, QString> m_encryptedContainerMap; | ||
84 | //path, corresponding timer | ||||
85 | QSet<QString> m_paths; | ||||
83 | DeviceSignalMapManager *m_signalmanager; | 86 | DeviceSignalMapManager *m_signalmanager; | ||
84 | 87 | | |||
85 | HddTemp *m_temperature; | 88 | HddTemp *m_temperature; | ||
86 | Solid::DeviceNotifier *m_notifier; | 89 | Solid::DeviceNotifier *m_notifier; | ||
87 | 90 | | |||
88 | private Q_SLOTS: | 91 | private Q_SLOTS: | ||
89 | void deviceAdded(const QString &udi); | 92 | void deviceAdded(const QString &udi); | ||
90 | void deviceRemoved(const QString &udi); | 93 | void deviceRemoved(const QString &udi); | ||
Show All 9 Lines |
Unused?