Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QStorageDeviceSelector Class Reference
[QtBaseModule]

The QStorageDeviceSelector class displays a list of available storage locations. More...

    #include <QStorageDeviceSelector>

Inherits QComboBox.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The QStorageDeviceSelector class displays a list of available storage locations.

See also QDocumentPropertiesDialog.


Member Function Documentation

QStorageDeviceSelector::QStorageDeviceSelector ( QWidget * parent = 0 )

Constructs a QStorageDeviceSelector with parent parent.

QStorageDeviceSelector::QStorageDeviceSelector ( const QContent & lnk, QWidget * parent = 0 )

Constructs a QStorageDeviceSelector with parent parent. lnk is pointer to an existing QContent.

QStorageDeviceSelector::~QStorageDeviceSelector ()

Destroys the widget.

QString QStorageDeviceSelector::documentPath () const

Returns the document path, <path>/Documents associated with this QStorageDeviceSelector.

const QFileSystem * QStorageDeviceSelector::fileSystem () const

Returns a pointer to QFileSystem object, associated with the current selection of the QStorageDeviceSelector.

QString QStorageDeviceSelector::installationPath () const

Returns the default (home) location for the file associated with this QStorageDeviceSelector.

bool QStorageDeviceSelector::isChanged () const

Returns true indicating the location displayed has been changed via the QStorageDeviceSelector. It is most useful when the QStorageDeviceSelector is part of a dialog. That is, when the dialog is accepted with accept(), QStorageDeviceSelector::isChanged() can be examined to check for a change of location.

void QStorageDeviceSelector::newPath ()   [signal]

Emitted when the QStorageDeviceSelector changes to a new location.

void QStorageDeviceSelector::setFilter ( QFileSystemFilter * fsf )

QStorageDeviceSelector only shows those filesystems which pass the conditions of fsf.

void QStorageDeviceSelector::setLocation ( const QString & path )

Sets the display of the QStorageDeviceSelector to the location containing path.

void QStorageDeviceSelector::setLocation ( const QContent & lnk )

This is an overloaded member function, provided for convenience.

Sets the display of the QStorageDeviceSelector to the location associated with the QContent lnk.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3