Solid
Solid::Block Class Reference
This device interface is available on block devices. More...
#include <block.h>
Inheritance diagram for Solid::Block:

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] |
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
int Solid::Block::deviceMajor | ( | ) | const |
int Solid::Block::deviceMinor | ( | ) | const |
Property Documentation
The documentation for this class was generated from the following files: