diff options
Diffstat (limited to 'kasteroids/view.cpp')
-rw-r--r-- | kasteroids/view.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kasteroids/view.cpp b/kasteroids/view.cpp index e203ffb5..0fea036b 100644 --- a/kasteroids/view.cpp +++ b/kasteroids/view.cpp @@ -63,8 +63,8 @@ kas_animations [] = -KAsteroidsView::KAsteroidsView( TQWidget *parent, const char *name ) - : TQWidget( parent, name ), +KAsteroidsView::KAsteroidsView( TQWidget *tqparent, const char *name ) + : TQWidget( tqparent, name ), field(640, 440), view(&field,this) { @@ -78,7 +78,7 @@ KAsteroidsView::KAsteroidsView( TQWidget *parent, const char *name ) field.setBackgroundColor(black); TQPixmap pm( locate("sprite", IMG_BACKGROUND) ); - field.setBackgroundPixmap( pm ); + field.tqsetBackgroundPixmap( pm ); textSprite = new TQCanvasText( &field ); TQFont font( KGlobalSettings::generalFont().family(), 18 ); |