diff options
| author | Peter Penz <[email protected]> | 2009-03-26 18:44:36 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-03-26 18:44:36 +0000 |
| commit | 66ef40ec88f5e2d6985b0bb8dd8dca1469a855a1 (patch) | |
| tree | 9243199f71a28f9973d95cf70ecad835f799c708 /src/dolphinviewactionhandler.h | |
| parent | 18a81c6301981617ab506f7d3e88f535ce459fda (diff) | |
Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 has been pressed, so that the directory gets automatically selected afterwards.
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=945037
Diffstat (limited to 'src/dolphinviewactionhandler.h')
| -rw-r--r-- | src/dolphinviewactionhandler.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/dolphinviewactionhandler.h b/src/dolphinviewactionhandler.h index 18305d19f..40062de04 100644 --- a/src/dolphinviewactionhandler.h +++ b/src/dolphinviewactionhandler.h @@ -55,7 +55,7 @@ public: * Sets the view that this action handler should work on. */ void setCurrentView(DolphinView* view); - + /** * Returns the view that this action handler should work on. */ @@ -65,11 +65,11 @@ public: * Returns the name of the action for the current viewmode */ QString currentViewModeActionName() const; - + /** * Returns m_actionCollection */ - KActionCollection* actionCollection(); + KActionCollection* actionCollection(); public Q_SLOTS: /** @@ -85,13 +85,14 @@ Q_SIGNALS: */ void actionBeingHandled(); -private Q_SLOTS: /** - * Opens the dialog for creating a directory. Is connected - * with the key shortcut for "new directory" (F10). + * Emitted if the user requested creating a new directory by the F10 key. + * The receiver of the signal (DolphinMainWindow or DolphinPart) invokes + * the method createDirectory of their KNewMenu instance. */ - void slotCreateDir(); + void createDirectory(); +private Q_SLOTS: /** * Emitted when the user requested a change of view mode */ |
