QStorageDeviceSelector Class Reference
[QtBaseModule]
The QStorageDeviceSelector class displays a list of available storage locations. More...
#include <QStorageDeviceSelector>
Inherits QComboBox.
Public Functions
- 55 public functions inherited from QComboBox
- 206 public functions inherited from QWidget
- 29 public functions inherited from QObject
- 14 public functions inherited from QPaintDevice
Signals
Additional Inherited Members
- 13 properties inherited from QComboBox
- 57 properties inherited from QWidget
- 1 property inherited from QObject
- 4 public slots inherited from QComboBox
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QWidget
- 4 static public members inherited from QObject
- 1 protected function inherited from QComboBox
- 38 protected functions inherited from QWidget
- 7 protected functions inherited from QObject
- 1 protected function inherited from QPaintDevice
- 1 protected slot inherited from QWidget
- 2 protected variables inherited from QObject
- 1 protected type inherited from QPaintDevice
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 |