-QVariantMap IgnoreListManager::initIgnoreList() const {
- QVariantMap ignoreListMap;
- QVariantList ignoreTypeList;
- QStringList ignoreRuleList;
- QStringList scopeRuleList;
- QVariantList isRegExList;
- QVariantList scopeList;
- QVariantList strictnessList;
- QVariantList isActiveList;
-
- for(int i = 0; i < _ignoreList.count(); i++) {
- ignoreTypeList << _ignoreList[i].type;
- ignoreRuleList << _ignoreList[i].ignoreRule;
- scopeRuleList << _ignoreList[i].scopeRule;
- isRegExList << _ignoreList[i].isRegEx;
- scopeList << _ignoreList[i].scope;
- strictnessList << _ignoreList[i].strictness;
- isActiveList << _ignoreList[i].isActive;
- }
-
- ignoreListMap["ignoreType"] = ignoreTypeList;
- ignoreListMap["ignoreRule"] = ignoreRuleList;
- ignoreListMap["scopeRule"] = scopeRuleList;
- ignoreListMap["isRegEx"] = isRegExList;
- ignoreListMap["scope"] = scopeList;
- ignoreListMap["strictness"] = strictnessList;
- ignoreListMap["isActive"] = isActiveList;
- return ignoreListMap;
+
+QVariantMap IgnoreListManager::initIgnoreList() const
+{
+ QVariantMap ignoreListMap;
+ QVariantList ignoreTypeList;
+ QStringList ignoreRuleList;
+ QStringList scopeRuleList;
+ QVariantList isRegExList;
+ QVariantList scopeList;
+ QVariantList strictnessList;
+ QVariantList isActiveList;
+
+ for (int i = 0; i < _ignoreList.count(); i++) {
+ ignoreTypeList << _ignoreList[i].type;
+ ignoreRuleList << _ignoreList[i].ignoreRule;
+ scopeRuleList << _ignoreList[i].scopeRule;
+ isRegExList << _ignoreList[i].isRegEx;
+ scopeList << _ignoreList[i].scope;
+ strictnessList << _ignoreList[i].strictness;
+ isActiveList << _ignoreList[i].isActive;
+ }
+
+ ignoreListMap["ignoreType"] = ignoreTypeList;
+ ignoreListMap["ignoreRule"] = ignoreRuleList;
+ ignoreListMap["scopeRule"] = scopeRuleList;
+ ignoreListMap["isRegEx"] = isRegExList;
+ ignoreListMap["scope"] = scopeList;
+ ignoreListMap["strictness"] = strictnessList;
+ ignoreListMap["isActive"] = isActiveList;
+ return ignoreListMap;