KGAPI2::Drive::SearchQuery

KGAPI2::Drive::SearchQuery Class Reference

#include <searchquery.h>

Inheritance diagram for KGAPI2::Drive::SearchQuery:

Public Types

enum  CompareOperator {
  Contains, Equals, NotEquals, Less,
  LessOrEqual, Greater, GreaterOrEqual, In,
  Has
}
 
enum  LogicOperator { And, Or }
 

Public Member Functions

 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

SearchQuery class should be used as a base class for building file/team search queries.

Definition at line 38 of file searchquery.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun May 31 2020 22:38:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.