Solid

ifaces/storageaccess.cpp
1/*
2 SPDX-FileCopyrightText: 2007 Kevin Ottens <ervin@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#include "storageaccess.h"
8
12
14{
15 return false;
16}
17
19{
20 return false;
21}
22
24{
25 return false;
26}
27
29{
30 return false;
31}
32
34{
35 Q_UNUSED(udi);
36}
37
38void Solid::Ifaces::StorageAccess::checkDone(ErrorType error, QVariant resultData, const QString &udi)
39{
40 Q_UNUSED(error);
41 Q_UNUSED(resultData);
42 Q_UNUSED(udi);
43}
44
46{
47 Q_UNUSED(udi);
48}
49
50void Solid::Ifaces::StorageAccess::repairDone(Solid::ErrorType error, QVariant resultData, const QString &udi)
51{
52 Q_UNUSED(error);
53 Q_UNUSED(resultData);
54 Q_UNUSED(udi);
55}
virtual bool canCheck() const
Indicates if this volume can check for filesystem errors.
virtual bool check()
Checks the filesystem for consistency avoiding any modifications or repairs.
virtual void checkRequested(const QString &udi)
This signal is emitted when a check of this device is requested.
virtual bool repair()
Tries to repair the filesystem.
virtual void checkDone(Solid::ErrorType error, QVariant resultData, const QString &udi)
This signal is emitted when the attempted checked of this device is completed.
~StorageAccess() override
Destroys a StorageVolume object.
virtual void repairDone(Solid::ErrorType error, QVariant resultData, const QString &udi)
This signal is emitted when the attempted repaired of this device is completed.
virtual bool canRepair() const
Indicates if this volume can repair filesystem errors.
virtual void repairRequested(const QString &udi)
This signal is emitted when a repair of this device is requested.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:55:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.