From 36b1e019b76f39cca8fc81f6d4df544f1c94c179 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:31 -0600 Subject: Rename obsolete tq methods to standard names --- scheck/scheck.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scheck/scheck.cpp') diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp index 787c4221..20b1c8b2 100644 --- a/scheck/scheck.cpp +++ b/scheck/scheck.cpp @@ -729,7 +729,7 @@ static void renderViolations(const TQValueVector& violation // str.setLength() always does a deep copy, so the replacement code below is safe. parStr.setLength( len ); // compatible behaviour to the old implementation. Replace tabs by spaces - TQChar *chr = (TQChar*)parStr.tqunicode(); + TQChar *chr = (TQChar*)parStr.unicode(); int l = len; while ( l-- ) { @@ -894,7 +894,7 @@ StyleCheckStyle::~StyleCheckStyle() //We walk down the widget tree until we find something we render, and sic KAccelManager in programmer's mode on those void StyleCheckStyle::accelManageRecursive(TQWidget* widget) { - if (&widget->tqstyle() == this) + if (&widget->style() == this) { KAcceleratorManager::manage(widget, true); return; @@ -1058,7 +1058,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe, if ( sunken ) kDrawBeButton( p, x, y, w, h, cg, true, - &cg.tqbrush(TQColorGroup::Mid) ); + &cg.brush(TQColorGroup::Mid) ); else if ( flags & Style_MouseOver ) { TQBrush brush(cg.button().light(110)); @@ -1071,7 +1071,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe, else kDrawBeButton(p, x, y, w, h, cg, false, - &cg.tqbrush(TQColorGroup::Button)); + &cg.brush(TQColorGroup::Button)); break; } -- cgit v1.2.1