Changeset View
Changeset View
Standalone View
Standalone View
src/drive/about.h
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
221 | typedef QSharedPointer<MaxUploadSize> MaxUploadSizePtr; | 221 | typedef QSharedPointer<MaxUploadSize> MaxUploadSizePtr; | ||
222 | typedef QList<MaxUploadSizePtr> MaxUploadSizesList; | 222 | typedef QList<MaxUploadSizePtr> MaxUploadSizesList; | ||
223 | 223 | | |||
224 | struct Fields { | 224 | struct Fields { | ||
225 | static const QString AdditionalRoleInfo; | 225 | static const QString AdditionalRoleInfo; | ||
226 | static const QString AdditionalRoles; | 226 | static const QString AdditionalRoles; | ||
227 | static const QString BackgroundImageLink; | 227 | static const QString BackgroundImageLink; | ||
228 | static const QString BytesUsed; | 228 | static const QString BytesUsed; | ||
229 | static const QString CanCreateTeamDrives; | 229 | static const QString CanCreateDrives; | ||
230 | static const QString ColorRgb; | 230 | static const QString ColorRgb; | ||
231 | static const QString DisplayName; | 231 | static const QString DisplayName; | ||
232 | static const QString DomainSharingPolicy; | 232 | static const QString DomainSharingPolicy; | ||
233 | static const QString EmailAddress; | 233 | static const QString EmailAddress; | ||
234 | static const QString Etag; | 234 | static const QString Etag; | ||
235 | static const QString ExportFormats; | 235 | static const QString ExportFormats; | ||
236 | static const QString FeatureName; | 236 | static const QString FeatureName; | ||
237 | static const QString FeatureRate; | 237 | static const QString FeatureRate; | ||
▲ Show 20 Lines • Show All 138 Lines • ▼ Show 20 Line(s) | 317 | #endif | |||
376 | bool isCurrentAppInstalled() const; | 376 | bool isCurrentAppInstalled() const; | ||
377 | 377 | | |||
378 | /** | 378 | /** | ||
379 | * @brief Returns the authenticated user. | 379 | * @brief Returns the authenticated user. | ||
380 | */ | 380 | */ | ||
381 | UserPtr user() const; | 381 | UserPtr user() const; | ||
382 | 382 | | |||
383 | /** | 383 | /** | ||
384 | * @brief Returns whether the user can create shared drives. | ||||
385 | */ | ||||
386 | bool canCreateDrives() const; | ||||
387 | | ||||
388 | /** | ||||
384 | * @brief Constructs a new DriveAbout object from given JSON data | 389 | * @brief Constructs a new DriveAbout object from given JSON data | ||
385 | * | 390 | * | ||
386 | * @param jsonData | 391 | * @param jsonData | ||
387 | */ | 392 | */ | ||
388 | static AboutPtr fromJSON(const QByteArray &jsonData); | 393 | static AboutPtr fromJSON(const QByteArray &jsonData); | ||
389 | 394 | | |||
390 | private: | 395 | private: | ||
391 | About(); | 396 | About(); | ||
Show All 11 Lines |