Changeset View
Changeset View
Standalone View
Standalone View
src/drive/about.cpp
Show First 20 Lines • Show All 355 Lines • ▼ Show 20 Line(s) | 342 | About::Private::Private(const About::Private &other): | |||
---|---|---|---|---|---|
356 | features(other.features), | 356 | features(other.features), | ||
357 | maxUploadSizes(other.maxUploadSizes), | 357 | maxUploadSizes(other.maxUploadSizes), | ||
358 | permissionId(other.permissionId), | 358 | permissionId(other.permissionId), | ||
359 | isCurrentAppInstalled(other.isCurrentAppInstalled), | 359 | isCurrentAppInstalled(other.isCurrentAppInstalled), | ||
360 | user(other.user) | 360 | user(other.user) | ||
361 | { | 361 | { | ||
362 | } | 362 | } | ||
363 | 363 | | |||
364 | const QString About::Fields::AdditionalRoleInfo = QStringLiteral("additionalRoleInfo"); | ||||
365 | const QString About::Fields::AdditionalRoles = QStringLiteral("additionalRoles"); | ||||
366 | const QString About::Fields::BackgroundImageLink = QStringLiteral("backgroundImageLink"); | ||||
367 | const QString About::Fields::BytesUsed = QStringLiteral("bytesUsed"); | ||||
368 | const QString About::Fields::CanCreateTeamDrives = QStringLiteral("canCreateTeamDrives"); | ||||
369 | const QString About::Fields::ColorRgb = QStringLiteral("colorRgb"); | ||||
370 | const QString About::Fields::DisplayName = QStringLiteral("displayName"); | ||||
371 | const QString About::Fields::DomainSharingPolicy = QStringLiteral("domainSharingPolicy"); | ||||
372 | const QString About::Fields::EmailAddress = QStringLiteral("emailAddress"); | ||||
373 | const QString About::Fields::Etag = QStringLiteral("etag"); | ||||
374 | const QString About::Fields::ExportFormats = QStringLiteral("exportFormats"); | ||||
375 | const QString About::Fields::FeatureName = QStringLiteral("featureName"); | ||||
376 | const QString About::Fields::FeatureRate = QStringLiteral("featureRate"); | ||||
377 | const QString About::Fields::Features = QStringLiteral("features"); | ||||
378 | const QString About::Fields::FolderColorPalette = QStringLiteral("folderColorPalette"); | ||||
379 | const QString About::Fields::Id = QStringLiteral("id"); | ||||
380 | const QString About::Fields::ImportFormats = QStringLiteral("importFormats"); | ||||
381 | const QString About::Fields::IsAuthenticatedUser = QStringLiteral("isAuthenticatedUser"); | ||||
382 | const QString About::Fields::IsCurrentAppInstalled = QStringLiteral("isCurrentAppInstalled"); | ||||
383 | const QString About::Fields::Kind = QStringLiteral("kind"); | ||||
384 | const QString About::Fields::LanguageCode = QStringLiteral("languageCode"); | ||||
385 | const QString About::Fields::LargestChangeId = QStringLiteral("largestChangeId"); | ||||
386 | const QString About::Fields::MaxUploadSizes = QStringLiteral("maxUploadSizes"); | ||||
387 | const QString About::Fields::Name = QStringLiteral("name"); | ||||
388 | const QString About::Fields::PermissionId = QStringLiteral("permissionId"); | ||||
389 | const QString About::Fields::Picture = QStringLiteral("picture"); | ||||
390 | const QString About::Fields::PrimaryRole = QStringLiteral("primaryRole"); | ||||
391 | const QString About::Fields::QuotaBytesByService = QStringLiteral("quotaBytesByService"); | ||||
392 | const QString About::Fields::QuotaBytesTotal = QStringLiteral("quotaBytesTotal"); | ||||
393 | const QString About::Fields::QuotaBytesUsedAggregate = QStringLiteral("quotaBytesUsedAggregate"); | ||||
394 | const QString About::Fields::QuotaBytesUsedInTrash = QStringLiteral("quotaBytesUsedInTrash"); | ||||
395 | const QString About::Fields::QuotaBytesUsed = QStringLiteral("quotaBytesUsed"); | ||||
396 | const QString About::Fields::QuotaType = QStringLiteral("quotaType"); | ||||
397 | const QString About::Fields::RemainingChangeIds = QStringLiteral("remainingChangeIds"); | ||||
398 | const QString About::Fields::RoleSets = QStringLiteral("roleSets"); | ||||
399 | const QString About::Fields::RootFolderId = QStringLiteral("rootFolderId"); | ||||
400 | const QString About::Fields::SelfLink = QStringLiteral("selfLink"); | ||||
401 | const QString About::Fields::ServiceName = QStringLiteral("serviceName"); | ||||
402 | const QString About::Fields::Size = QStringLiteral("size"); | ||||
403 | const QString About::Fields::Source = QStringLiteral("source"); | ||||
404 | const QString About::Fields::Targets = QStringLiteral("targets"); | ||||
405 | const QString About::Fields::TeamDriveThemes = QStringLiteral("teamDriveThemes"); | ||||
406 | const QString About::Fields::Type = QStringLiteral("type"); | ||||
407 | const QString About::Fields::Url = QStringLiteral("url"); | ||||
408 | const QString About::Fields::User = QStringLiteral("user"); | ||||
409 | | ||||
364 | About::About(): | 410 | About::About(): | ||
365 | KGAPI2::Object(), | 411 | KGAPI2::Object(), | ||
366 | d(new Private) | 412 | d(new Private) | ||
367 | { | 413 | { | ||
368 | } | 414 | } | ||
369 | 415 | | |||
370 | About::About(const About &other): | 416 | About::About(const About &other): | ||
371 | KGAPI2::Object(other), | 417 | KGAPI2::Object(other), | ||
372 | d(new Private(*(other.d))) | 418 | d(new Private(*(other.d))) | ||
373 | { | 419 | { | ||
374 | } | 420 | } | ||
375 | 421 | | |||
376 | About::~About() | 422 | About::~About() = default; | ||
377 | { | | |||
378 | delete d; | | |||
379 | } | | |||
380 | 423 | | |||
381 | bool About::operator==(const About &other) const | 424 | bool About::operator==(const About &other) const | ||
382 | { | 425 | { | ||
383 | if (!Object::operator==(other)) { | 426 | if (!Object::operator==(other)) { | ||
384 | return false; | 427 | return false; | ||
385 | } | 428 | } | ||
386 | 429 | | |||
387 | GAPI_COMPARE(selfLink) | 430 | GAPI_COMPARE(selfLink) | ||
▲ Show 20 Lines • Show All 208 Lines • Show Last 20 Lines |