Closing BR #126
[quassel.git] / src / qtui / inputwidget.h
index 86a7693..141105f 100644 (file)
@@ -49,7 +49,7 @@ protected slots:
 //   virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint);
 //   virtual void commitData(QWidget *editor);
   virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous);
-//   virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
+  virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
 //   virtual void editorDestroyed(QObject *editor);
 //   virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end);
 //   virtual void rowsInserted(const QModelIndex &parent, int start, int end);
@@ -79,4 +79,13 @@ private:
 
 };
 
+
+class MouseWheelFilter : public QObject {
+  Q_OBJECT
+
+public:
+  MouseWheelFilter(QObject *parent = 0);
+  virtual bool eventFilter(QObject *obj, QEvent *event);
+};
+
 #endif // INPUTWIDGET_H