X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.h;h=a95798cbade3841f6c20a690717baac069f00c5e;hb=c351c94e52a01571c34a18ddb5947b9e1f771d8c;hp=5fd4eede72f0ce0f71697560fb66040175a71e1b;hpb=c14a00f37179e49f034dc64b4da0c86b51caed5d;p=quassel.git diff --git a/src/uisupport/nickview.h b/src/uisupport/nickview.h index 5fd4eede..a95798cb 100644 --- a/src/uisupport/nickview.h +++ b/src/uisupport/nickview.h @@ -33,11 +33,12 @@ public: protected: virtual void rowsInserted(const QModelIndex &parent, int start, int end); - virtual void customEvent(QEvent *event); //! This reimplementation ensures that the current index is first in list virtual QModelIndexList selectedIndexes() const; + void unanimatedExpandAll(); + public slots: virtual void setModel(QAbstractItemModel *model); virtual void setRootIndex(const QModelIndex &index); @@ -45,9 +46,6 @@ public slots: void showContextMenu(const QPoint & pos); void startQuery(const QModelIndex & modelIndex); -private slots: - void setCustomFont(const QVariant &); - signals: void selectionUpdated(); @@ -55,23 +53,4 @@ private: friend class NickListWidget; // needs selectedIndexes() }; -// ****************************** -// NickViewDelgate -// ****************************** -#include - -class NickViewDelegate : public QStyledItemDelegate { - Q_OBJECT - -public: - NickViewDelegate(QObject *parent = 0); - -protected: - virtual void initStyleOption(QStyleOptionViewItem *option, const QModelIndex &index) const; - -private: - QColor _FgOnlineStatus; - QColor _FgAwayStatus; -}; - #endif