fixed the scrollbar issue in the NickView
[quassel.git] / src / uisupport / nickview.h
index 0bf360a..df8321d 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -30,18 +30,16 @@ class QSortFilterProxyModel;
 class NickView : public QTreeView {
   Q_OBJECT
 
-  public:
-    NickView(QWidget *parent = 0);
-    virtual ~NickView();
-
-  protected:
-    void rowsInserted(const QModelIndex &, int, int);
-
-  public slots:
-    void setModel(NickModel *model);
-
-  private:
-    QSortFilterProxyModel *filteredModel;
+public:
+  NickView(QWidget *parent = 0);
+  virtual ~NickView();
+  
+protected:
+  void rowsInserted(const QModelIndex &, int, int);
+                                                 
+public slots:
+  void setModel(QAbstractItemModel *model);
+  void init();
 
 };