Solid

frontend/networkshare.cpp
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#include "networkshare.h"
8#include "networkshare_p.h"
9
10#include "soliddefs_p.h"
11#include <solid/devices/ifaces/networkshare.h>
12
13Solid::NetworkShare::NetworkShare(QObject *backendObject)
14 : DeviceInterface(*new NetworkSharePrivate(), backendObject)
15{
16}
17
21
22Solid::NetworkShare::ShareType Solid::NetworkShare::type() const
23{
24 Q_D(const NetworkShare);
25 return_SOLID_CALL(Ifaces::NetworkShare *, d->backendObject(), Solid::NetworkShare::Unknown, type());
26}
27
28QUrl Solid::NetworkShare::url() const
29{
30 Q_D(const NetworkShare);
31 return_SOLID_CALL(Ifaces::NetworkShare *, d->backendObject(), QUrl(), url());
32}
33
34#include "moc_networkshare.cpp"
NetworkShare interface.
NetworkShare interface.
ShareType
This enum type defines the type of networkShare device can be.
~NetworkShare() override
Destroys a NetworkShare object.
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:56:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.