]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
When you view the context menu of a file/folder and shift is pressed (and the delete...
[dolphin.git] / src / dolphinmainwindow.h
index b9dbe9f9d1556d099ac0b2d3307870b506ac1945..cb0be1431c0765f2a22a9958d72dfe320de7d67d 100644 (file)
 #include <ksortablelist.h>
 #include <kxmlguiwindow.h>
 #include <kactionmenu.h>
+#include <kmodifierkeyinfo.h>
 
 #include "views/dolphinview.h"
 
+#include "dolphincontextmenu.h"
+
 #include <QList>
 
 typedef KIO::FileUndoManager::CommandType CommandType;
@@ -318,9 +321,6 @@ private slots:
      */
     void slotSelectionChanged(const KFileItemList& selection);
 
-    /** Enables changing of tabs via mouse wheel. */
-    void slotWheelMoved(int wheelDelta);
-
     /** Emits the signal requestItemInfo(). */
     void slotRequestItemInfo(const KFileItem&);
 
@@ -419,12 +419,6 @@ private slots:
      */
     void slotHandleUrlStatFinished(KJob* job);
 
-    /**
-     * setUrlAsCaption() will trigger a stat job which reports its result in
-     * this slot.
-     */
-    void slotCaptionStatFinished(KJob* job);
-
     /**
      * Is connected to the KTabBar signal receivedDropEvent.
      * Allows dragging and dropping files onto tabs.
@@ -548,8 +542,9 @@ private:
     DolphinRemoteEncoding* m_remoteEncoding;
     QPointer<DolphinSettingsDialog> m_settingsDialog;
 
-    KJob* m_captionStatJob;
     KJob* m_lastHandleUrlStatJob;
+
+    KModifierKeyInfo m_keyInfo;
 };
 
 inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const