]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
Offer to mkpath when user goes to a nonexistent folder
[dolphin.git] / src / dolphinviewcontainer.h
index e827c08856e1a740c2e17a8b175d6b116a623b0d..419b9f5b11f5356bc8f078af8eeed046d69ec19e 100644 (file)
@@ -184,6 +184,12 @@ public:
      */
     void showMessage(const QString &message, KMessageWidget::MessageType messageType, std::initializer_list<QAction *> buttonActions = {});
 
+    /**
+     * Forwards to DolphinStatusBar::showProgress(). Only exception: The button to cancel the task is hidden.
+     * @see DolphinStatusBar::showProgress().
+     */
+    void showProgress(const QString &currentlyRunningTaskTitle, int progressPercent);
+
     /**
      * Refreshes the view container to get synchronized with the (updated) Dolphin settings.
      */
@@ -481,6 +487,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;