diff options
Diffstat (limited to 'kasteroids/toplevel.cpp')
-rw-r--r-- | kasteroids/toplevel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kasteroids/toplevel.cpp b/kasteroids/toplevel.cpp index c9bde61b..cf9c5795 100644 --- a/kasteroids/toplevel.cpp +++ b/kasteroids/toplevel.cpp @@ -89,7 +89,7 @@ KAstTopLevel::KAstTopLevel() TQHBoxLayout *hbd = new TQHBoxLayout; vb->addLayout( hb ); - TQFont labelFont( KGlobalSettings::generalFont().family(), 24 ); + TQFont labelFont( TDEGlobalSettings::generalFont().family(), 24 ); TQColorGroup grp( darkGreen, black, TQColor( 128, 128, 128 ), TQColor( 64, 64, 64 ), black, darkGreen, black ); TQPalette pal( grp, grp, grp ); @@ -160,11 +160,11 @@ KAstTopLevel::KAstTopLevel() vb->addLayout( hbd ); - TQFont smallFont( KGlobalSettings::generalFont().family(), 14 ); + TQFont smallFont( TDEGlobalSettings::generalFont().family(), 14 ); hbd->addSpacing( 10 ); TQString sprites_prefix = - KGlobal::dirs()->findResourceDir("sprite", "rock1/rock10000.png"); + TDEGlobal::dirs()->findResourceDir("sprite", "rock1/rock10000.png"); /* label = new TQLabel( i18n( "T" ), mainWin ); label->setFont( smallFont ); @@ -627,10 +627,10 @@ void KAstTopLevel::doStats() { TQString r; if ( view->shots() ) - r = KGlobal::locale()->formatNumber(( (float)view->hits() / + r = TDEGlobal::locale()->formatNumber(( (float)view->hits() / (float)view->shots() ) * 100, 2 ); else - r = KGlobal::locale()->formatNumber( 0.0, 2 ); + r = TDEGlobal::locale()->formatNumber( 0.0, 2 ); TQString s = i18n( "Game Over\n\n" "Shots fired:\t%1\n" |