Solid
Go to the documentation of this file.
21 #ifndef SOLID_STORAGEDRIVE_H
22 #define SOLID_STORAGEDRIVE_H
24 #include <solid/solid_export.h>
30 class StorageDrivePrivate;
43 Q_PROPERTY(
Bus bus READ bus)
44 Q_PROPERTY(DriveType driveType READ driveType)
45 Q_PROPERTY(
bool removable READ isRemovable)
46 Q_PROPERTY(
bool hotpluggable READ isHotpluggable)
47 Q_PROPERTY(
bool inUse READ isInUse)
48 Q_PROPERTY(qulonglong size READ size)
63 enum
Bus { Ide,
Usb, Ieee1394, Scsi, Sata, Platform };
78 enum DriveType { HardDisk, CdromDrive, Floppy, Tape, CompactFlash, MemoryStick, SmartMedia, SdMmc, Xd };
123 DriveType driveType()
const;
133 bool isRemovable()
const;
141 bool isHotpluggable()
const;
148 qulonglong size()
const;
157 bool isInUse()
const;
167 #endif // SOLID_STORAGEDRIVE_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Mar 20 2013 07:16:28 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.