summaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/notifierwindowprogressbar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/notifier/notifierwindowprogressbar.cpp
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}