diff options
Diffstat (limited to 'scheck')
-rw-r--r-- | scheck/scheck.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<StyleGuideViolation>& 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; } |