Akonadi::Server::SearchManager
#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()
|
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()
|
override |
Definition at line 108 of file searchmanager.cpp.
Member Function Documentation
◆ registerInstance
|
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
|
virtualslot |
Definition at line 198 of file searchmanager.cpp.
◆ searchPlugins()
|
virtual |
Returns currently available search plugins.
Definition at line 123 of file searchmanager.cpp.
◆ unregisterInstance
|
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()
|
virtual |
Updates the search query synchronously.
Definition at line 225 of file searchmanager.cpp.
◆ updateSearchAsync()
|
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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.