diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:29:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:29:23 -0600 |
commit | 628043be55ddd2f534411d028e4f68c8fe4eaabb (patch) | |
tree | 29459652112ab6d5dfbf27ac0bbf5b86b7c83bca /twin/clients/web | |
parent | 2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (diff) | |
download | tdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.tar.gz tdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'twin/clients/web')
-rw-r--r-- | twin/clients/web/Web.cpp | 2 | ||||
-rw-r--r-- | twin/clients/web/WebButton.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/twin/clients/web/Web.cpp b/twin/clients/web/Web.cpp index 793b406af..0f3b9c70b 100644 --- a/twin/clients/web/Web.cpp +++ b/twin/clients/web/Web.cpp @@ -231,7 +231,7 @@ WebClient::paintEvent(TQPaintEvent * pe) TQPainter p(widget()); p.setPen(Qt::black); - p.setBrush(options()->tqcolorGroup(ColorFrame, isActive()).background()); + p.setBrush(options()->colorGroup(ColorFrame, isActive()).background()); p.setClipRegion(pe->region() - titleRect); diff --git a/twin/clients/web/WebButton.cpp b/twin/clients/web/WebButton.cpp index bf1f54af4..3c96cac2d 100644 --- a/twin/clients/web/WebButton.cpp +++ b/twin/clients/web/WebButton.cpp @@ -145,17 +145,17 @@ WebButton::drawButton(TQPainter *p) TQPen highlightPen; if (isDown() ) - highlightPen = TQPen(tqcolorGroup().light()); + highlightPen = TQPen(colorGroup().light()); else { if (mouseOver_) - highlightPen = TQPen(tqcolorGroup().highlight()); + highlightPen = TQPen(colorGroup().highlight()); else highlightPen = TQPen(NoPen); } - p->fillRect(rect(), tqcolorGroup().background()); + p->fillRect(rect(), colorGroup().background()); Position position_; if (0 == mapToParent(rect().topLeft() ).x() ) |