summaryrefslogtreecommitdiffstats
path: root/client/crystalbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:34:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:34:16 -0600
commit7b745a9472f418920ad89f0cd28d3e94de40bee2 (patch)
treed7d32c2d2bd635d0bff4a586daa44708ae7dbc43 /client/crystalbutton.cpp
parentdb9e36b9865bce73259465e4e71415facc0c2560 (diff)
downloadtwin-style-crystal-7b745a9472f418920ad89f0cd28d3e94de40bee2.tar.gz
twin-style-crystal-7b745a9472f418920ad89f0cd28d3e94de40bee2.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'client/crystalbutton.cpp')
-rw-r--r--client/crystalbutton.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/crystalbutton.cpp b/client/crystalbutton.cpp
index 51d366e..77f6e06 100644
--- a/client/crystalbutton.cpp
+++ b/client/crystalbutton.cpp
@@ -59,10 +59,10 @@ void CrystalButton::resetSize(bool FullSize)
void CrystalButton::setBitmap(ButtonImage *newimage)
{
image=newimage;
- tqrepaint(false);
+ repaint(false);
}
-TQSize CrystalButton::tqsizeHint() const
+TQSize CrystalButton::sizeHint() const
{
return TQSize(buttonSizeH(),buttonSizeV());
}
@@ -88,7 +88,7 @@ int CrystalButton::buttonSizeV() const
void CrystalButton::enterEvent(TQEvent *e)
{
hover=true;
- if (factory->hovereffect)tqrepaint(false);
+ if (factory->hovereffect)repaint(false);
if (factory->animateHover)animation_timer.start(60);
TQButton::enterEvent(e);
}
@@ -96,7 +96,7 @@ void CrystalButton::enterEvent(TQEvent *e)
void CrystalButton::leaveEvent(TQEvent *e)
{
hover=false;
- if (factory->hovereffect)tqrepaint(false);
+ if (factory->hovereffect)repaint(false);
if (factory->animateHover)animation_timer.start(80);
TQButton::leaveEvent(e);
}
@@ -177,7 +177,7 @@ void CrystalButton::drawButton(TQPainter *painter)
pufferPainter.drawPixmap(TQPoint(0,0),*background,r);
}else{
- group = client_->options()->tqcolorGroup(KDecoration::ColorTitleBar, client_->isActive());
+ group = client_->options()->colorGroup(KDecoration::ColorTitleBar, client_->isActive());
pufferPainter.fillRect(rect(), group.background());
}
@@ -331,7 +331,7 @@ void CrystalButton::animate()
animation_timer.stop();
}
}
- tqrepaint(false);
+ repaint(false);
}
#include "crystalbutton.moc"