aboutsummaryrefslogtreecommitdiffstats
path: root/src/tagrulesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagrulesdialog.h')
-rw-r--r--src/tagrulesdialog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tagrulesdialog.h b/src/tagrulesdialog.h
index 6676da9..9cee163 100644
--- a/src/tagrulesdialog.h
+++ b/src/tagrulesdialog.h
@@ -64,6 +64,11 @@ public:
/// Selects the rule at `index` as a click on the list would.
void selectRuleForTest(int index);
+ bool textModeForTest() const;
+ void setRowValueForTest(int index, const QString &value);
+ /// Runs the Save path without showing the dialog.
+ void saveForTest() { onSave(); }
+
signals:
/// Asks the owner to run countQueries() through the worker.
void countsRequested();
@@ -104,6 +109,8 @@ private:
void updateExclusionsVisibility();
void syncQueryLine();
+ void setTextMode(bool on);
+
void rebuildRows(const RuleQuery &query);
void applyTermToRow(Row *row, const RuleTerm &term);
RuleQuery currentQueryFromRows() const;