Reenabled Activity levels
[quassel.git] / src / uisupport / bufferviewfilter.h
index 506cbeb..f27352e 100644 (file)
@@ -47,7 +47,7 @@ public:
   };
   Q_DECLARE_FLAGS(Modes, Mode);
 
-  BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QList<uint> &nets);
+  BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QList<NetworkId> &nets);
   
   virtual Qt::ItemFlags flags(const QModelIndex &index) const;
   virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);
@@ -57,7 +57,6 @@ public:
                                                                           
 public slots:
   void removeBuffer(const QModelIndex &);
-  void invalidateFilter_();
   
 protected:
   bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
@@ -65,8 +64,8 @@ protected:
   
 private:
   Modes mode;
-  QSet<uint> networks;
-  QSet<uint> buffers;
+  QSet<NetworkId> networks;
+  QSet<BufferId> buffers;
 
   bool filterAcceptBuffer(const QModelIndex &) const;
   bool filterAcceptNetwork(const QModelIndex &) const;