]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
There is no need to burden DolphinMainWindow with internals of the context-menu.
[dolphin.git] / src / dolphinmainwindow.h
index 4d993865f24ab1acf5afb4328cbf36bca6ab4df1..d76cf0d5c04b3b8f5ed8b8c562dba660d67e8ef4 100644 (file)
@@ -114,7 +114,7 @@ public:
      * Returns the 'Create New...' sub menu which also can be shared
      * with other menus (e. g. a context menu).
      */
-    KNewFileMenu* newMenu() const;
+    KNewFileMenu* newFileMenu() const;
 
     /**
      * Returns the 'Show Menubar' action which can be shared with
@@ -318,9 +318,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 +416,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.
@@ -524,7 +515,7 @@ private:
         virtual void jobError(KIO::Job* job);
     };
 
-    KNewFileMenu* m_newMenu;
+    KNewFileMenu* m_newFileMenu;
     KActionMenu* m_recentTabsMenu;
     KAction* m_showMenuBar;
     KTabBar* m_tabBar;
@@ -548,7 +539,6 @@ private:
     DolphinRemoteEncoding* m_remoteEncoding;
     QPointer<DolphinSettingsDialog> m_settingsDialog;
 
-    KJob* m_captionStatJob;
     KJob* m_lastHandleUrlStatJob;
 };
 
@@ -562,9 +552,9 @@ inline bool DolphinMainWindow::isSplit() const
     return m_viewTab[m_tabIndex].secondaryView != 0;
 }
 
-inline KNewFileMenu* DolphinMainWindow::newMenu() const
+inline KNewFileMenu* DolphinMainWindow::newFileMenu() const
 {
-    return m_newMenu;
+    return m_newFileMenu;
 }
 
 inline KAction* DolphinMainWindow::showMenuBarAction() const