Akonadi::Search::PIM::CollectionQuery

Search for usage in LXR

Akonadi::Search::PIM::CollectionQuery Class Reference

#include <collectionquery.h>

Inheritance diagram for Akonadi::Search::PIM::CollectionQuery:

Public Member Functions

ResultIterator exec () override
 
void identifierMatches (const QString &match)
 
int limit () const
 
void nameMatches (const QString &match)
 
void pathMatches (const QString &match)
 
void setDatabaseDir (const QString &dir)
 
void setLimit (int limit)
 
void setMimetype (const QStringList &mt)
 
void setNamespace (const QStringList &ns)
 
- Public Member Functions inherited from Akonadi::Search::PIM::Query

Additional Inherited Members

- Static Public Member Functions inherited from Akonadi::Search::PIM::Query
static QString defaultLocation (const QString &dbName)
 
static QueryfromJSON (const QByteArray &json)
 

Detailed Description

Collection query.

Definition at line 30 of file collectionquery.h.

Constructor & Destructor Documentation

◆ CollectionQuery()

CollectionQuery::CollectionQuery ( )

Definition at line 33 of file collectionquery.cpp.

Member Function Documentation

◆ exec()

ResultIterator CollectionQuery::exec ( )
nodiscardoverridevirtual

Execute the query and return an iterator to fetch the results.

Implements Akonadi::Search::PIM::Query.

Definition at line 78 of file collectionquery.cpp.

◆ identifierMatches()

void CollectionQuery::identifierMatches ( const QString & match)

Definition at line 53 of file collectionquery.cpp.

◆ nameMatches()

void CollectionQuery::nameMatches ( const QString & match)

Matches the string match in the name.

Definition at line 48 of file collectionquery.cpp.

◆ pathMatches()

void CollectionQuery::pathMatches ( const QString & match)

Definition at line 58 of file collectionquery.cpp.

◆ setDatabaseDir()

void CollectionQuery::setDatabaseDir ( const QString & dir)

For testing.

Definition at line 43 of file collectionquery.cpp.

◆ setLimit()

void CollectionQuery::setLimit ( int limit)

Definition at line 73 of file collectionquery.cpp.

◆ setMimetype()

void CollectionQuery::setMimetype ( const QStringList & mt)

Definition at line 68 of file collectionquery.cpp.

◆ setNamespace()

void CollectionQuery::setNamespace ( const QStringList & ns)

Definition at line 63 of file collectionquery.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.