mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
96f791daf1
See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
19 lines
516 B
C++
19 lines
516 B
C++
// SPDX-FileCopyrightText: Nheko Contributors
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QAbstractItemModel>
|
|
|
|
// Interface for completion models
|
|
namespace CompletionModel {
|
|
|
|
// Start at Qt::UserRole * 2 to prevent clashes
|
|
enum Roles
|
|
{
|
|
CompletionRole = Qt::UserRole * 2, // The string to replace the active completion
|
|
SearchRole, // String completer uses for search
|
|
SearchRole2, // Secondary string completer uses for search
|
|
};
|
|
}
|