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