summaryrefslogtreecommitdiffstats
path: root/src/dolphinstatusbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
commit7a741e43ff09e70396a918956219b8316c48e522 (patch)
tree3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/dolphinstatusbar.h
parenta48487ef0c329434b58b6f920111bb0999f1109e (diff)
downloaddolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz
dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/dolphinstatusbar.h')
-rw-r--r--src/dolphinstatusbar.h29
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