![]() |
Home | ![]() |
The QMailDataComparator namespace contains types used in specifying the comparison of QMailStore objects with user-defined values. More...
#include <QMailDataComparator>
| enum | EqualityComparator { Equal, NotEqual } |
| enum | InclusionComparator { Includes, Excludes } |
| enum | PresenceComparator { Present, Absent } |
| enum | RelationComparator { LessThan, LessThanEqual, GreaterThan, GreaterThanEqual } |
The QMailDataComparator namespace contains types used in specifying the comparison of QMailStore objects with user-defined values.
Defines the comparison operations that can be used to compare data elements of QMailStore objects for equality and inequality.
| Constant | Value | Description |
|---|---|---|
| QMailDataComparator::Equal | 0 | Represents the '==' operator. |
| QMailDataComparator::NotEqual | 1 | Represents the '!=' operator. |
Defines the comparison operations that can be used to compare data elements of QMailStore objects for inclusion or exclusion.
| Constant | Value | Description |
|---|---|---|
| QMailDataComparator::Includes | 0 | Represents an operation in which an associated property is tested to determine whether it is equal to any of a supplied set of values. Alternatively, it may be used to determine whether a single supplied value is included within the associated QMailStore property. |
| QMailDataComparator::Excludes | 1 | Represents an operation in which an associated property is tested to determine whether it is equal to none of a supplied set of values. Alternatively, it may be used to determine whether a single supplied value is not included within the associated QMailStore property. |
Defines the comparison operations that can be used to compare data elements of QMailStore objects, according to presence or absence.
| Constant | Value | Description |
|---|---|---|
| QMailDataComparator::Present | 0 | Tests whether the specified property is present in the QMailStore object. |
| QMailDataComparator::Absent | 1 | Tests whether the specified property is absent in the QMailStore object. |
Defines the comparison operations that can be used to compare data elements of QMailStore objects, according to a specific relation.
| Constant | Value | Description |
|---|---|---|
| QMailDataComparator::LessThan | 0 | Represents the '<' operator. |
| QMailDataComparator::LessThanEqual | 1 | Represents the '<=' operator. |
| QMailDataComparator::GreaterThan | 2 | Represents the '>' operator. |
| QMailDataComparator::GreaterThanEqual | 3 | Represents the '>= operator'. |
| Copyright © 2010 QtSoftware | Messaging Framework |