Changeset View
Changeset View
Standalone View
Standalone View
src/kio_gdrive.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 71 | private: | |||
---|---|---|---|---|---|
91 | void fileSystemFreeSpace(const QUrl &url); | 91 | void fileSystemFreeSpace(const QUrl &url); | ||
92 | 92 | | |||
93 | KGAPI2::AccountPtr getAccount(const QString &accountName); | 93 | KGAPI2::AccountPtr getAccount(const QString &accountName); | ||
94 | 94 | | |||
95 | QString rootFolderId(const QString &accountId); | 95 | QString rootFolderId(const QString &accountId); | ||
96 | 96 | | |||
97 | bool putUpdate(const QUrl &url); | 97 | bool putUpdate(const QUrl &url); | ||
98 | bool putCreate(const QUrl &url); | 98 | bool putCreate(const QUrl &url); | ||
99 | bool readPutData(QTemporaryFile &tmpFile); | 99 | bool readPutData(QTemporaryFile &tmpFile, KGAPI2::Drive::FilePtr &file); | ||
100 | 100 | | |||
101 | /** | 101 | /** | ||
102 | * Executes a KGAPI2::Job in an event loop, retrying the job until success or failure. | 102 | * Executes a KGAPI2::Job in an event loop, retrying the job until success or failure. | ||
103 | * If the Job fails, SlaveBase::error() with an appropriate error message will be called. | 103 | * If the Job fails, SlaveBase::error() with an appropriate error message will be called. | ||
104 | * | 104 | * | ||
105 | * @return Whether @p job succeeded. | 105 | * @return Whether @p job succeeded. | ||
106 | */ | 106 | */ | ||
107 | bool runJob(KGAPI2::Job &job, const QUrl &url, const QString &accountId); | 107 | bool runJob(KGAPI2::Job &job, const QUrl &url, const QString &accountId); | ||
Show All 9 Lines |