Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

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.

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année

Le blog Digia au hasard

Logo

Créer des applications avec un style Metro avec Qt, exemples en QML et C++, un article de Digia Qt traduit par Thibaut Cuvelier

Le blog Digia est l'endroit privilégié pour la communication sur l'édition commerciale de Qt, où des réponses publiques sont apportées aux questions les plus posées au support. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web