diff options
| author | Peter Penz <[email protected]> | 2010-09-17 21:16:56 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-09-17 21:16:56 +0000 |
| commit | 9a55b0d704c1301f5aef569392ca2695d8fc3204 (patch) | |
| tree | 3277e5f51172acb20e699c5cd79581ea9051bf2f /src/dolphincontextmenu.h | |
| parent | 304e9524b6c1f3e1582a07c34cdf42ea1c3167bb (diff) | |
There is no need to burden DolphinMainWindow with internals of the context-menu.
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=1176513
Diffstat (limited to 'src/dolphincontextmenu.h')
| -rw-r--r-- | src/dolphincontextmenu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index 052149ba3..e5620203d 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -73,12 +73,11 @@ public: virtual ~DolphinContextMenu(); void setCustomActions(const QList<QAction*>& actions); - void setShiftIsPressed(bool pressed); /** Opens the context menu model. */ void open(); -public slots: +private slots: void deleteOrTrashMenuEntry(Qt::Key key, bool pressed); private: @@ -104,7 +103,6 @@ private: QAction* createPasteAction(); -private: KFileItemListProperties& capabilities(); void addServiceActions(KFileItemActions& fileItemActions); void addVersionControlActions(); @@ -139,7 +137,9 @@ private: QList<QAction*> m_customActions; QScopedPointer<KMenu> m_popup; bool m_showDeleteCommand; - bool m_shiftIsPressed; + bool m_shiftPressed; + + KModifierKeyInfo m_keyInfo; }; #endif |
