HistoryCompleter Class
(Utils::HistoryCompleter)Public Functions
HistoryCompleter(const QString &historyKey, QObject *parent = nullptr) | |
bool | hasHistory() const |
QString | historyItem() const |
bool | removeHistoryItem(int index) |
Public Slots
void | addEntry(const QString &str) |
void | clearHistory() |
Static Public Members
bool | historyExistsFor(const QString &historyKey) |
void | setSettings(QSettings *settings) |
Member Function Documentation
HistoryCompleter::HistoryCompleter(const QString &historyKey, QObject *parent = nullptr)
Default constructs an instance of HistoryCompleter.