diff options
Diffstat (limited to 'client/crystalbutton.cpp')
-rw-r--r-- | client/crystalbutton.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/crystalbutton.cpp b/client/crystalbutton.cpp index 77f6e06..51d366e 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; - repaint(false); + tqrepaint(false); } -TQSize CrystalButton::sizeHint() const +TQSize CrystalButton::tqsizeHint() const { return TQSize(buttonSizeH(),buttonSizeV()); } @@ -88,7 +88,7 @@ int CrystalButton::buttonSizeV() const void CrystalButton::enterEvent(TQEvent *e) { hover=true; - if (factory->hovereffect)repaint(false); + if (factory->hovereffect)tqrepaint(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)repaint(false); + if (factory->hovereffect)tqrepaint(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()->colorGroup(KDecoration::ColorTitleBar, client_->isActive()); + group = client_->options()->tqcolorGroup(KDecoration::ColorTitleBar, client_->isActive()); pufferPainter.fillRect(rect(), group.background()); } @@ -331,7 +331,7 @@ void CrystalButton::animate() animation_timer.stop(); } } - repaint(false); + tqrepaint(false); } #include "crystalbutton.moc" |