diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/statusbarspaceinfo.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-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/statusbarspaceinfo.h')
-rw-r--r-- | src/statusbarspaceinfo.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/statusbarspaceinfo.h b/src/statusbarspaceinfo.h index 6409c45..cba7f60 100644 --- a/src/statusbarspaceinfo.h +++ b/src/statusbarspaceinfo.h @@ -20,10 +20,10 @@ #ifndef STATUSBARSPACEINFO_H #define STATUSBARSPACEINFO_H -#include <qwidget.h> -#include <qstring.h> +#include <tqwidget.h> +#include <tqstring.h> #include <kurl.h> -#include <qcolor.h> +#include <tqcolor.h> class KDiskFreeSp; @@ -31,20 +31,21 @@ class KDiskFreeSp; * @short Shows the available space for the current volume as part * of the status bar. */ -class StatusBarSpaceInfo : public QWidget +class StatusBarSpaceInfo : public TQWidget { Q_OBJECT + TQ_OBJECT public: - StatusBarSpaceInfo(QWidget* parent); + StatusBarSpaceInfo(TQWidget* tqparent); virtual ~StatusBarSpaceInfo(); void setURL(const KURL& url); const KURL& url() const { return m_url; } protected: - /** @see QWidget::paintEvent */ - virtual void paintEvent(QPaintEvent* event); + /** @see TQWidget::paintEvent */ + virtual void paintEvent(TQPaintEvent* event); private slots: /** @@ -55,7 +56,7 @@ private slots: void slotFoundMountPoint(const unsigned long& kBSize, const unsigned long& kBUsed, const unsigned long& kBAvailable, - const QString& mountPoint); + const TQString& mountPoint); void slotDone(); /** Refreshs the space information for the current set URL. */ @@ -67,7 +68,7 @@ private: * the given background color \a bgColor. It is assured * that enough contrast is given to have a visual indication. */ - QColor progressColor(const QColor& bgColor) const; + TQColor progressColor(const TQColor& bgColor) const; KURL m_url; bool m_gettingSize; |