Akonadi::Server::SearchManager

Akonadi::Server::SearchManager Class Reference

#include <searchmanager.h>

Inherits Akonadi::Server::AkThread.

Public Slots

virtual void registerInstance (const QString &id)
 
virtual void scheduleSearchUpdate ()
 
virtual void unregisterInstance (const QString &id)
 

Public Member Functions

 SearchManager (const QStringList &searchEngines, SearchTaskManager &agentSearchManager)
 
virtual QVector< AbstractSearchPlugin * > searchPlugins () const
 
virtual void updateSearch (const Collection &collection)
 
virtual void updateSearchAsync (const Collection &collection)
 

Detailed Description

SearchManager creates and deletes persistent searches for all currently active search engines.

Definition at line 36 of file searchmanager.h.

Constructor & Destructor Documentation

SearchManager::SearchManager ( const QStringList searchEngines,
SearchTaskManager &  agentSearchManager 
)
explicit

Create a new search manager with the given searchEngines.

Definition at line 39 of file searchmanager.cpp.

Member Function Documentation

void SearchManager::registerInstance ( const QString id)
virtualslot

This is called via D-Bus from AgentManager to register an agent with search interface.

Definition at line 115 of file searchmanager.cpp.

QVector< AbstractSearchPlugin * > SearchManager::searchPlugins ( ) const
virtual

Returns currently available search plugins.

Definition at line 125 of file searchmanager.cpp.

void SearchManager::unregisterInstance ( const QString id)
virtualslot

This is called via D-Bus from AgentManager to unregister an agent with search interface.

Definition at line 120 of file searchmanager.cpp.

void SearchManager::updateSearch ( const Collection collection)
virtual

Updates the search query synchronously.

Definition at line 221 of file searchmanager.cpp.

void SearchManager::updateSearchAsync ( const Collection collection)
virtual

Updates the search query asynchronously.

Returns immediately

Definition at line 216 of file searchmanager.cpp.


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 Sat Aug 8 2020 23:14:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.