diff options
| author | Peter Penz <[email protected]> | 2008-02-21 14:01:40 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-21 14:01:40 +0000 |
| commit | 518372394da1f58da8e69acbb981a97db375e739 (patch) | |
| tree | 3f0b0fb6449a23ed8369a84bdb4c5485e027c281 /src/dolphinview.h | |
| parent | b34ed68daf1923eacc9330ec49088fc24a56a415 (diff) | |
* Install an event-filter for the view implementations. Whenever a view implementation gets the focus, it should request it's activation.
* Let the metadata widget only get the focus by clicking.
* Tried to install a similar filter for the wheel-event code duplication in the view-implementations, but the event filter is invoked _after_ the view implementation gets the wheel event... -> added a note the the 3 implementations as hint.
svn path=/trunk/KDE/kdebase/apps/; revision=777757
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index af0dd62a2..4f2964761 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -75,11 +75,11 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinView : public QWidget public: /** - * Defines the view mode for a directory. The view mode - * can be defined when constructing a DolphinView. The - * view mode is automatically updated if the directory itself - * defines a view mode (see class ViewProperties for details). - */ + * Defines the view mode for a directory. The view mode + * can be defined when constructing a DolphinView. The + * view mode is automatically updated if the directory itself + * defines a view mode (see class ViewProperties for details). + */ enum Mode { /** @@ -489,6 +489,7 @@ protected: /** @see QWidget::mouseReleaseEvent */ virtual void mouseReleaseEvent(QMouseEvent* event); virtual void wheelEvent(QWheelEvent* event); + virtual bool eventFilter(QObject* watched, QEvent* event); private slots: /** |
