23 #ifndef _TelepathyQt_not_filter_h_HEADER_GUARD_
24 #define _TelepathyQt_not_filter_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Filter>
31 #include <TelepathyQt/Types>
50 return mFilter && mFilter->isValid();
59 return !mFilter->matches(t);
68 SharedPtr<const Filter<T> > mFilter;
virtual bool isValid() const
Definition: not-filter.h:48
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
virtual bool matches(const SharedPtr< T > &t) const
Definition: not-filter.h:53
static SharedPtr< NotFilter< T > > create(const SharedPtr< const Filter< T > > &filter=SharedPtr< const Filter< T > >())
Definition: not-filter.h:40
virtual ~NotFilter()
Definition: not-filter.h:46
SharedPtr< const Filter< T > > filter() const
Definition: not-filter.h:62
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
The NotFilter class provides a generic filter object to be used in conjunction of other filters...
Definition: not-filter.h:37