simplifying workaround for missing nickitems... especially getting rid of old workaround
[quassel.git] / src / uisupport / nickview.h
index 0a567e5..a95798c 100644 (file)
@@ -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);
@@ -52,23 +53,4 @@ private:
   friend class NickListWidget;  // needs selectedIndexes()
 };
 
-// ******************************
-//  NickViewDelgate
-// ******************************
-#include <QStyledItemDelegate>
-
-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