diff options
| author | David Faure <[email protected]> | 2010-08-30 08:56:19 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2010-08-30 08:56:19 +0000 |
| commit | 12f15322b3fe6e6c5045d8b3e4f319c0eea7e3aa (patch) | |
| tree | 55d92cc9d8a3f30ef2e493c5d358e90f3f9a3802 /src/statusbar/dolphinstatusbar.h | |
| parent | efb1cd9cad5ee540e0e37a3a6d9cbe9fe5d55268 (diff) | |
Move dolphin's statusbar message-label (the one with support for errors and a close button) to libkonq
so that it can be used in konqueror as well. Fix its sizeHint. Reviewed by Peter Penz.
svn path=/trunk/KDE/kdebase/apps/; revision=1169901
Diffstat (limited to 'src/statusbar/dolphinstatusbar.h')
| -rw-r--r-- | src/statusbar/dolphinstatusbar.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/statusbar/dolphinstatusbar.h b/src/statusbar/dolphinstatusbar.h index 5c626cf4b..35c207fcd 100644 --- a/src/statusbar/dolphinstatusbar.h +++ b/src/statusbar/dolphinstatusbar.h @@ -21,12 +21,12 @@ #ifndef DOLPHINSTATUSBAR_H #define DOLPHINSTATUSBAR_H +#include "konq_statusbarmessagelabel.h" #include <QTime> #include <QWidget> class DolphinView; class KUrl; -class StatusBarMessageLabel; class StatusBarSpaceInfo; class QLabel; class QProgressBar; @@ -50,10 +50,10 @@ public: * used for the message text. */ enum Type { - Default, - OperationCompleted, - Information, - Error + Default = KonqStatusBarMessageLabel::Default, + OperationCompleted = KonqStatusBarMessageLabel::OperationCompleted, + Information = KonqStatusBarMessageLabel::Information, + Error = KonqStatusBarMessageLabel::Error }; explicit DolphinStatusBar(QWidget* parent, DolphinView* view); @@ -133,7 +133,7 @@ private slots: void setZoomLevel(int zoomLevel); void zoomOut(); - void zoomIn(); + void zoomIn(); void showZoomSliderToolTip(int zoomLevel); private: @@ -155,7 +155,7 @@ private: private: DolphinView* m_view; - StatusBarMessageLabel* m_messageLabel; + KonqStatusBarMessageLabel* m_messageLabel; StatusBarSpaceInfo* m_spaceInfo; QWidget* m_zoomWidget; |
