From 6ec1a1eb364f70d33922a6936f01d981e9e7f620 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 20 Nov 2010 17:17:35 +0000 Subject: Allow to cancel the loading of search results. BUG: 257421 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1199112 --- src/statusbar/dolphinstatusbar.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/statusbar/dolphinstatusbar.h') 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 -- cgit v1.3