X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b889a446bfe851a7f49821d469c5f3041b6e5774..80156ef3f57bab877574ad2932fbeca42eee05a0:/src/dolphinviewcontainer.h diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index d4ab0e66e..4acccdd81 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -460,6 +460,12 @@ private: */ QRect preferredSmallStatusBarGeometry(); + /** + * Check if a folder can be created at url. + * This method supports only local URLs. + */ + bool isFolderCreatable(QUrl url); + protected: bool eventFilter(QObject *object, QEvent *event) override; @@ -487,6 +493,8 @@ private: Admin::Bar *m_adminBar; /// An action to switch to the admin protocol. This variable will always be nullptr unless kio-admin was installed. @see Admin::WorkerIntegration. QAction *m_authorizeToEnterFolderAction; + /// An action to create new folder in case user enters a nonexistent URL in the location bar. + QAction *m_createFolderAction; KMessageWidget *m_messageWidget;