|
gio-qt 0.0.16
|


Public Member Functions | |
| DGioDrive (Gio::Drive *gmmDrivePtr, QObject *parent=nullptr) | |
| QString | name () const |
| Gets the name of drive. | |
| QString | identifier (const QString &kind=DGIODRIVE_IDENTIFIER_KIND_UNIX_DEVICE) const |
| Gets the identifier of the given kind for drive. | |
| bool | hasVolumes () const |
| bool | canStart () const |
| bool | canStop () const |
| bool | canEject () const |
| bool | isMediaRemovable () const |
| Checks if the drive supports removable media. | |
| bool | isRemovable () const |
| Checks if the drive and/or its media is considered removable by the user. | |
| QString DGioDrive::identifier | ( | const QString & | kind = DGIODRIVE_IDENTIFIER_KIND_UNIX_DEVICE | ) | const |
Gets the identifier of the given kind for drive.
Wrapper of Gio::Drive::get_identifier()
The only identifier currently available is DGIODRIVE_IDENTIFIER_KIND_UNIX_DEVICE.
| kind | the kind of identifier to return |
| bool DGioDrive::isMediaRemovable | ( | ) | const |
Checks if the drive supports removable media.
Wrapper of Gio::Drive::is_media_removable()
| bool DGioDrive::isRemovable | ( | ) | const |
Checks if the drive and/or its media is considered removable by the user.
Wrapper of Gio::Drive::is_removable()
| QString DGioDrive::name | ( | ) | const |
Gets the name of drive.
Wrapper of Gio::Drive::get_name()