![]() |
Home · All Classes · All Functions · | ![]() |
The QSystemStorageInfo class provides access to memory and disk information from the system. More...
#include <QSystemStorageInfo>
Inherits QObject.
enum | DriveType { NoDrive, InternalDrive, RemovableDrive, RemoteDrive, CdromDrive } |
QSystemStorageInfo ( QObject * parent = 0 ) | |
~QSystemStorageInfo () | |
qlonglong | availableDiskSpace ( const QString & volumeDrive ) |
qlonglong | totalDiskSpace ( const QString & volumeDrive ) |
QSystemStorageInfo::DriveType | typeForDrive ( const QString & driveVolume ) |
QStringList | logicalDrives () |
The QSystemStorageInfo class provides access to memory and disk information from the system.
This enum describes the type of drive or volume
Constant | Value | Description |
---|---|---|
QSystemStorageInfo::NoDrive | 0 | Drive type undetermined. |
QSystemStorageInfo::InternalDrive | 1 | Is internal drive. |
QSystemStorageInfo::RemovableDrive | 2 | Is removable. |
QSystemStorageInfo::RemoteDrive | 3 | Is a network drive. |
QSystemStorageInfo::CdromDrive | 4 | Is a cd rom drive. |
This property holds the logical drives.
Returns a QStringList of volumes or partitions, or an empty list if no drives are found.
Access functions:
QStringList | logicalDrives () |
Constructs a QSystemStorageInfo object with the given parent.
Destroys the QSystemStorageInfo object.
Returns the amount of available free space on the volumeDrive, in bytes.
Returns the amount of total space on the volumeDrive, in bytes.
Returns the type of volume driveVolume
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.2 |