From 12f15322b3fe6e6c5045d8b3e4f319c0eea7e3aa Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 30 Aug 2010 08:56:19 +0000 Subject: 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 --- src/statusbar/dolphinstatusbar.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/statusbar/dolphinstatusbar.h') 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 #include 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; -- cgit v1.3.1