Changeset View
Changeset View
Standalone View
Standalone View
src/solid/devices/backends/fstab/fstabdevice.h
Show All 34 Lines | 26 | public: | |||
---|---|---|---|---|---|
35 | QString vendor() const override; | 35 | QString vendor() const override; | ||
36 | 36 | | |||
37 | QString product() const override; | 37 | QString product() const override; | ||
38 | 38 | | |||
39 | QString icon() const override; | 39 | QString icon() const override; | ||
40 | 40 | | |||
41 | QStringList emblems() const override; | 41 | QStringList emblems() const override; | ||
42 | 42 | | |||
43 | QString displayName() const; | ||||
44 | | ||||
43 | QString description() const override; | 45 | QString description() const override; | ||
44 | 46 | | |||
45 | bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const override; | 47 | bool queryDeviceInterface(const Solid::DeviceInterface::Type &type) const override; | ||
46 | 48 | | |||
47 | QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type) override; | 49 | QObject *createDeviceInterface(const Solid::DeviceInterface::Type &type) override; | ||
48 | 50 | | |||
49 | QString device() const; | 51 | QString device() const; | ||
50 | 52 | | |||
51 | Q_SIGNALS: | 53 | Q_SIGNALS: | ||
52 | void mtabChanged(const QString &device); | 54 | void mtabChanged(const QString &device); | ||
53 | 55 | | |||
54 | public Q_SLOTS: | 56 | public Q_SLOTS: | ||
55 | void onMtabChanged(const QString &device); | 57 | void onMtabChanged(const QString &device); | ||
56 | 58 | | |||
57 | private: | 59 | private: | ||
58 | QString m_uid; | 60 | QString m_uid; | ||
59 | QString m_device; | 61 | QString m_device; | ||
60 | QString m_product; | 62 | QString m_product; | ||
61 | QString m_vendor; | 63 | QString m_vendor; | ||
64 | QString m_displayName; | ||||
bruns: Wrong variable name | |||||
62 | QString m_description; | 65 | QString m_description; | ||
63 | QString m_iconName; | 66 | QString m_iconName; | ||
64 | QPointer<FstabStorageAccess> m_storageAccess; | 67 | QPointer<FstabStorageAccess> m_storageAccess; | ||
65 | enum class StorageType : uint8_t { | 68 | enum class StorageType : uint8_t { | ||
66 | Other = 0, | 69 | Other = 0, | ||
67 | NetworkShare, | 70 | NetworkShare, | ||
68 | Encrypted, | 71 | Encrypted, | ||
69 | }; | 72 | }; | ||
70 | StorageType m_storageType = StorageType::Other; | 73 | StorageType m_storageType = StorageType::Other; | ||
71 | }; | 74 | }; | ||
72 | 75 | | |||
73 | } | 76 | } | ||
74 | } | 77 | } | ||
75 | } | 78 | } | ||
76 | #endif // SOLID_BACKENDS_FSTAB_FSTAB_DEVICE_H | 79 | #endif // SOLID_BACKENDS_FSTAB_FSTAB_DEVICE_H |
Wrong variable name