aboutsummaryrefslogtreecommitdiffstats
path: root/src/querycompleter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/querycompleter.h')
-rw-r--r--src/querycompleter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/querycompleter.h b/src/querycompleter.h
index 61b2555..350b21c 100644
--- a/src/querycompleter.h
+++ b/src/querycompleter.h
@@ -119,6 +119,11 @@ protected:
bool eventFilter(QObject *watched, QEvent *event) override;
private:
+ /// Whether the completion popup is on screen. Every key the filter claims
+ /// is claimed only while it is, so the bar types and tabs normally
+ /// otherwise.
+ bool popupVisible() const;
+
QList<CompletionEntry> entriesFor(const CompletionContext &context) const;
void rebuildModel(const CompletionContext &context);