Qt Simulator Manual 1.2.0

StorageSystemInfoScriptInterface Class Reference

Exposed as sysinfo.storage. More...

 #include <StorageSystemInfoScriptInterface>

Public Types

enum DriveType { NoDrive, InternalDrive, RemovableDrive, RemoteDrive, CdromDrive }

Public Functions

StorageSystemInfoScriptInterface ( StorageSystemInfoUi * ui )
virtual ~StorageSystemInfoScriptInterface ()
qint64 availableDiskSpace ( const QString & name ) const
QStringList logicalDrives () const
qint64 totalDiskSpace ( const QString & name ) const
DriveType typeForDrive ( const QString & name ) const

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]

bool StorageSystemInfoScriptInterface::setType ( const QString & name, StorageSystemInfoScriptInterface::DriveType type ) [slot]

qint64 StorageSystemInfoScriptInterface::totalDiskSpace ( const QString & name ) const

DriveType StorageSystemInfoScriptInterface::typeForDrive ( const QString & name ) const

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();