diff options
| author | Peter Penz <[email protected]> | 2010-11-20 17:17:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-11-20 17:17:35 +0000 |
| commit | 6ec1a1eb364f70d33922a6936f01d981e9e7f620 (patch) | |
| tree | 73f34eafd4aec55ce3d0e5591f440bb2d6d22e15 /src/statusbar/dolphinstatusbar.h | |
| parent | 111558558437cbe14624b6916371ca7f82467bba (diff) | |
Allow to cancel the loading of search results.
BUG: 257421
FIXED-IN: 4.6.0
svn path=/trunk/KDE/kdebase/apps/; revision=1199112
Diffstat (limited to 'src/statusbar/dolphinstatusbar.h')
| -rw-r--r-- | src/statusbar/dolphinstatusbar.h | 7 |
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 |
