The QMessageDataComparator namespace contains types used in specifying the comparison of MessageStore objects with user-defined values. More...
#include <QMessageDataComparator>
enum | EqualityComparator { Equal, NotEqual } |
enum | InclusionComparator { Includes, Excludes } |
enum | LikeComparator { Like, NotLike } |
enum | MatchFlag { MatchCaseSensitive, MatchFullWord } |
flags | MatchFlags |
enum | RelationComparator { LessThan, LessThanEqual, GreaterThan, GreaterThanEqual } |
The QMessageDataComparator namespace contains types used in specifying the comparison of MessageStore objects with user-defined values.
Defines the comparison operations that can be used to compare data elements of QMessageManager objects for equality and inequality.
Constant | Value | Description |
---|---|---|
QMessageDataComparator::Equal | 0 | Represents the '==' operator. |
QMessageDataComparator::NotEqual | 1 | Represents the '!=' operator. |
Defines the comparison operations that can be used to compare data elements of QMessageManager objects for inclusion or exclusion.
Constant | Value | Description |
---|---|---|
QMessageDataComparator::Includes | 0 | Represents an operation in which an associated property is tested to determine whether it includes a value. |
QMessageDataComparator::Excludes | 1 | Represents an operation in which an associated property is tested to determine whether it is equal to the supplied value. |
Defines the comparison operations that can be used to compare data elements of QMessageManager objects, according to a specific relation.
LikeComparator used the same syntax as an SQL like search, namely, '_' matches any single character and '%' matches zero or more characters. '' is used to escape these symbols and itself.
Constant | Value | Description |
---|---|---|
QMessageDataComparator::Like | 0 | Represents a postive match. |
QMessageDataComparator::NotLike | 1 | Represent a negative match. |
This enum describes additional matching criteria when performing a search.
Constant | Value | Description |
---|---|---|
QMessageDataComparator::MatchCaseSensitive | Qt::MatchCaseSensitive | The key should be case sensitive. Not supported on QMF platform. |
QMessageDataComparator::MatchFullWord | 128 | The key should only match a complete word. Not supported on Windows and QMF platforms. |
The MatchFlags type is a typedef for QFlags<MatchFlag>. It stores an OR combination of MatchFlag values.
Defines the comparison operations that can be used to compare data elements of QMessageManager objects, according to a specific relation.
Constant | Value | Description |
---|---|---|
QMessageDataComparator::LessThan | 0 | Represents the '<' operator. |
QMessageDataComparator::LessThanEqual | 1 | Represents the '<=' operator. |
QMessageDataComparator::GreaterThan | 2 | Represents the '>' operator. |
QMessageDataComparator::GreaterThanEqual | 3 | Represents the '>= operator'. |
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.