equal
deleted
inserted
replaced
61 class QContactFilterPrivate; |
61 class QContactFilterPrivate; |
62 class Q_CONTACTS_EXPORT QContactFilter |
62 class Q_CONTACTS_EXPORT QContactFilter |
63 { |
63 { |
64 public: |
64 public: |
65 QContactFilter(); |
65 QContactFilter(); |
66 virtual ~QContactFilter(); |
66 ~QContactFilter(); |
67 QContactFilter(const QContactFilter& other); |
67 QContactFilter(const QContactFilter& other); |
68 QContactFilter& operator=(const QContactFilter& other); |
68 QContactFilter& operator=(const QContactFilter& other); |
69 |
69 |
70 enum FilterType { |
70 enum FilterType { |
71 InvalidFilter, |
71 InvalidFilter, |
89 MatchStartsWith = Qt::MatchStartsWith, // 2 |
89 MatchStartsWith = Qt::MatchStartsWith, // 2 |
90 MatchEndsWith = Qt::MatchEndsWith, // 3 |
90 MatchEndsWith = Qt::MatchEndsWith, // 3 |
91 MatchFixedString = Qt::MatchFixedString, // 8 |
91 MatchFixedString = Qt::MatchFixedString, // 8 |
92 MatchCaseSensitive = Qt::MatchCaseSensitive, // 16 |
92 MatchCaseSensitive = Qt::MatchCaseSensitive, // 16 |
93 MatchPhoneNumber = 1024, |
93 MatchPhoneNumber = 1024, |
94 MatchKeypadCollation = 1025 |
94 MatchKeypadCollation = 2048 |
95 }; |
95 }; |
96 Q_DECLARE_FLAGS(MatchFlags, MatchFlag) |
96 Q_DECLARE_FLAGS(MatchFlags, MatchFlag) |
97 |
97 |
98 bool operator==(const QContactFilter& other) const; |
98 bool operator==(const QContactFilter& other) const; |
99 bool operator!=(const QContactFilter& other) const {return !operator==(other);} |
99 bool operator!=(const QContactFilter& other) const {return !operator==(other);} |