Albert
Loading...
Searching...
No Matches
indexitem.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024 Manuel Schneider
2// SPDX-License-Identifier: MIT
3
4#pragma once
5#include <QString>
6#include <albert/export.h>
7#include <albert/item.h>
8#include <memory>
9
10namespace albert
11{
12
14class ALBERT_EXPORT IndexItem
15{
16public:
19 IndexItem(std::shared_ptr<Item> item, QString string);
20
22 std::shared_ptr<Item> item;
23
25 QString string;
26};
27
28}
An item utlized by ItemIndex.
Definition indexitem.h:15
std::shared_ptr< Item > item
The item to be indexed.
Definition indexitem.h:22
QString string
The corresponding lookup string.
Definition indexitem.h:25
IndexItem(std::shared_ptr< Item > item, QString string)
Definition action.h:10