diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:23:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:23:24 -0600 |
commit | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch) | |
tree | fb31321c80b12ee8e2237bdcf8c228fe44e67772 /lib/kofficeui/KoTooluButton.cpp | |
parent | fe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff) | |
download | koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r-- | lib/kofficeui/KoTooluButton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp index cc606584..cc04c714 100644 --- a/lib/kofficeui/KoTooluButton.cpp +++ b/lib/kofficeui/KoTooluButton.cpp @@ -727,7 +727,7 @@ void KoToolButton::drawButton(TQPainter *_painter) qDrawShadeLine( _painter, width() - ARROW_WIDTH - 1, 0, width() - ARROW_WIDTH - 1, height() - 1, colorGroup(), true ); int dx, dy; - TQFont tmp_font( KGlobalSettings::toolBarFont() ); + TQFont tmp_font( TDEGlobalSettings::toolBarFont() ); TQFontMetrics fm( tmp_font ); TQRect textRect; int textFlags = 0; @@ -796,11 +796,11 @@ void KoToolButton::drawButton(TQPainter *_painter) // Draw the text at the position given by textRect, and using textFlags if (!textLabel().isNull() && !textRect.isNull()) { - _painter->setFont( KGlobalSettings::toolBarFont() ); + _painter->setFont( TDEGlobalSettings::toolBarFont() ); if ( !isEnabled() ) _painter->setPen( palette().disabled().dark() ); else if( KToolBarButton::isRaised() ) - _painter->setPen( KGlobalSettings::toolBarHighlightColor() ); + _painter->setPen( TDEGlobalSettings::toolBarHighlightColor() ); else _painter->setPen( colorGroup().buttonText() ); _painter->drawText( textRect, textFlags, textLabel() ); |