┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbar/dolphinstatusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/statusbar/dolphinstatusbar.h')
-rw-r--r--src/statusbar/dolphinstatusbar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/statusbar/dolphinstatusbar.h b/src/statusbar/dolphinstatusbar.h
index 35c207fcd..2c1378372 100644
--- a/src/statusbar/dolphinstatusbar.h
+++ b/src/statusbar/dolphinstatusbar.h
@@ -115,6 +115,12 @@ public:
*/
void refresh();
+signals:
+ /**
+ * Is emitted if the stop-button has been pressed during showing a progress.
+ */
+ void stopPressed();
+
protected:
/** @see QWidget::contextMenuEvent() */
virtual void contextMenuEvent(QContextMenuEvent* event);
@@ -165,6 +171,7 @@ private:
QLabel* m_progressText;
QProgressBar* m_progressBar;
+ QToolButton* m_stopButton;
int m_progress;
// Timestamp when the last message has been set that has not the type