7#include <albert/export.h>
34 Q_INVOKABLE
void add(
const QString& str);
42 Q_INVOKABLE QString
next(
const QString &pattern = QString{});
50 Q_INVOKABLE QString
prev(
const QString &pattern = QString{});
75 std::unique_ptr<Private> d;
Input history class.
Definition inputhistory.h:19
Q_INVOKABLE void setLimit(uint)
Sets the maximum amount of history entries.
Q_INVOKABLE uint limit() const
Returns the maximum amount of history entries.
InputHistory(const QString &path={})
Q_INVOKABLE void resetIterator()
Resets history search.
Q_INVOKABLE QString prev(const QString &pattern=QString{})
Gets previous history item matching the pattern.
Q_INVOKABLE void add(const QString &str)
Adds text to history search.
Q_INVOKABLE void clear()
Clears the history.
Q_INVOKABLE QString next(const QString &pattern=QString{})
Gets next history item matching the pattern.
Definition backgroundexecutor.h:12