diff options
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index ac32c5f43..6778bb064 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -22,6 +22,7 @@ #include <kparts/part.h> #include <kparts/browserextension.h> +class KNewMenu; class DolphinViewActionHandler; class QActionGroup; class KAction; @@ -177,6 +178,11 @@ private Q_SLOTS: */ void slotOpenTerminal(); + /** + * Updates the 'Create New...' sub menu, just before it's shown. + */ + void updateNewMenu(); + private: void createActions(); void createGoAction(const char* name, const char* iconName, @@ -190,6 +196,7 @@ private: DolphinModel* m_dolphinModel; DolphinSortFilterProxyModel* m_proxyModel; DolphinPartBrowserExtension* m_extension; + KNewMenu* m_newMenu; QString m_nameFilter; Q_DISABLE_COPY(DolphinPart) }; |
