summaryrefslogtreecommitdiffstats
path: root/kalzium/src/kalziumtip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/kalziumtip.cpp')
-rw-r--r--kalzium/src/kalziumtip.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalzium/src/kalziumtip.cpp b/kalzium/src/kalziumtip.cpp
index 794c9f25..e0e05388 100644
--- a/kalzium/src/kalziumtip.cpp
+++ b/kalzium/src/kalziumtip.cpp
@@ -139,7 +139,7 @@ void KalziumTip::display()
m_richText->setWidth(400);
- m_tqmaskEffect = isVisible() ? Plain : Dissolve;
+ m_maskEffect = isVisible() ? Plain : Dissolve;
m_dissolveSize = 24;
m_dissolveDelta = -1;
@@ -178,7 +178,7 @@ void KalziumTip::displayInternal()
resize(width, height);
// create and set transparency tqmask
- switch(m_tqmaskEffect)
+ switch(m_maskEffect)
{
case Plain:
plainMask();
@@ -218,20 +218,20 @@ void KalziumTip::displayInternal()
void KalziumTip::dissolveMask()
{
- TQPainter tqmaskPainter(&m_tqmask);
+ TQPainter maskPainter(&m_tqmask);
m_tqmask.fill(TQt::black);
- tqmaskPainter.setBrush(TQt::white);
- tqmaskPainter.setPen(TQt::white);
- tqmaskPainter.drawRoundRect(m_tqmask.rect(), 1600 / m_tqmask.rect().width(),
+ maskPainter.setBrush(TQt::white);
+ maskPainter.setPen(TQt::white);
+ maskPainter.drawRoundRect(m_tqmask.rect(), 1600 / m_tqmask.rect().width(),
1600 / m_tqmask.rect().height());
m_dissolveSize += m_dissolveDelta;
if (m_dissolveSize > 0)
{
- tqmaskPainter.setRasterOp(TQt::EraseROP);
+ maskPainter.setRasterOp(TQt::EraseROP);
int x, y, s;
const int size = 16;
@@ -247,7 +247,7 @@ void KalziumTip::dissolveMask()
{
s = 0;
}
- tqmaskPainter.drawEllipse(x - s / 2, y - s / 2, s, s);
+ maskPainter.drawEllipse(x - s / 2, y - s / 2, s, s);
}
}
}
@@ -269,13 +269,13 @@ void KalziumTip::hide()
void KalziumTip::plainMask()
{
- TQPainter tqmaskPainter(&m_tqmask);
+ TQPainter maskPainter(&m_tqmask);
m_tqmask.fill(TQt::black);
- tqmaskPainter.setBrush(TQt::white);
- tqmaskPainter.setPen(TQt::white);
- tqmaskPainter.drawRoundRect(m_tqmask.rect(), 1600 / m_tqmask.rect().width(),
+ maskPainter.setBrush(TQt::white);
+ maskPainter.setPen(TQt::white);
+ maskPainter.drawRoundRect(m_tqmask.rect(), 1600 / m_tqmask.rect().width(),
1600 / m_tqmask.rect().height());
setMask(m_tqmask);
m_frameTimer.stop();