X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnickviewfilter.h;h=382081391d1c2ba51bb22118bfd3f1be322375c3;hp=7bf9b6bcdd178b727d26f14472c4161aa72f3741;hb=d27f243e92c66bba5bb6f8d01b63f6dad5b1ace9;hpb=deba2421d87cbdea05c925cb3425042559d6ba21 diff --git a/src/uisupport/nickviewfilter.h b/src/uisupport/nickviewfilter.h index 7bf9b6bc..38208139 100644 --- a/src/uisupport/nickviewfilter.h +++ b/src/uisupport/nickviewfilter.h @@ -23,8 +23,6 @@ #include -#include - #include "types.h" class NetworkModel; @@ -41,23 +39,10 @@ public: protected: virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; - -private slots: - void showUserStateIconsChanged(); + QVariant styleData(const QModelIndex &index, int role) const; private: BufferId _bufferId; - - QHash _categoryIconHash; - QPixmap _userOnlineIcon; - QPixmap _userAwayIcon; - QPixmap _categoryOpIcon; - QPixmap _categoryVoiceIcon; - int _opIconLimit; - int _voiceIconLimit; - bool _showUserStateIcons; - - void loadColors(); }; #endif