Search for usage in LXR

Akonadi::AbstractSearchPlugin Class Referenceabstract

#include <abstractsearchplugin.h>

Public Member Functions

virtual ~AbstractSearchPlugin ()=default
virtual QSet< qint64 > search (const QString &query, const QVector< qint64 > &collections, const QStringList &mimeTypes)=0

Detailed Description

3rd party applications can install a search plugin for Akonadi server to provide access to their search capability.

When the server performs a search, it will send the query to all available search plugins and merge the results.


Definition at line 26 of file abstractsearchplugin.h.

Constructor & Destructor Documentation

◆ ~AbstractSearchPlugin()

virtual Akonadi::AbstractSearchPlugin::~AbstractSearchPlugin ( )


Member Function Documentation

◆ search()

virtual QSet<qint64> Akonadi::AbstractSearchPlugin::search ( const QString query,
const QVector< qint64 > &  collections,
const QStringList mimeTypes 
pure virtual

Reimplement this method to provide the actual search capability.

The implementation can block.

querySearch query to execute.
List of Akonadi Item IDs referring to items that are matching the query.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 04:05:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.