The QSystemStorageInfo class provides access to memory and disk information from the system. More...
#include <QSystemStorageInfo>
| enum | DriveType { NoDrive, InternalDrive, RemovableDrive, RemoteDrive, CdromDrive } |
| QSystemStorageInfo ( QObject * parent = 0 ) | |
| ~QSystemStorageInfo () |
| void | logicalDriveChanged ( bool added, const QString & vol ) |
| QStringList | logicalDrives () |
The QSystemStorageInfo class provides access to memory and disk information from the system.
Constructs a QSystemStorageInfo object with the given parent.
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.
Access functions:
| QStringList | logicalDrives () |
Notifier signal:
| void | logicalDriveChanged ( bool added, const QString & vol ) |
Destroys the QSystemStorageInfo object.