Debian Codegraph @

src/CompletionModelRoles.h

raw symbols SCIP
1 // SPDX-FileCopyrightText: Nheko Contributors
2 //
3 // SPDX-License-Identifier: GPL-3.0-or-later
4
5 #pragma once
6
7 #include <QAbstractItemModel>
8
9 // Interface for completion models
10 namespace CompletionModel {
11
12 // Start at Qt::UserRole * 2 to prevent clashes
13 enum Roles
14 {
15 CompletionRole = Qt::UserRole * 2, // The string to replace the active completion
16 SearchRole, // String completer uses for search
17 SearchRole2, // Secondary string completer uses for search
18 };
19 }