• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Solid

  • Solid
  • NetworkShare
Public Types | Public Member Functions | Static Public Member Functions | Properties | List of all members
Solid::NetworkShare Class Reference

#include <networkshare.h>

Inheritance diagram for Solid::NetworkShare:
Inheritance graph
[legend]

Public Types

enum  ShareType { Unknown, Nfs, Cifs, Upnp }
 
- Public Types inherited from Solid::DeviceInterface
enum  Type {
  Unknown = 0, GenericInterface = 1, Processor = 2, Block = 3,
  StorageAccess = 4, StorageDrive = 5, OpticalDrive = 6, StorageVolume = 7,
  OpticalDisc = 8, Camera = 9, PortableMediaPlayer = 10, NetworkInterface = 11,
  AcAdapter = 12, Battery = 13, Button = 14, AudioInterface = 15,
  DvbInterface = 16, Video = 17, SerialInterface = 18, SmartCardReader = 19,
  InternetGateway = 20, NetworkShare = 21, Last = 0xffff
}
 

Public Member Functions

virtual ~NetworkShare ()
 
ShareType type () const
 
QUrl url () const
 
- Public Member Functions inherited from Solid::DeviceInterface
virtual ~DeviceInterface ()
 
bool isValid () const
 

Static Public Member Functions

static Type deviceInterfaceType ()
 
- Static Public Member Functions inherited from Solid::DeviceInterface
static Type stringToType (const QString &type)
 
static QString typeDescription (Type type)
 
static QString typeToString (Type type)
 

Properties

ShareType type
 
QUrl url
 

Additional Inherited Members

- Protected Member Functions inherited from Solid::DeviceInterface
 DeviceInterface (DeviceInterfacePrivate &dd, QObject *backendObject)
 
- Protected Attributes inherited from Solid::DeviceInterface
DeviceInterfacePrivate * d_ptr
 

Detailed Description

NetworkShare interface.

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

Since
4.7

Definition at line 44 of file networkshare.h.

Member Enumeration Documentation

enum Solid::NetworkShare::ShareType

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
Enumerator
Unknown 
Nfs 
Cifs 
Upnp 

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 ( )
inlinestatic

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:
  • networkshare.h
  • networkshare.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Solid

Skip menu "Solid"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal