src: Yearly copyright bump
[quassel.git] / src / uisupport / nickview.h
index 8638039..4b4c8c0 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2016 by the Quassel Project                        *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -24,8 +24,9 @@
 #include <QTreeView>
 
 #include "bufferinfo.h"
+#include "treeviewtouch.h"
 
-class NickView : public QTreeView
+class NickView : public TreeViewTouch
 {
     Q_OBJECT
 
@@ -37,9 +38,6 @@ protected:
 
     //! This reimplementation ensures that the current index is first in list
     virtual QModelIndexList selectedIndexes() const;
-       virtual bool event(QEvent *event);
-       virtual void mouseMoveEvent(QMouseEvent *event);
-       virtual void mousePressEvent(QMouseEvent *event);
 
     void unanimatedExpandAll();
 
@@ -55,8 +53,6 @@ signals:
 
 private:
     friend class NickListWidget; // needs selectedIndexes()
-       qint64 _lastTouchStart = 0;
-       bool _touchScrollInProgress = false;
 };