D19546: Add TeamdriveSearchQuery and support for it in TeamdriveFetchJob.
David Barchiesi
noreply at phabricator.kde.org
Tue Mar 5 16:27:34 GMT 2019
barchiesi created this revision.
barchiesi added a reviewer: dvratil.
barchiesi added a project: LibKGAPI.
Herald added a project: KDE PIM.
Herald added a subscriber: kde-pim.
barchiesi requested review of this revision.
REVISION SUMMARY
As of now, TeamdriveFetchJob is missing support for search queries (as seen in FileFetchJob). These queries may be used with an account with Team Drive admin priviledges.
TEST PLAN
I added TeamdriveSearchQueryTest which should cover all functionality.
Below is an example of usage with TeamdriveFetchJob:
KGAPI2::Drive::TeamdriveSearchQuery query;
query.addQuery(KGAPI2::Drive::TeamdriveSearchQuery::MemberCount, KGAPI2::Drive::TeamdriveSearchQuery::Less, 10);
KGAPI2::Drive::TeamdriveFetchJob *fetchJob = new KGAPI2::Drive::TeamdriveFetchJob(query, m_account, this);
REPOSITORY
R477 KGAPI Library
REVISION DETAIL
https://phabricator.kde.org/D19546
AFFECTED FILES
autotests/CMakeLists.txt
autotests/drive/teamdrivesearchquerytest.cpp
examples/teamdrive/mainwindow.cpp
src/drive/CMakeLists.txt
src/drive/teamdrivefetchjob.cpp
src/drive/teamdrivefetchjob.h
src/drive/teamdrivesearchquery.cpp
src/drive/teamdrivesearchquery.h
To: barchiesi, dvratil
Cc: kde-pim, #libkgapi, barchiesi, gennad, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190305/72a8c693/attachment.html>
More information about the kde-pim
mailing list