diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:16 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:16 -0600 |
| commit | 7b745a9472f418920ad89f0cd28d3e94de40bee2 (patch) | |
| tree | d7d32c2d2bd635d0bff4a586daa44708ae7dbc43 /client/crystalbutton.cpp | |
| parent | db9e36b9865bce73259465e4e71415facc0c2560 (diff) | |
| download | twin-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.cpp | 12 |
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" |
