Akonadi::Server::SearchManager

Search for usage in LXR

Akonadi::Server::SearchManager Class Reference

#include <searchmanager.h>

Public Slots

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

Public Member Functions

virtual QList< AbstractSearchPlugin * > searchPlugins () const
 
virtual void updateSearch (const Collection &collection)
 
virtual void updateSearchAsync (const Collection &collection)
 

Protected Member Functions

 SearchManager (const QStringList &searchEngines, SearchTaskManager &agentSearchManager)
 

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 )
explicitprotected

Create a new search manager with the given searchEngines.

Use AkThread::create() to create and start a new SearchManager thread.

Definition at line 39 of file searchmanager.cpp.

◆ ~SearchManager()

SearchManager::~SearchManager ( )
override

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

◆ scheduleSearchUpdate

void SearchManager::scheduleSearchUpdate ( )
virtualslot

Definition at line 198 of file searchmanager.cpp.

◆ searchPlugins()

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

◆ updateSearchAsync()

void SearchManager::updateSearchAsync ( const Collection & collection)
virtual

Updates the search query asynchronously.

Returns immediately

Definition at line 215 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-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.