Solid::NetworkShare Class
class Solid::NetworkShareNetworkShare interface. More...
Header: | #include <Solid/NetworkShare> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Solid) target_link_libraries(mytarget PRIVATE KF6::Solid) |
Since: | 4.7 |
Inherits: | Solid::DeviceInterface |
Public Types
enum | ShareType { Unknown, Nfs, Cifs, Smb3 } |
Properties
Public Functions
Static Public Members
Solid::DeviceInterface::Type | deviceInterfaceType() |
Detailed Description
A NetworkShare interface is used to determine the type of network access.
Member Type Documentation
enum NetworkShare::ShareType
This enum type defines the type of networkShare device can be.
Constant | Value | Description |
---|---|---|
Solid::NetworkShare::Unknown | 0 | a unsupported network protocol |
Solid::NetworkShare::Nfs | 1 | nfs protocol |
Solid::NetworkShare::Cifs | 2 | samba protocol |
Solid::NetworkShare::Smb3 | 3 | samba protocol (version 3) |
Property Documentation
[read-only]
type : const ShareType
Access functions:
Solid::NetworkShare::ShareType | type() const |
[read-only]
url : const QUrl
Access functions:
QUrl | url() const |
Member Function Documentation
[static]
Solid::DeviceInterface::Type NetworkShare::deviceInterfaceType()
Get the Solid::DeviceInterface::Type of the NetworkShare device interface.
Returns the NetworkShare device interface type
See also Solid::DeviceInterface::Type.
Solid::NetworkShare::ShareType NetworkShare::type() const
Retrieves the type of network share
Returns the type of network share
Note: Getter function for property type.
QUrl NetworkShare::url() const
Retrieves the url of network share
Returns the url of network share
Note: Getter function for property url.