aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/evaluator.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-07-24 11:10:28 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-08-03 09:52:57 +0000
commit3b95913c674edcdf94eea673aa81d4f670231555 (patch)
tree4c8136e08faeedcd351e75301f6ebe0276988df0 /src/lib/corelib/language/evaluator.h
parentde14d18638b6aaf7c52847fec2e534f50c14b95d (diff)
Add FileTagger.priority
Enable users to override FileTagger items by creating a conflicting FileTagger that has a higher numerical priority value. [ChangeLog] Introduced the property FileTagger.priority, and enable users to override FileTagger items. Change-Id: Idc6f5d003b7ad468f03a2eae5d19404c1f3eb06b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/language/evaluator.h')
-rw-r--r--src/lib/corelib/language/evaluator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/language/evaluator.h b/src/lib/corelib/language/evaluator.h
index 80ab9a3b4..840c808ed 100644
--- a/src/lib/corelib/language/evaluator.h
+++ b/src/lib/corelib/language/evaluator.h
@@ -69,6 +69,8 @@ public:
QScriptValue value(const Item *item, const QString &name, bool *propertySet = 0);
bool boolValue(const Item *item, const QString &name, bool defaultValue = false,
bool *propertyWasSet = 0);
+ int intValue(const Item *item, const QString &name, int defaultValue = 0,
+ bool *propertyWasSet = 0);
FileTags fileTagsValue(const Item *item, const QString &name, bool *propertySet = 0);
QString stringValue(const Item *item, const QString &name,
const QString &defaultValue = QString(), bool *propertyWasSet = 0);