Solid::NetworkShare Class Reference
#include <networkshare.h>
Inheritance diagram for Solid::NetworkShare:

Public Types | |
| enum | ShareType { Unknown, Nfs, Cifs, Upnp } |
Public Member Functions | |
| virtual | ~NetworkShare () |
| ShareType | type () const |
| QUrl | url () const |
Static Public Member Functions | |
| static Type | deviceInterfaceType () |
Properties | |
| ShareType | type |
| QUrl | url |
Detailed Description
NetworkShare interface.
a NetworkShare interface is used to determine the type of network access.
- Since:
- 4.7
Member Enumeration Documentation
This enum type defines the type of networkShare device can be.
- Unknown : a unsupported network protocol
- Nfs : nfs protocol
- Cifs : samba protocol
- Upnp : Upnp protocol
Definition at line 79 of file networkshare.h.
Constructor & Destructor Documentation
| Solid::NetworkShare::~NetworkShare | ( | ) | [virtual] |
Destroys a NetworkShare object.
Definition at line 32 of file networkshare.cpp.
Member Function Documentation
| static Type Solid::NetworkShare::deviceInterfaceType | ( | ) | [inline, static] |
Get the Solid::DeviceInterface::Type of the NetworkShare device interface.
- Returns:
- the NetworkShare device interface type
- See also:
- Solid::DeviceInterface::Type
Definition at line 87 of file networkshare.h.
| ShareType Solid::NetworkShare::type | ( | ) | const |
Retrieves the type of network share.
- Returns:
- the type of network share
| QUrl Solid::NetworkShare::url | ( | ) | const |
Retrieves the url of network share.
- Returns:
- the url of network share
Property Documentation
Solid::NetworkShare::ShareType Solid::NetworkShare::type [read] |
Definition at line 48 of file networkshare.h.
QUrl Solid::NetworkShare::url [read] |
Definition at line 49 of file networkshare.h.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference