┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinstatusbar.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-01-23 18:33:43 +0000
committerPeter Penz <[email protected]>2007-01-23 18:33:43 +0000
commit50676d8d255ed52d91885e5dd23e60474777cfd5 (patch)
treed9ae33a813c9d083ff85536f71ff5a015a83359b /src/dolphinstatusbar.h
parentfe34b6b5518bd416924f75662a8dc6f0b608b2fb (diff)
Minor adjustments and cleanups in the statusbar:
- prevent a flickering of the space information if a folder has been changed - assure that no progress bar and space information is shown if an error is displayed currently svn path=/trunk/playground/utils/dolphin/; revision=626571
Diffstat (limited to 'src/dolphinstatusbar.h')
-rw-r--r--src/dolphinstatusbar.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h
index 7dea4c35c..445419c3f 100644
--- a/src/dolphinstatusbar.h
+++ b/src/dolphinstatusbar.h
@@ -21,17 +21,15 @@
#ifndef DOLPHINSTATUSBAR_H
#define DOLPHINSTATUSBAR_H
-
-//Added by qt3to4:
-#include <QLabel>
#include <khbox.h>
+
+class DolphinView;
+class KUrl;
+class StatusBarMessageLabel;
+class StatusBarSpaceInfo;
class QProgressBar;
class QLabel;
class QTimer;
-class StatusBarMessageLabel;
-class StatusBarSpaceInfo;
-class DolphinView;
-class KUrl;
/**
* @brief Represents the statusbar of a Dolphin view.
@@ -70,8 +68,8 @@ public:
* is cleared automatically.
*/
void setMessage(const QString& msg, Type type);
-
QString message() const;
+
Type type() const;
/**
@@ -113,21 +111,23 @@ public:
const QString& defaultText() const { return m_defaultText; }
private slots:
- void slotProgressTimer();
+ void updateProgressInfo();
/**
- * Is invoked, when the Url of the DolphinView, where the
- * statusbar belongs too, has been changed.
+ * Is invoked, when the URL of the DolphinView, where the
+ * statusbar belongs too, has been changed. The space information
+ * is updated.
*/
- void slotUrlChanged(const KUrl& url);
+ void updateSpaceInfo(const KUrl& url);
private:
StatusBarMessageLabel* m_messageLabel;
StatusBarSpaceInfo* m_spaceInfo;
+
QLabel* m_progressText;
QProgressBar* m_progressBar;
- QTimer* m_progressTimer;
int m_progress;
+
QString m_defaultText;
};