summaryrefslogtreecommitdiffstats
path: root/tests/test_querycompleter.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-03 21:11:30 +0200
committerDanilo M. <danix@danix.xyz>2026-08-04 12:54:23 +0200
commitfc3073f452e28733c3910ceda403531b3e17404d (patch)
tree9abc7cebce905b2b6e5c7639f7c7fb0bf2659a11 /tests/test_querycompleter.cpp
parent1e587846a255592e5aab022c4e6e134d4ff64ed2 (diff)
downloadqtmaildir-fc3073f452e28733c3910ceda403531b3e17404d.tar.gz
qtmaildir-fc3073f452e28733c3910ceda403531b3e17404d.zip
feat(completion): wire query completion into the main window
Adds the complete_query action, whose registration the assertion in registerActions() has been demanding since keymap gained the name: a known action nothing implements would have been a silently dead binding. Also lands the QueryCompleter half of the manual trigger, which the keymap commit left behind: triggerCompletion() and the focus-in filter gated on completion_on_focus. Tags refresh at startup, after a sync, and after a mutation introduces a tag not already known, since that is the tag most likely to be typed again. onAllTagsReady deliberately drops the generation the signal carries: a tag list is not an ordered query result, so a later one is always at least as good as an earlier one and discarding on staleness could only throw away a good list.
Diffstat (limited to 'tests/test_querycompleter.cpp')
0 files changed, 0 insertions, 0 deletions