mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 10:00:46 +03:00
16 lines
345 B
C
16 lines
345 B
C
|
#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
|
||
|
};
|
||
|
|
||
|
}
|