Akonadi::Server::SearchManager

Search for usage in LXR

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 33 of file searchmanager.h.

Constructor & Destructor Documentation

◆ SearchManager()

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

◆ registerInstance

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 113 of file searchmanager.cpp.

◆ searchPlugins()

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

Returns currently available search plugins.

Definition at line 123 of file searchmanager.cpp.

◆ unregisterInstance

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 118 of file searchmanager.cpp.

◆ updateSearch()

void SearchManager::updateSearch ( const Collection collection)
virtual

Updates the search query synchronously.

Definition at line 224 of file searchmanager.cpp.

◆ updateSearchAsync()

void SearchManager::updateSearchAsync ( const Collection collection)
virtual

Updates the search query asynchronously.

Returns immediately

Definition at line 214 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-2022 The KDE developers.
Generated on Tue Aug 16 2022 04:00:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.