diff --git a/src/drive/about.h b/src/drive/about.h --- a/src/drive/about.h +++ b/src/drive/about.h @@ -240,8 +240,18 @@ /** * @brief returns the total number of quota bytes used by all Google apps * (Drive, Picasa, etc.). + * @since 5.3.2 */ - qlonglong quotaBytesUserAggregate() const; + qlonglong quotaBytesUsedAggregate() const; + + /** + * @brief returns the total number of quota bytes used by all Google apps + * (Drive, Picasa, etc.). + * @deprecated since 5.3.2, use quotaBytesUsedAggregate() instead. + */ +#ifndef KGAPIDRIVE_NO_DEPRECATED + KGAPIDRIVE_DEPRECATED_EXPORT qlonglong quotaBytesUserAggregate() const; +#endif /** * @brief Returns the largest change id. diff --git a/src/drive/about.cpp b/src/drive/about.cpp --- a/src/drive/about.cpp +++ b/src/drive/about.cpp @@ -362,11 +362,18 @@ return d->quotaBytesUsedInTrash; } -qlonglong About::quotaBytesUserAggregate() const +qlonglong About::quotaBytesUsedAggregate() const { return d->quotaBytesUsedAggregate; } +#ifndef KGAPIDRIVE_NO_DEPRECATED +qlonglong About::quotaBytesUserAggregate() const +{ + return quotaBytesUsedAggregate(); +} +#endif + qlonglong About::largestChangeId() const { return d->largestChangeId;