23 #ifndef _TelepathyQt_generic_capability_filter_h_HEADER_GUARD_ 24 #define _TelepathyQt_generic_capability_filter_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/ConnectionCapabilities> 31 #include <TelepathyQt/Filter> 32 #include <TelepathyQt/Types> 50 inline virtual bool isValid()
const {
return true; }
107 :
Filter<T>(), mFilter(rccSpecs) { }
109 RequestableChannelClassSpecList mFilter;
virtual ~GenericCapabilityFilter()
Definition: generic-capability-filter.h:48
QStringList allowedProperties() const
Definition: requestable-channel-class-spec.cpp:575
RequestableChannelClassSpecList filter() const
Definition: generic-capability-filter.h:93
bool allowsProperty(const QString &name) const
Definition: requestable-channel-class-spec.cpp:567
void addRequestableChannelClassSubset(const RequestableChannelClassSpec &rccSpec)
Definition: generic-capability-filter.h:95
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101
virtual bool matches(const SharedPtr< T > &t) const
Definition: generic-capability-filter.h:52
virtual bool isValid() const
Definition: generic-capability-filter.h:50
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
void setRequestableChannelClassesSubset(const RequestableChannelClassSpecList &rccSpecs)
Definition: generic-capability-filter.h:100
static SharedPtr< GenericCapabilityFilter< T > > create(const RequestableChannelClassSpecList &rccSpecs=RequestableChannelClassSpecList())
Definition: generic-capability-filter.h:41
The RequestableChannelClassSpec class represents a Telepathy requestable channel class.
Definition: requestable-channel-class-spec.h:36
The GenericCapabilityFilter class provides a generic filter object to be used to filter objects by ca...
Definition: generic-capability-filter.h:38
RequestableChannelClassList bareClasses() const
Definition: requestable-channel-class-spec.h:125
QVariantMap fixedProperties() const
Definition: requestable-channel-class-spec.cpp:559
RequestableChannelClass bareClass() const
Definition: requestable-channel-class-spec.cpp:583
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
Definition: abstract-adaptor.cpp:31