X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/ee5a78d967e19a995e40268021658cb1c7cc0440..008f524498475dd28717b1f3d65e2c99bbdb5b2a:/src/dolphinpart.h 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 #include +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) };