Qt Mobility Reference Documentation

QSystemStorageInfo Class Reference

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

 #include <QSystemStorageInfo>

Public Types

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

Properties


Public Functions

QSystemStorageInfo ( QObject * parent = 0 )
~QSystemStorageInfo ()

Signals

void logicalDriveChanged ( bool added, const QString & vol )

Static Public Members

QStringList logicalDrives ()

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.

Access functions:

QStringList logicalDrives ()

Notifier signal:

void logicalDriveChanged ( bool added, const QString & vol )

Member Function Documentation

QSystemStorageInfo::QSystemStorageInfo ( QObject * parent = 0 )

Constructs a QSystemStorageInfo object with the given parent.

QSystemStorageInfo::~QSystemStorageInfo ()

Destroys the QSystemStorageInfo object.

void QSystemStorageInfo::logicalDriveChanged ( bool added, const QString & vol ) [signal]


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