Albert
Loading...
Searching...
No Matches
globalqueryhandler.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Manuel Schneider
2// SPDX-License-Identifier: MIT
3
4#pragma once
6#include <albert/rankitem.h>
7#include <memory>
8#include <vector>
9
10namespace albert
11{
12
27{
28public:
36 virtual std::vector<std::shared_ptr<Item>> handleEmptyQuery();
37
38protected:
41};
42
43} // namespace albert
Query handler participating in the global search.
Definition globalqueryhandler.h:27
virtual std::vector< std::shared_ptr< Item > > handleEmptyQuery()
Returns a list of special items that should show up on an emtpy query.
~GlobalQueryHandler() override
Destructs the handler.
Usage-ranked query handler.
Definition rankedqueryhandler.h:24
Definition app.h:56