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

Solid

Solid::Block

Solid::Block Class Reference

This device interface is available on block devices. More...

#include <block.h>

Inheritance diagram for Solid::Block:
Solid::DeviceInterface QObject

List of all members.

Public Member Functions

QString device () const
int deviceMajor () const
int deviceMinor () const
virtual ~Block ()

Static Public Member Functions

static Type deviceInterfaceType ()

Properties

QString device
int major
int minor

Detailed Description

This device interface is available on block devices.

A block device is an adressable device such as drive or partition. It is possible to interact with such a device using a special file in the system.

Definition at line 39 of file block.h.


Constructor & Destructor Documentation

Solid::Block::~Block (  )  [virtual]

Destroys a Block object.

Definition at line 31 of file block.cpp.


Member Function Documentation

QString Solid::Block::device (  )  const

Retrieves the absolute path of the special file to interact with the device.

Returns:
the absolute path of the special file to interact with the device
static Type Solid::Block::deviceInterfaceType (  )  [inline, static]

Get the Solid::DeviceInterface::Type of the Block device interface.

Returns:
the Block device interface type
See also:
Solid::Ifaces::Enums::DeviceInterface::Type

Definition at line 72 of file block.h.

int Solid::Block::deviceMajor (  )  const

Retrieves the major number of the node file to interact with the device.

Returns:
the device major number

Definition at line 36 of file block.cpp.

int Solid::Block::deviceMinor (  )  const

Retrieves the minor number of the node file to interact with the device.

Returns:
the device minor number

Definition at line 42 of file block.cpp.


Property Documentation

QString Solid::Block::device [read]

Definition at line 44 of file block.h.

int Solid::Block::major [read]

Definition at line 42 of file block.h.

int Solid::Block::minor [read]

Definition at line 43 of file block.h.


The documentation for this class was generated from the following files:
  • block.h
  • block.cpp

Solid

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal