diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:07:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:07:05 -0600 |
commit | c18386d69b76ef0218b5f0a08ca773fa824322b6 (patch) | |
tree | 0bea571897791e4a9ae01e42d0923c3c7baf0bda /src/gui/kdeext | |
parent | 97f1c43c867725d49f3943a68ef08d7e71767e99 (diff) | |
download | rosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.tar.gz rosegarden-c18386d69b76ef0218b5f0a08ca773fa824322b6.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/gui/kdeext')
-rw-r--r-- | src/gui/kdeext/klearlook.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp index ca595e1..c3ac845 100644 --- a/src/gui/kdeext/klearlook.cpp +++ b/src/gui/kdeext/klearlook.cpp @@ -514,8 +514,8 @@ hoverSect( TQTC_NO_SECT ) { shadeColors( tqApp->tqpalette().active().highlight(), menuPbar ); else shadeGradient( tqApp->tqpalette().active().highlight(), menuPbar ); - shadeColors( tqApp->tqpalette().active().background(), gray ); - shadeColors( tqApp->tqpalette().active().button(), button ); + shadeColors( tqApp->palette().active().background(), gray ); + shadeColors( tqApp->palette().active().button(), button ); } void KlearlookStyle::polish( TQApplication *app ) { @@ -549,11 +549,11 @@ void KlearlookStyle::polish( TQPalette &pal ) { newContrast = true; } - if ( newContrast || gray[ NUM_SHADES ] != tqApp->tqpalette().active().background() ) - shadeColors( tqApp->tqpalette().active().background(), gray ); + if ( newContrast || gray[ NUM_SHADES ] != tqApp->palette().active().background() ) + shadeColors( tqApp->palette().active().background(), gray ); - if ( newContrast || button[ NUM_SHADES ] != tqApp->tqpalette().active().button() ) - shadeColors( tqApp->tqpalette().active().button(), button ); + if ( newContrast || button[ NUM_SHADES ] != tqApp->palette().active().button() ) + shadeColors( tqApp->palette().active().button(), button ); if ( PROFILE_RAISED == pmProfile ) { if ( newContrast || menuPbar[ NUM_SHADES ] != tqApp->tqpalette().active().highlight() ) @@ -1475,7 +1475,7 @@ void KlearlookStyle::tqdrawPrimitive( TQ_PrimitiveElement pe, TQPainter *p, cons int x = r.x(), y = r.y(), w = r.width(), h = r.height(), marg = lv->itemMargin(); p->setPen( TQPen( flags & Style_Enabled ? cg.text() - : lv->tqpalette().color( TQPalette::Disabled, TQColorGroup::Text ) ) ); + : lv->palette().color( TQPalette::Disabled, TQColorGroup::Text ) ) ); if ( flags & Style_Selected && !lv->rootIsDecorated() && !( ( item->parent() && 1 == item->parent() ->rtti() && @@ -1500,7 +1500,7 @@ void KlearlookStyle::tqdrawPrimitive( TQ_PrimitiveElement pe, TQPainter *p, cons TQListView * lv = item->listView(); p->setPen( TQPen( flags & Style_Enabled ? cg.text() - : lv->tqpalette().color( TQPalette::Disabled, TQColorGroup::Text ), 2 ) ); + : lv->palette().color( TQPalette::Disabled, TQColorGroup::Text ), 2 ) ); if ( flags & Style_Selected ) { flags -= Style_Selected; if ( !lv->rootIsDecorated() && |