21 const QString strId = layerId + ruleId;
23 const int maskId = mLabelLayers.indexOf( maskedSymbolLayers );
27 mMaskIds[
maskId].insert( strId );
31 mLabelLayers.push_back( maskedSymbolLayers );
32 mMaskIds.push_back( QSet<QString>() << strId );
33 return mMaskIds.size() - 1;
38 if ( labelLayerId.isEmpty() )
41 const QString
id = labelLayerId + labelRuleId;
42 for (
int i = 0; i < mMaskIds.size(); i++ )
44 if ( mMaskIds[i].contains(
id ) )
52 return mMaskIds.size();