Solid::Ifaces::NetworkShare Class

class Solid::Ifaces::NetworkShare
Header: #include <NetworkShare>
CMake: find_package(KF6 REQUIRED COMPONENTS Solid)
target_link_libraries(mytarget PRIVATE KF6::Solid)
Inherits: Solid::Ifaces::DeviceInterface

Public Functions

virtual ~NetworkShare() override
virtual Solid::NetworkShare::ShareType type() const = 0
virtual QUrl url() const = 0

Detailed Description

NetworkShare interface.

a NetworkShare interface is used to determine the type of network access.

Member Function Documentation

[override virtual noexcept] NetworkShare::~NetworkShare()

Destroys a NetworkShare object.

[pure virtual] Solid::NetworkShare::ShareType NetworkShare::type() const

Retrieves the type of network

@return the type of network

[pure virtual] QUrl NetworkShare::url() const

Retrieves the url of network share

@return the url of network share