diff options
Diffstat (limited to 'src/dolphinstatusbar.h')
-rw-r--r-- | src/dolphinstatusbar.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h index e4e3e8d..28ff69d 100644 --- a/src/dolphinstatusbar.h +++ b/src/dolphinstatusbar.h @@ -21,10 +21,10 @@ #ifndef DOLPHINSTATUSBAR_H #define DOLPHINSTATUSBAR_H -#include <qhbox.h> +#include <tqhbox.h> class KProgress; -class QLabel; -class QTimer; +class TQLabel; +class TQTimer; class StatusBarMessageLabel; class StatusBarSpaceInfo; class DolphinView; @@ -38,8 +38,9 @@ class KURL; * * @author Peter Penz */ -class DolphinStatusBar : public QHBox { +class DolphinStatusBar : public TQHBox { Q_OBJECT + TQ_OBJECT public: /** @@ -54,7 +55,7 @@ public: Error }; - DolphinStatusBar(DolphinView* parent = 0); + DolphinStatusBar(DolphinView* tqparent = 0); virtual ~DolphinStatusBar(); /** @@ -68,9 +69,9 @@ public: * with the type Type::Error is set, the progress * is cleared automatically. */ - void setMessage(const QString& msg, Type type); + void setMessage(const TQString& msg, Type type); - QString message() const; + TQString message() const; Type type() const; /** @@ -82,8 +83,8 @@ public: * no flickering occurs for showing a progress of fast * operations. */ - void setProgressText(const QString& text); - QString progressText() const; + void setProgressText(const TQString& text); + TQString progressText() const; /** * Sets the progress in percent (0 - 100). The @@ -108,8 +109,8 @@ public: * Sets the default text, which is shown if the status bar * is cleared by DolphinStatusBar::clear(). */ - void setDefaultText(const QString& text); - const QString& defaultText() const { return m_defaultText; } + void setDefaultText(const TQString& text); + const TQString& defaultText() const { return m_defaultText; } private slots: void slotProgressTimer(); @@ -123,11 +124,11 @@ private slots: private: StatusBarMessageLabel* m_messageLabel; StatusBarSpaceInfo* m_spaceInfo; - QLabel* m_progressText; + TQLabel* m_progressText; KProgress* m_progressBar; - QTimer* m_progressTimer; + TQTimer* m_progressTimer; int m_progress; - QString m_defaultText; + TQString m_defaultText; }; #endif |