Changeset View
Changeset View
Standalone View
Standalone View
lib/resultsmodel.h
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 71 | enum Roles { | |||
---|---|---|---|---|---|
77 | SubtextRole, | 77 | SubtextRole, | ||
78 | DuplicateRole, | 78 | DuplicateRole, | ||
79 | ActionsRole | 79 | ActionsRole | ||
80 | }; | 80 | }; | ||
81 | Q_ENUM(Roles) | 81 | Q_ENUM(Roles) | ||
82 | 82 | | |||
83 | QString queryString() const; | 83 | QString queryString() const; | ||
84 | void setQueryString(const QString &queryString); | 84 | void setQueryString(const QString &queryString); | ||
85 | Q_SIGNAL void queryStringChanged(); | 85 | Q_SIGNAL void queryStringChanged(const QString &queryString); | ||
86 | 86 | | |||
87 | int limit() const; | 87 | int limit() const; | ||
88 | void setLimit(int limit); | 88 | void setLimit(int limit); | ||
89 | void resetLimit(); | 89 | void resetLimit(); | ||
90 | Q_SIGNAL void limitChanged(); | 90 | Q_SIGNAL void limitChanged(); | ||
91 | 91 | | |||
92 | bool querying() const; | 92 | bool querying() const; | ||
93 | Q_SIGNAL void queryingChanged(); | 93 | Q_SIGNAL void queryingChanged(); | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |