]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
GIT_SILENT Sync po/docbooks with svn
[dolphin.git] / src / dolphinviewcontainer.h
index d4ab0e66ec758d39ec7cbc035cc51a74fd8b4000..d2d322b08d3512a457183f48e93eccebb8504e40 100644 (file)
@@ -460,6 +460,12 @@ private:
      */
     QRect preferredSmallStatusBarGeometry();
 
+    /**
+     * Check if a folder can be created at url.
+     * This method supports only local URLs.
+     */
+    bool isTopMostParentFolderWritable(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;