Changeset View
Changeset View
Standalone View
Standalone View
src/drive/driveservice.cpp
Context not available. | |||||
34 | static const QString AppsBasePath(QStringLiteral("/drive/v2/about")); | 34 | static const QString AppsBasePath(QStringLiteral("/drive/v2/about")); | ||
---|---|---|---|---|---|
35 | static const QString FilesBasePath(QStringLiteral("/drive/v2/files")); | 35 | static const QString FilesBasePath(QStringLiteral("/drive/v2/files")); | ||
36 | static const QString ChangeBasePath(QStringLiteral("/drive/v2/changes")); | 36 | static const QString ChangeBasePath(QStringLiteral("/drive/v2/changes")); | ||
37 | static const QString TeamdriveBasePath(QStringLiteral("/drive/v2/teamdrives")); | ||||
37 | } | 38 | } | ||
38 | 39 | | |||
39 | namespace DriveService | 40 | namespace DriveService | ||
Context not available. | |||||
286 | return url; | 287 | return url; | ||
287 | } | 288 | } | ||
288 | 289 | | |||
290 | QUrl fetchTeamdriveUrl(const QString &teamdriveId) | ||||
291 | { | ||||
292 | QUrl url(Private::GoogleApisUrl); | ||||
293 | url.setPath(Private::TeamdriveBasePath % QLatin1Char('/') % teamdriveId); | ||||
294 | return url; | ||||
295 | } | ||||
296 | | ||||
297 | QUrl fetchTeamdrivesUrl() | ||||
298 | { | ||||
299 | QUrl url(Private::GoogleApisUrl); | ||||
300 | url.setPath(Private::TeamdriveBasePath); | ||||
301 | return url; | ||||
302 | } | ||||
303 | | ||||
289 | } // namespace DriveService | 304 | } // namespace DriveService | ||
290 | 305 | | |||
291 | } // namespace KGAPI2 | 306 | } // namespace KGAPI2 | ||
Context not available. |