KGAPI2::Drive::DrivesSearchQuery

Search for usage in LXR

KGAPI2::Drive::DrivesSearchQuery Class Reference

#include <drivessearchquery.h>

Inheritance diagram for KGAPI2::Drive::DrivesSearchQuery:

Public Types

enum  Field {
  Name, Hidden, CreatedDate, MemberCount,
  OrganizerCount
}
 
- Public Types inherited from KGAPI2::Drive::SearchQuery
enum  CompareOperator {
  Contains, Equals, NotEquals, Less,
  LessOrEqual, Greater, GreaterOrEqual, In,
  Has
}
 
enum  LogicOperator { And, Or }
 

Public Member Functions

void addQuery (Field field, CompareOperator op, const QVariant &value)
 
- Public Member Functions inherited from KGAPI2::Drive::SearchQuery
 SearchQuery (LogicOperator op=And)
 
 SearchQuery (const SearchQuery &other)
 
void addQuery (const QString &field, CompareOperator op, const QString &value)
 
void addQuery (const SearchQuery &query)
 
bool isEmpty () const
 
SearchQueryoperator= (const SearchQuery &other)
 
QString serialize () const
 

Detailed Description

DrivesSearchQuery class allows simply building even complex shared drive search queries for DrivesFetchJob.

See https://developers.google.com/drive/api/v2/search-shareddrives for allowed combinations of fields, compare operators, and value types.

Definition at line 28 of file drivessearchquery.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:10:48 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.