aboutsummaryrefslogtreecommitdiffstats
path: root/src/tagrulesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagrulesdialog.h')
-rw-r--r--src/tagrulesdialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tagrulesdialog.h b/src/tagrulesdialog.h
index c91dc0c..9559918 100644
--- a/src/tagrulesdialog.h
+++ b/src/tagrulesdialog.h
@@ -82,6 +82,12 @@ public:
void setTextModeForTest(bool on);
QString warningTextForTest() const;
+ /// Whether the text-mode toggle would be on screen. A toggle that hides
+ /// itself when switched on is a one-way trip, and asserting only on the
+ /// checked STATE passes against that, since the state is still readable
+ /// when the widget is not.
+ bool textModeToggleIsReachableForTest() const;
+
signals:
/// Asks the owner to run countQueries() through the worker.
void countsRequested();