Add useful functions to GDriveUrl.

Authored by barchiesi on May 25 2019, 4:56 PM.

Description

Add useful functions to GDriveUrl.

Summary:
I added the following useful functions in GDriveUrl:

  • QString filename() const
  • bool isTrashDir() const
  • bool inTrash() const
  • QUrl url() const
  • GDriveUrl parent() const

Test Plan: Tests in UrlTest have been updated according to the new functionalities.

Reviewers: elvisangelaccio

Subscribers: KIO GDrive

Tags: KIO GDrive

Differential Revision: https://phabricator.kde.org/D20064

Details

Committed
elvisangelaccioMay 25 2019, 5:02 PM
Differential Revision
D20064: Add usefull functions to GDriveUrl.
Parents
R219:34f26f93642b: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown