- /**
- * Describes the type of the message text. Dependent
- * from the type a corresponding icon and color is
- * used for the message text.
- */
- enum Type {
- Default = KonqStatusBarMessageLabel::Default,
- OperationCompleted = KonqStatusBarMessageLabel::OperationCompleted,
- Information = KonqStatusBarMessageLabel::Information,
- Error = KonqStatusBarMessageLabel::Error
- };
-
- DolphinStatusBar(QWidget* parent, DolphinView* view);
-
- virtual ~DolphinStatusBar();
-
- /**
- * Sets the message text to \a msg. Dependant
- * from the given type \a type an icon is shown and
- * the color of the text is adjusted. The height of
- * the statusbar is automatically adjusted in a way,
- * that the full text fits into the available width.
- *
- * If a progress is ongoing and a message
- * with the type Type::Error is set, the progress
- * is cleared automatically.
- */
- void setMessage(const QString& msg, Type type);
- QString message() const;