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::repairDone(Solid::ErrorType error, QVariant resultData, const QString &udi)
39{
40 Q_UNUSED(error);
41 Q_UNUSED(resultData);
42 Q_UNUSED(udi);
43}
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 bool repair()
Tries to repair the filesystem.
~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-2024 The KDE developers.
Generated on Fri May 17 2024 11:53:48 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.