26 friend DCORE_NAMESPACE::DExpected<DDiskJob *> DDeviceManager::createDiskJob(
const QString &, QObject *);
28 Q_PROPERTY(QString path READ path CONSTANT FINAL)
29 Q_PROPERTY(QStringList objects READ objects CONSTANT FINAL)
30 Q_PROPERTY(
bool cancelable READ cancelable CONSTANT FINAL)
31 Q_PROPERTY(
bool progressValid READ progressValid CONSTANT FINAL)
32 Q_PROPERTY(
double progress READ progress NOTIFY progressChanged FINAL)
33 Q_PROPERTY(QString operation READ operation CONSTANT FINAL)
34 Q_PROPERTY(quint32 startedByUid READ startedByUid CONSTANT FINAL)
35 Q_PROPERTY(quint64 bytes READ bytes CONSTANT FINAL)
36 Q_PROPERTY(quint64 expectedEndTime READ expectedEndTime NOTIFY expectedEndTimeChanged FINAL)
37 Q_PROPERTY(quint64 rate READ rate NOTIFY rateChanged FINAL)
38 Q_PROPERTY(quint64 startTime READ startTime CONSTANT FINAL)
56 void cancel(
const QVariantMap &options);
59 void completed(
bool success,
const QString &message);
65 explicit DDiskJob(
const QString &path, QObject *parent =
nullptr);
68 QScopedPointer<DDiskJobPrivate> d_ptr;