summaryrefslogtreecommitdiff
path: root/ui/stringsview.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-10-21 22:58:46 +0200
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commit78a4c923fe3fd5790e03e2c963e0a519d8c2b93b (patch)
tree3641ec3679eeb65b9ea171b1b1479b67fb3040c3 /ui/stringsview.h
parent4fd944de0e28e2d66cb5792c4f7a80cfad387b56 (diff)
Show filtered/total count in search
Diffstat (limited to 'ui/stringsview.h')
-rw-r--r--ui/stringsview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/stringsview.h b/ui/stringsview.h
index 100a496f..35a7b73a 100644
--- a/ui/stringsview.h
+++ b/ui/stringsview.h
@@ -77,6 +77,7 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
size_t getFilteredStringCount() const { return m_filteredByOptions; }
size_t getStringCount() const { return m_strings.size(); }
+ size_t getUnfilteredStringCount() const { return m_allStrings.size(); }
void toggleIncludeStringsOverlappingCode() { m_includeStringsOverlappingCode = !m_includeStringsOverlappingCode; };
void toggleIncludeOnlyReferenced() { m_includeOnlyReferenced = !m_includeOnlyReferenced; };
@@ -89,6 +90,9 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
bool getIncludeStringsOverlappingCode() const { return m_includeStringsOverlappingCode; };
bool getIncludeOnlyReferenced() const { return m_includeOnlyReferenced; };
bool getIncludeOnlyFromCurrentFunction() const { return m_includeOnlyFromCurrentFunction; };
+
+Q_SIGNALS:
+ void updateCount();
};
/*!