35 QStringList channels_;
ChannelPredicate(const QStringList &channels)
Create a ChannelPredicate with a list of channels to search for.
Definition: ChannelPredicate.cpp:7
Definition: Application.cpp:48
MessagePredicate checking for the channel a message was sent in.
Definition: ChannelPredicate.hpp:13
bool appliesTo(const Message &message)
Checks whether the message was sent in any of the channels passed in the constructor.
Definition: ChannelPredicate.cpp:20
Abstract base class for message predicates.
Definition: MessagePredicate.hpp:17
Definition: Message.hpp:54