| Home · All Classes · Annotated · Functions |
The QCategoryFilter class filters category sets. More...
#include <QCategoryFilter>
The QCategoryFilter class filters category sets.
The QCategoryFilter class allows consistent filtering of records or objects that have a set of categories assigned. It also provides methods to store the current filtering method in a QSettings file.
| Constant | Value | Description |
|---|---|---|
| QCategoryFilter::List | 0 | Only accept category sets that contain all of the required categories. |
| QCategoryFilter::Unfiled | 1 | Only accept empty category sets. |
| QCategoryFilter::All | 2 | Accept all category sets. |
Constructs a QCategoryFilter object. By default this object will accept all category sets.
Constructs a QCategoryFilter object of the type t.
See also FilterType.
Constructs a QCategoryFilter object that only accepts category sets containing all the categories listed in set.
Constructs a QCategoryFilter object that only accepts category sets containing the category c.
Constructs a QCategoryFilter object as a copy of other.
Destroys a QCategoryFilter object.
Returns true if the QCategoryFilterObject accepts all category sets. Otherwise returns false.
Returns true if the QCategoryFilterObject only accepts empty category sets. Otherwise returns false.
Returns true if the set of categories described by list is accepted by the QCategoryFilter object. Otherwise returns false.
Returns a translated string that briefly describe the QCategoryFilter object. scope specifies the scope in which to search for the label.
Reads the QCategoryFilter from the QSettings file c using the key key.
See also writeConfig().
Returns the list of categories that must be in a set for the set to be accepted.
Writes the QCategoryFilter to the QSettings file c using the key key.
See also readConfig().
Returns true if the QCategoryFilter object is not equivilent to other. Otherwise returns false.
Assigns the QCategoryFilter object to be a copy of other.
Returns true if the QCategoryFilter object is equivilent to other. Otherwise returns false.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |