Changeset View
Changeset View
Standalone View
Standalone View
src/solid/devices/backends/fakehw/fakestorageaccess.h
Show All 39 Lines | 38 | public: | |||
---|---|---|---|---|---|
40 | virtual ~FakeStorageAccess(); | 40 | virtual ~FakeStorageAccess(); | ||
41 | 41 | | |||
42 | bool isAccessible() const override; | 42 | bool isAccessible() const override; | ||
43 | QString filePath() const override; | 43 | QString filePath() const override; | ||
44 | bool isIgnored() const override; | 44 | bool isIgnored() const override; | ||
45 | public Q_SLOTS: | 45 | public Q_SLOTS: | ||
46 | bool setup() override; | 46 | bool setup() override; | ||
47 | bool teardown() override; | 47 | bool teardown() override; | ||
48 | bool changeLabel(const QString &label) override; | ||||
48 | 49 | | |||
49 | Q_SIGNALS: | 50 | Q_SIGNALS: | ||
50 | void accessibilityChanged(bool accessible, const QString &udi) override; | 51 | void accessibilityChanged(bool accessible, const QString &udi) override; | ||
51 | void setupDone(Solid::ErrorType error, QVariant errorData, const QString &udi) override; | 52 | void setupDone(Solid::ErrorType error, QVariant errorData, const QString &udi) override; | ||
52 | void teardownDone(Solid::ErrorType error, QVariant errorData, const QString &udi) override; | 53 | void teardownDone(Solid::ErrorType error, QVariant errorData, const QString &udi) override; | ||
54 | void labelChanged(Solid::ErrorType error, QVariant errorData, const QString &udi) override; | ||||
53 | void setupRequested(const QString &udi) override; | 55 | void setupRequested(const QString &udi) override; | ||
54 | void teardownRequested(const QString &udi) override; | 56 | void teardownRequested(const QString &udi) override; | ||
57 | void changeLabelRequested(const QString &udi) override; | ||||
55 | 58 | | |||
56 | private Q_SLOTS: | 59 | private Q_SLOTS: | ||
57 | void onPropertyChanged(const QMap<QString, int> &changes); | 60 | void onPropertyChanged(const QMap<QString, int> &changes); | ||
58 | }; | 61 | }; | ||
59 | } | 62 | } | ||
60 | } | 63 | } | ||
61 | } | 64 | } | ||
62 | 65 | | |||
63 | #endif // SOLID_BACKENDS_FAKEHW_FAKESTORAGEACCESS_H | 66 | #endif // SOLID_BACKENDS_FAKEHW_FAKESTORAGEACCESS_H |