Solid

fstabnetworkshare.h
1/*
2 SPDX-FileCopyrightText: 2011 Mario Bensi <mbensi@ipsquad.net>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_BACKENDS_FSTAB_NETWORKSHARE_H
8#define SOLID_BACKENDS_FSTAB_NETWORKSHARE_H
9
10#include <solid/devices/ifaces/networkshare.h>
11
12#include <QObject>
13
14namespace Solid
15{
16namespace Backends
17{
18namespace Fstab
19{
20class FstabDevice;
21class FstabNetworkShare : public QObject, public Solid::Ifaces::NetworkShare
22{
25
26public:
27 explicit FstabNetworkShare(Solid::Backends::Fstab::FstabDevice *device);
28
29 ~FstabNetworkShare() override;
30
31 Solid::NetworkShare::ShareType type() const override;
32
33 QUrl url() const override;
34
35public:
36 const Solid::Backends::Fstab::FstabDevice *fstabDevice() const;
37
38private:
39 Solid::Backends::Fstab::FstabDevice *m_fstabDevice;
41 QUrl m_url;
42};
43
44}
45}
46}
47
48#endif // SOLID_BACKENDS_FSTAB_NETWORKSHARE_H
NetworkShare interface.
ShareType
This enum type defines the type of networkShare device can be.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
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.