00001 #ifndef FILTERMESSAGEREADED_H 00002 #define FILTERMESSAGEREADED_H 00003 00004 #include "filter/filter.h" 00005 00006 class FilterMessageReaded : public Filter 00007 { 00008 Q_OBJECT 00009 bool enabled; 00010 public: 00011 explicit FilterMessageReaded(QObject *parent = 0); 00012 int filterableType() const; 00013 bool isFiltered(QVariant value) const; 00014 QActionGroup* createActions(); 00015 00016 private slots: 00017 void actionToggled(bool state); 00018 }; 00019 00020 #endif // FILTERMESSAGEREADED_H