StorageSystemInfoScriptInterface Class Reference
Exposed as sysinfo.storage. More...
#include <StorageSystemInfoScriptInterface>
Public Types
enum | DriveType { NoDrive, InternalDrive, RemovableDrive, RemoteDrive, CdromDrive } |
Public Functions
Public Slots
bool | addDrive ( const QString & name ) |
bool | addDrive ( const QString & name, StorageSystemInfoScriptInterface::DriveType type, qint64 totalSpace, qint64 availableSpace ) |
bool | removeDrive ( const QString & name ) |
bool | setAvailableSpace ( const QString & name, qint64 space ) |
bool | setName ( const QString & oldname, const QString & newname ) |
bool | setTotalSpace ( const QString & name, qint64 space ) |
bool | setType ( const QString & name, StorageSystemInfoScriptInterface::DriveType type ) |
Detailed Description
Exposed as sysinfo.storage.
Member Type Documentation
enum StorageSystemInfoScriptInterface::DriveType
Member Function Documentation
StorageSystemInfoScriptInterface::StorageSystemInfoScriptInterface ( StorageSystemInfoUi * ui )
StorageSystemInfoScriptInterface::~StorageSystemInfoScriptInterface () [virtual]
bool StorageSystemInfoScriptInterface::addDrive ( const QString & name ) [slot]
bool StorageSystemInfoScriptInterface::addDrive ( const QString & name, StorageSystemInfoScriptInterface::DriveType type, qint64 totalSpace, qint64 availableSpace ) [slot]
qint64 StorageSystemInfoScriptInterface::availableDiskSpace ( const QString & name ) const
QStringList StorageSystemInfoScriptInterface::logicalDrives () const
bool StorageSystemInfoScriptInterface::removeDrive ( const QString & name ) [slot]
bool StorageSystemInfoScriptInterface::setAvailableSpace ( const QString & name, qint64 space ) [slot]
bool StorageSystemInfoScriptInterface::setName ( const QString & oldname, const QString & newname ) [slot]
bool StorageSystemInfoScriptInterface::setTotalSpace ( const QString & name, qint64 space ) [slot]
qint64 StorageSystemInfoScriptInterface::totalDiskSpace ( const QString & name ) const
DriveType StorageSystemInfoScriptInterface::typeForDrive ( const QString & name ) const
|