diff options
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; |