summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoRuler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoRuler.cpp')
-rw-r--r--lib/kofficeui/KoRuler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficeui/KoRuler.cpp b/lib/kofficeui/KoRuler.cpp
index a4cd5709..74c617c5 100644
--- a/lib/kofficeui/KoRuler.cpp
+++ b/lib/kofficeui/KoRuler.cpp
@@ -203,7 +203,7 @@ double KoRuler::lineDistance() const
/*================================================================*/
void KoRuler::drawHorizontal( TQPainter *_painter )
{
- TQFont font = KGlobalSettings::toolBarFont();
+ TQFont font = TDEGlobalSettings::toolBarFont();
TQFontMetrics fm( font );
resize( width(), TQMAX( fm.height() + 4, 20 ) );
@@ -366,7 +366,7 @@ void KoRuler::drawTabs( TQPainter &_painter )
/*================================================================*/
void KoRuler::drawVertical( TQPainter *_painter )
{
- TQFont font = KGlobalSettings::toolBarFont();
+ TQFont font = TDEGlobalSettings::toolBarFont();
TQFontMetrics fm( font );
resize( TQMAX( fm.height() + 4, 20 ), height() );
@@ -550,7 +550,7 @@ void KoRuler::mousePressEvent( TQMouseEvent *e )
break;
case KoTabChooser::TAB_DEC_PNT:
tab.type = T_DEC_PNT;
- tab.alignChar = KGlobal::locale()->decimalSymbol()[0];
+ tab.alignChar = TDEGlobal::locale()->decimalSymbol()[0];
break;
default: break;
}
@@ -1179,7 +1179,7 @@ void KoRuler::slotMenuActivated( int i )
TQSize KoRuler::minimumSizeHint() const
{
TQSize size;
- TQFont font = KGlobalSettings::toolBarFont();
+ TQFont font = TDEGlobalSettings::toolBarFont();
TQFontMetrics fm( font );
size.setWidth( TQMAX( fm.height() + 4, 20 ) );