~ubuntu-branches/ubuntu/lucid/kdebase/lucid

« back to all changes in this revision

Viewing changes to apps/dolphin/src/dolphiniconsview.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 13:28:20 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202132820-yaqzqr7livmarip5
Tags: 4:4.3.80-0ubuntu1
* New upstream release:
  - Drop kubuntu_05_konsole_colour_scheme.diff, applied upstream
  - Drop kubuntu_15-17.diff, applied upstream
  - Bump build-depend versions
  - Add build-depend on shared-desktop-ontologies for nepomuk support
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (C) 2006 by Peter Penz (peter.penz@gmx.at)                  *
 
2
 *   Copyright (C) 2006-2009 by Peter Penz <peter.penz@gmx.at>             *
3
3
 *                                                                         *
4
4
 *   This program is free software; you can redistribute it and/or modify  *
5
5
 *   it under the terms of the GNU General Public License as published by  *
32
32
#include <libdolphin_export.h>
33
33
 
34
34
class DolphinController;
35
 
class SelectionManager;
36
35
class DolphinCategoryDrawer;
37
 
class DolphinViewAutoScroller;
 
36
class DolphinSortFilterProxyModel;
 
37
class ViewExtensionsFactory;
38
38
 
39
39
/**
40
40
 * @brief Represents the view, where each item is shown as an icon.
47
47
    Q_OBJECT
48
48
 
49
49
public:
50
 
    explicit DolphinIconsView(QWidget* parent, DolphinController* controller);
 
50
    explicit DolphinIconsView(QWidget* parent,
 
51
                              DolphinController* controller,
 
52
                              DolphinSortFilterProxyModel* proxyModel);
51
53
    virtual ~DolphinIconsView();
52
54
 
53
55
protected slots:
62
64
    virtual void dragLeaveEvent(QDragLeaveEvent* event);
63
65
    virtual void dragMoveEvent(QDragMoveEvent* event);
64
66
    virtual void dropEvent(QDropEvent* event);
 
67
    virtual QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
65
68
    virtual void keyPressEvent(QKeyEvent* event);
66
69
    virtual void wheelEvent(QWheelEvent* event);
67
70
    virtual void showEvent(QShowEvent* event);
91
94
 
92
95
private:
93
96
    DolphinController* m_controller;
94
 
    SelectionManager* m_selectionManager;
95
 
    DolphinViewAutoScroller* m_autoScroller;
96
97
    DolphinCategoryDrawer* m_categoryDrawer;
 
98
    ViewExtensionsFactory* m_extensionsFactory;
97
99
 
98
100
    QFont m_font;
99
101
    QSize m_decorationSize;