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

Solid

  • Solid
  • Block
Public Member Functions | Static Public Member Functions | Properties

Solid::Block Class Reference

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

#include <block.h>

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

List of all members.

Public Member Functions

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

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 40 of file block.h.


Constructor & Destructor Documentation

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

Destroys a Block object.

Definition at line 32 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 73 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 37 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 43 of file block.cpp.


Property Documentation

QString Solid::Block::device [read]

Definition at line 45 of file block.h.

int Solid::Block::major [read]

Definition at line 43 of file block.h.

int Solid::Block::minor [read]

Definition at line 44 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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