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