From 7b745a9472f418920ad89f0cd28d3e94de40bee2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:34:16 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- client/crystalbutton.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'client/crystalbutton.cpp') 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" -- cgit v1.2.3