diff options
Diffstat (limited to 'typedatabase.cpp')
-rw-r--r-- | typedatabase.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/typedatabase.cpp b/typedatabase.cpp index d97959820..4e0ab5b80 100644 --- a/typedatabase.cpp +++ b/typedatabase.cpp @@ -401,3 +401,14 @@ bool TypeDatabase::supportedApiVersion(double version) const return version <= m_apiVersion; } +bool TypeDatabase::shouldDropTypeEntry(const QString& fullTypeName) const +{ + return m_dropTypeEntries.contains(fullTypeName); +} + +void TypeDatabase::setDropTypeEntries(QStringList dropTypeEntries) +{ + m_dropTypeEntries = dropTypeEntries; + m_dropTypeEntries.sort(); +} + |