Home · All Classes · All Functions ·

QSystemStorageInfo Class Reference

The QSystemStorageInfo class provides access to memory and disk information from the system. More...

    #include <QSystemStorageInfo>

Inherits QObject.

Public Types

Properties

Public Functions

Static Public Members

Additional Inherited Members


Detailed Description

The QSystemStorageInfo class provides access to memory and disk information from the system.


Member Type Documentation

enum QSystemStorageInfo::DriveType

This enum describes the type of drive or volume

ConstantValueDescription
QSystemStorageInfo::NoDrive0Drive type undetermined.
QSystemStorageInfo::InternalDrive1Is internal drive.
QSystemStorageInfo::RemovableDrive2Is removable.
QSystemStorageInfo::RemoteDrive3Is a network drive.
QSystemStorageInfo::CdromDrive4Is a cd rom drive.


Property Documentation

logicalDrives : const QStringList

This property holds the logical drives.

Returns a QStringList of volumes or partitions, or an empty list if no drives are found.

Access functions:


Member Function Documentation

QSystemStorageInfo::QSystemStorageInfo ( QObject * parent = 0 )

Constructs a QSystemStorageInfo object with the given parent.

QSystemStorageInfo::~QSystemStorageInfo ()

Destroys the QSystemStorageInfo object.

qlonglong QSystemStorageInfo::availableDiskSpace ( const QString & volumeDrive )

Returns the amount of available free space on the volumeDrive, in bytes.

qlonglong QSystemStorageInfo::totalDiskSpace ( const QString & volumeDrive )

Returns the amount of total space on the volumeDrive, in bytes.

QSystemStorageInfo::DriveType QSystemStorageInfo::typeForDrive ( const QString & driveVolume )

Returns the type of volume driveVolume


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.1