diff options
| author | David Faure <[email protected]> | 2008-01-21 19:08:52 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-01-21 19:08:52 +0000 |
| commit | c00478bbc1001d10dcfc04e9b0ea251620837e85 (patch) | |
| tree | 59d238add8e6b240e672bf039fc9ec5fc58c7e1b /src/dolphinpart.h | |
| parent | f9aeb825c605ec4ca8b95aae0be1b441ca8ceb91 (diff) | |
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).
Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764429
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 3e3c73f66..04161b6be 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -130,6 +130,12 @@ private Q_SLOTS: */ void slotProperties(); + /** + * Opens the dialog for creating a directory. Is connected + * with the key shortcut for "new directory" (F10). + */ + void createDir(); + private: void createActions(); void createGoAction(const char* name, const char* iconName, |
