7#ifndef SOLID_BACKENDS_FSTAB_STORAGEACCESS_H
8#define SOLID_BACKENDS_FSTAB_STORAGEACCESS_H
10#include <solid/devices/ifaces/storageaccess.h>
27 explicit FstabStorageAccess(Solid::Backends::Fstab::FstabDevice *device);
29 ~FstabStorageAccess()
override;
31 bool isAccessible()
const override;
33 QString filePath()
const override;
35 bool isIgnored()
const override;
37 bool isEncrypted()
const override;
39 bool setup()
override;
41 bool teardown()
override;
44 const Solid::Backends::Fstab::FstabDevice *fstabDevice()
const;
47 void accessibilityChanged(
bool accessible,
const QString &udi)
override;
49 void setupDone(Solid::ErrorType error,
QVariant data,
const QString &udi)
override;
51 void teardownDone(Solid::ErrorType error,
QVariant data,
const QString &udi)
override;
53 void setupRequested(
const QString &udi)
override;
55 void teardownRequested(
const QString &udi)
override;
57 void repairRequested(
const QString &udi)
override;
59 void repairDone(Solid::ErrorType error,
QVariant resultData,
const QString &udi)
override;
62 void onMtabChanged(
const QString &device);
63 void connectDBusSignals();
65 void slotSetupRequested();
66 void slotSetupDone(
int error,
const QString &errorString);
67 void slotTeardownRequested();
68 void slotTeardownDone(
int error,
const QString &errorString);
71 Solid::Backends::Fstab::FstabDevice *m_fstabDevice;
This device interface is available on volume devices.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:22 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.