diff options
Diffstat (limited to 'kmyfirewall/core/kmfapp.cpp')
-rw-r--r-- | kmyfirewall/core/kmfapp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmyfirewall/core/kmfapp.cpp b/kmyfirewall/core/kmfapp.cpp index f94931a..f948b77 100644 --- a/kmyfirewall/core/kmfapp.cpp +++ b/kmyfirewall/core/kmfapp.cpp @@ -41,7 +41,7 @@ static TQLabel *splash = 0; void set_splash_status( const TQString& msg ) { if ( !splash ) return ; - splash->tqrepaint( FALSE ); + splash->repaint( FALSE ); TQPainter p( splash ); TQFont f( KGlobalSettings::generalFont().family(), 8, TQFont::Bold ); p.setFont( f ); @@ -68,14 +68,14 @@ void showSplash() { TQPainter p( &pic ); p.setFont( f ); p.setPen( TQt::white ); - p.drawText( 280, 93, TQString( "Version %1" ).tqarg( KMYFIREWALL_VERSION ) ); + p.drawText( 280, 93, TQString( "Version %1" ).arg( KMYFIREWALL_VERSION ) ); splash = new TQLabel( 0, "splash", TQWidget::WDestructiveClose | TQWidget::WStyle_Customize | TQWidget::WStyle_NoBorder | TQWidget::WX11BypassWM | TQWidget::WStyle_StaysOnTop ); splash->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised ); splash->setPixmap( pic ); splash->adjustSize(); - splash->setFixedSize( splash->tqsizeHint() ); + splash->setFixedSize( splash->sizeHint() ); splash->move( screen.center() - TQPoint( splash->width() / 2, splash->height() / 2 ) ); - splash->tqrepaint( FALSE ); + splash->repaint( FALSE ); splash->show(); set_splash_status( "Initializing..." ); TQApplication::flush(); |