* The statusbar allows to show messages and progress
* information.
*/
-class DolphinStatusBar : public KHBox {
+class DolphinStatusBar : public KHBox
+{
Q_OBJECT
public:
* operations.
*/
void setProgress(int percent);
- int progress() const { return m_progress; }
+ int progress() const
+ {
+ return m_progress;
+ }
/**
* Clears the message text of the status bar by replacing
* is cleared by DolphinStatusBar::clear().
*/
void setDefaultText(const QString& text);
- const QString& defaultText() const { return m_defaultText; }
+ const QString& defaultText() const;
protected:
/** @see QWidget::resizeEvent() */
QLabel* m_progressText;
QProgressBar* m_progressBar;
int m_progress;
-
- QString m_defaultText;
};
#endif