summaryrefslogtreecommitdiff
path: root/plugins/autotest/testresultmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autotest/testresultmodel.h')
-rw-r--r--plugins/autotest/testresultmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autotest/testresultmodel.h b/plugins/autotest/testresultmodel.h
index c0a71fe44b..c803d113b6 100644
--- a/plugins/autotest/testresultmodel.h
+++ b/plugins/autotest/testresultmodel.h
@@ -52,6 +52,7 @@ public:
void enableAllResultTypes();
void toggleTestResultType(ResultType type);
+ bool hasResultType(ResultType type) { return m_availableResultTypes.contains(type); }
signals:
@@ -63,6 +64,7 @@ private:
int m_maxWidthOfFileName;
int m_lastMaxWidthIndex;
QFont m_measurementFont;
+ QSet<ResultType> m_availableResultTypes;
};
class TestResultFilterModel : public QSortFilterProxyModel