┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbar/dolphinstatusbar.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-12-10 21:54:53 +0000
committerPeter Penz <[email protected]>2010-12-10 21:54:53 +0000
commit0da54e5c1beb880efbc580f2202108ea46d52a1c (patch)
tree7e5338eb6db48e80474d173678c6afc232c89850 /src/statusbar/dolphinstatusbar.h
parent934c7bd12ff77eb0e1bb14e9033efff08813251b (diff)
Show an undetermined progress indication within one second after changing an URL.
svn path=/trunk/KDE/kdebase/apps/; revision=1205329
Diffstat (limited to 'src/statusbar/dolphinstatusbar.h')
-rw-r--r--src/statusbar/dolphinstatusbar.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/statusbar/dolphinstatusbar.h b/src/statusbar/dolphinstatusbar.h
index 2c1378372..6eef520a6 100644
--- a/src/statusbar/dolphinstatusbar.h
+++ b/src/statusbar/dolphinstatusbar.h
@@ -32,6 +32,7 @@ class QLabel;
class QProgressBar;
class QToolButton;
class QSlider;
+class QTimer;
/**
* @brief Represents the statusbar of a Dolphin view.
@@ -86,11 +87,9 @@ public:
/**
* Sets the progress in percent (0 - 100). The
- * progress is shown with a delay of 300 milliseconds:
- * if the progress does reach 100 % within 300 milliseconds,
- * the progress is not shown at all. This assures that
- * no flickering occurs for showing a progress of fast
- * operations.
+ * progress is shown delayed by 1 second:
+ * If the progress does reach 100 % within 1 second,
+ * the progress is not shown at all.
*/
void setProgress(int percent);
int progress() const;
@@ -142,9 +141,9 @@ private slots:
void zoomIn();
void showZoomSliderToolTip(int zoomLevel);
-private:
void updateProgressInfo();
+private:
/**
* Makes the space information widget and zoom slider widget
* visible, if \a visible is true and the settings allow to show
@@ -173,6 +172,7 @@ private:
QProgressBar* m_progressBar;
QToolButton* m_stopButton;
int m_progress;
+ QTimer* m_showProgressBarTimer;
// Timestamp when the last message has been set that has not the type
// 'Default'. The timestamp is used to prevent that default messages