File indexing completed on 2024-05-12 04:01:51
0001 /* 0002 SPDX-FileCopyrightText: 2011 Mario Bensi <mbensi@ipsquad.net> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #include "networkshare.h" 0008 #include "networkshare_p.h" 0009 0010 #include "soliddefs_p.h" 0011 #include <solid/devices/ifaces/networkshare.h> 0012 0013 Solid::NetworkShare::NetworkShare(QObject *backendObject) 0014 : DeviceInterface(*new NetworkSharePrivate(), backendObject) 0015 { 0016 } 0017 0018 Solid::NetworkShare::~NetworkShare() 0019 { 0020 } 0021 0022 Solid::NetworkShare::ShareType Solid::NetworkShare::type() const 0023 { 0024 Q_D(const NetworkShare); 0025 return_SOLID_CALL(Ifaces::NetworkShare *, d->backendObject(), Solid::NetworkShare::Unknown, type()); 0026 } 0027 0028 QUrl Solid::NetworkShare::url() const 0029 { 0030 Q_D(const NetworkShare); 0031 return_SOLID_CALL(Ifaces::NetworkShare *, d->backendObject(), QUrl(), url()); 0032 } 0033 0034 #include "moc_networkshare.cpp"