11 mCaseSensitive =
false;
12 mRegularExpression =
false;
18 mExactMatch = code & 1;
19 mCaseSensitive = code & 2;
20 mRegularExpression = code & 4;
23 for(
int i = 4; i<32; i++)
37 prefix += mExactMatch;
38 prefix += mCaseSensitive << 1;
39 prefix += mRegularExpression << 2;
40 if(mColumns.
empty()) prefix += 1 << 3;
43 for(
int i=0; i < mColumns.
length(); i++)
45 suffix += 1<<mColumns[i];
49 return prefix + suffix;
57 prefix += caseSensitive << 1;
59 if(columns.
empty()) prefix += 1 << 3;
62 for(
int i=0; i < columns.
length(); i++)
64 suffix += 1<<columns[i];
68 return prefix + suffix;
73 mExactMatch = exactMatch;
74 mCaseSensitive = caseSensitive;
75 mRegularExpression = regEx;
86 return mCaseSensitive;
91 return mRegularExpression;
const QList< int > & getColumns() const
bool isExactMatch() const
bool isCaseSensitive() const
bool isRegularExpression() const
void setOptions(bool exactMatch, bool caseSensitive, bool regEx, QList< int > columns)
void append(const T &value)