29 Q_PROPERTY(QString path READ path CONSTANT FINAL)
30 Q_PROPERTY(
bool canPowerOff READ canPowerOff CONSTANT FINAL)
31 Q_PROPERTY(QVariantMap configuration READ configuration CONSTANT FINAL)
32 Q_PROPERTY(QString connectionBus READ connectionBus CONSTANT FINAL)
33 Q_PROPERTY(
bool ejectable READ ejectable CONSTANT FINAL)
34 Q_PROPERTY(QString
id READ
id CONSTANT FINAL)
35 Q_PROPERTY(QString media READ media CONSTANT FINAL)
36 Q_PROPERTY(
bool mediaAvailable READ mediaAvailable CONSTANT FINAL)
37 Q_PROPERTY(
bool mediaChangeDetected READ mediaChangeDetected CONSTANT FINAL)
38 Q_PROPERTY(QStringList mediaCompatibility READ mediaCompatibility CONSTANT FINAL)
39 Q_PROPERTY(
bool mediaRemovable READ mediaRemovable CONSTANT FINAL)
40 Q_PROPERTY(QString model READ model CONSTANT FINAL)
41 Q_PROPERTY(
bool optical READ optical CONSTANT FINAL)
42 Q_PROPERTY(
bool opticalBlank READ opticalBlank CONSTANT FINAL)
43 Q_PROPERTY(uint opticalNumAudioTracks READ opticalNumAudioTracks CONSTANT FINAL)
44 Q_PROPERTY(uint opticalNumDataTracks READ opticalNumDataTracks CONSTANT FINAL)
45 Q_PROPERTY(uint opticalNumSessions READ opticalNumSessions CONSTANT FINAL)
46 Q_PROPERTY(uint opticalNumTracks READ opticalNumTracks CONSTANT FINAL)
47 Q_PROPERTY(
bool removable READ removable CONSTANT FINAL)
48 Q_PROPERTY(QString revision READ revision CONSTANT FINAL)
49 Q_PROPERTY(
int rotationRate READ rotationRate CONSTANT FINAL)
50 Q_PROPERTY(QString seat READ seat CONSTANT FINAL)
51 Q_PROPERTY(QString serial READ serial CONSTANT FINAL)
52 Q_PROPERTY(QString siblingId READ siblingId CONSTANT FINAL)
53 Q_PROPERTY(quint64 size READ size CONSTANT FINAL)
54 Q_PROPERTY(QString sortKey READ sortKey CONSTANT FINAL)
55 Q_PROPERTY(quint64 timeDetected READ timeDetected CONSTANT FINAL)
56 Q_PROPERTY(quint64 timeMediaDetected READ timeMediaDetected CONSTANT FINAL)
57 Q_PROPERTY(QString vendor READ vendor CONSTANT FINAL)
58 Q_PROPERTY(QString WWN READ WWN CONSTANT FINAL)
96 void eject(
const QVariantMap &options);
101 explicit DDiskDrive(
const QString &path, QObject *parent =
nullptr);
104 QScopedPointer<DDiskDrivePrivate> d_ptr;
106 friend DExpected<DDiskDrive *> DDeviceManager::createDiskDrive(
const QString &path, QObject *parent);