summaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/notifierwindowprogressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/notifier/notifierwindowprogressbar.cpp')
-rw-r--r--src/modules/notifier/notifierwindowprogressbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/notifier/notifierwindowprogressbar.cpp b/src/modules/notifier/notifierwindowprogressbar.cpp
index 72bbdecf..f4f77b01 100644
--- a/src/modules/notifier/notifierwindowprogressbar.cpp
+++ b/src/modules/notifier/notifierwindowprogressbar.cpp
@@ -24,7 +24,7 @@
#include "notifierwindowprogressbar.h"
-KviNotifierWindowProgressBar::KviNotifierWindowProgressBar(QRect r)
+KviNotifierWindowProgressBar::KviNotifierWindowProgressBar(TQRect r)
: m_rect(r)
{
@@ -35,17 +35,17 @@ KviNotifierWindowProgressBar::~KviNotifierWindowProgressBar()
m_dProgress = 0;
}
-void KviNotifierWindowProgressBar::draw(QPainter *p)
+void KviNotifierWindowProgressBar::draw(TQPainter *p)
{
- p->fillRect(m_rect, QColor(236, 233, 216));
+ p->fillRect(m_rect, TQColor(236, 233, 216));
p->fillRect(
- QRect(
+ TQRect(
m_rect.x()+1,
m_rect.y()+1 + m_rect.height() * (1 - m_dProgress),
m_rect.width() - 2,
(m_rect.height() - 2) * m_dProgress
),
- QColor(175, 28, 95)
+ TQColor(175, 28, 95)
);
p->drawRect(m_rect);
}