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)

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.

Member Function Documentation

◆ exec()

ResultIterator CollectionQuery::exec ( )

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

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

Definition at line 78 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.

◆ setDatabaseDir()

void CollectionQuery::setDatabaseDir ( const QString dir)

For testing.

Definition at line 43 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-2023 The KDE developers.
Generated on Tue Sep 26 2023 04:08:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.