Skip to content
Snippets Groups Projects
Commit 00bc87b5 authored by Jussi Kuokkanen's avatar Jussi Kuokkanen Committed by Nicolas Werner
Browse files

add completer interface (item roles)

parent 748bf0cd
No related branches found
No related tags found
No related merge requests found
#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
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment