restore AbstractFieldPhrase::operator !
This commit is contained in:
parent
6489d7bad4
commit
fb7b914c73
|
|
@ -96,4 +96,11 @@ AbstractFieldPhrase AbstractFieldPhrase::operator ~()
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AbstractFieldPhrase AbstractFieldPhrase::operator !()
|
||||||
|
{
|
||||||
|
AbstractFieldPhrase f(data->className, data->fieldName);
|
||||||
|
f.data->isNot = !data->isNot;
|
||||||
|
return f;
|
||||||
|
}
|
||||||
|
|
||||||
NUT_END_NAMESPACE
|
NUT_END_NAMESPACE
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ public:
|
||||||
ConditionalPhrase operator >=(const AbstractFieldPhrase &other);
|
ConditionalPhrase operator >=(const AbstractFieldPhrase &other);
|
||||||
|
|
||||||
AbstractFieldPhrase operator ~();
|
AbstractFieldPhrase operator ~();
|
||||||
|
AbstractFieldPhrase operator !();
|
||||||
AssignmentPhrase operator =(const QVariant &other);
|
AssignmentPhrase operator =(const QVariant &other);
|
||||||
AssignmentPhrase operator =(const ConditionalPhrase &other);
|
AssignmentPhrase operator =(const ConditionalPhrase &other);
|
||||||
AssignmentPhrase operator <<(const QVariant &other);
|
AssignmentPhrase operator <<(const QVariant &other);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue