X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Finputwidget.h;h=141105fe73115ade9aee05768da940c4f5f2e2db;hp=86a769386091434cb620215c93b54b4cb8586f74;hb=f66bc9ecb5ebde376da256035db425d7dc0c74d0;hpb=0c9cd0eef379e1d3e10a75cc8506a7e65f95fd67 diff --git a/src/qtui/inputwidget.h b/src/qtui/inputwidget.h index 86a76938..141105fe 100644 --- a/src/qtui/inputwidget.h +++ b/src/qtui/inputwidget.h @@ -49,7 +49,7 @@ protected slots: // virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); // virtual void commitData(QWidget *editor); virtual void currentChanged(const QModelIndex ¤t, 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