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; }
void addRequestableChannelClassSubset(const RequestableChannelClassSpec &rccSpec)
Definition: generic-capability-filter.h:95
QVariantMap fixedProperties() const
Definition: requestable-channel-class-spec.cpp:559
virtual ~GenericCapabilityFilter()
Definition: generic-capability-filter.h:48
The GenericCapabilityFilter class provides a generic filter object to be used to filter objects by ca...
Definition: generic-capability-filter.h:38
RequestableChannelClass bareClass() const
Definition: requestable-channel-class-spec.cpp:583
bool allowsProperty(const QString &name) const
Definition: requestable-channel-class-spec.cpp:567
QStringList allowedProperties() const
Definition: requestable-channel-class-spec.cpp:575
RequestableChannelClassList bareClasses() const
Definition: requestable-channel-class-spec.h:125
void setRequestableChannelClassesSubset(const RequestableChannelClassSpecList &rccSpecs)
Definition: generic-capability-filter.h:100
Definition: abstract-adaptor.cpp:31
The RequestableChannelClassSpec class represents a Telepathy requestable channel class.
Definition: requestable-channel-class-spec.h:36
The Filter class provides a base class to be used by specialized filters such as GenericCapabilityFil...
Definition: filter.h:37
virtual bool isValid() const
Definition: generic-capability-filter.h:50
virtual bool matches(const SharedPtr< T > &t) const
Definition: generic-capability-filter.h:52
static SharedPtr< GenericCapabilityFilter< T > > create(const RequestableChannelClassSpecList &rccSpecs=RequestableChannelClassSpecList())
Definition: generic-capability-filter.h:41
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
RequestableChannelClassSpecList filter() const
Definition: generic-capability-filter.h:93
The RequestableChannelClassSpecList class represents a list of RequestableChannelClassSpec.
Definition: requestable-channel-class-spec.h:101