summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/kmfapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/core/kmfapp.cpp')
-rw-r--r--kmyfirewall/core/kmfapp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmyfirewall/core/kmfapp.cpp b/kmyfirewall/core/kmfapp.cpp
index f948b77..f94931a 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->repaint( FALSE );
+ splash->tqrepaint( 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" ).arg( KMYFIREWALL_VERSION ) );
+ p.drawText( 280, 93, TQString( "Version %1" ).tqarg( 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->sizeHint() );
+ splash->setFixedSize( splash->tqsizeHint() );
splash->move( screen.center() - TQPoint( splash->width() / 2, splash->height() / 2 ) );
- splash->repaint( FALSE );
+ splash->tqrepaint( FALSE );
splash->show();
set_splash_status( "Initializing..." );
TQApplication::flush();