From 9a55b0d704c1301f5aef569392ca2695d8fc3204 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 17 Sep 2010 21:16:56 +0000 Subject: There is no need to burden DolphinMainWindow with internals of the context-menu. CCMAIL: markg85@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=1176513 --- src/dolphincontextmenu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dolphincontextmenu.h') 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& 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 m_customActions; QScopedPointer m_popup; bool m_showDeleteCommand; - bool m_shiftIsPressed; + bool m_shiftPressed; + + KModifierKeyInfo m_keyInfo; }; #endif -- cgit v1.3