From de5f08d69c716f85cc92f20700cd24fb1ad41295 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 16 Jan 2005 14:10:42 +0000 Subject: added AB filter settings --- (limited to 'kaddressbook/filter.h') diff --git a/kaddressbook/filter.h b/kaddressbook/filter.h index cf2c0a1..26870d7 100644 --- a/kaddressbook/filter.h +++ b/kaddressbook/filter.h @@ -38,7 +38,10 @@ */ class Filter { - public: + public: + enum { ShowPublic = 1, ShowPrivate = 2, ShowConfidential = 4}; + void setCriteria(int c) { mCriteria = c ;} + int criteria() const { return mCriteria;} typedef QValueList List; enum MatchRule { Matching = 0, NotMatching = 1 }; @@ -143,6 +146,7 @@ class Filter MatchRule matchRule() const; private: + int mCriteria; QString mName; QStringList mCategoryList; MatchRule mMatchRule; -- cgit v0.9.0.2