127 |
127 |
128 borderLayout->addStretch( 1 ); |
128 borderLayout->addStretch( 1 ); |
129 |
129 |
130 view = new KAsteroidsView( mainWin ); |
130 view = new KAsteroidsView( mainWin ); |
131 view->setFocusPolicy( Qt::StrongFocus ); |
131 view->setFocusPolicy( Qt::StrongFocus ); |
132 connect( view, SIGNAL( shipKilled() ), SLOT( slotShipKilled() ) ); |
132 connect( view, SIGNAL(shipKilled()), SLOT(slotShipKilled()) ); |
133 connect( view, SIGNAL( rockHit(int) ), SLOT( slotRockHit(int) ) ); |
133 connect( view, SIGNAL(rockHit(int)), SLOT(slotRockHit(int)) ); |
134 connect( view, SIGNAL( rocksRemoved() ), SLOT( slotRocksRemoved() ) ); |
134 connect( view, SIGNAL(rocksRemoved()), SLOT(slotRocksRemoved()) ); |
135 connect( view, SIGNAL( updateVitals() ), SLOT( slotUpdateVitals() ) ); |
135 connect( view, SIGNAL(updateVitals()), SLOT(slotUpdateVitals()) ); |
136 |
136 |
137 Q3VBoxLayout *vb = new Q3VBoxLayout( mainWin ); |
137 Q3VBoxLayout *vb = new Q3VBoxLayout( mainWin ); |
138 Q3HBoxLayout *hb = new Q3HBoxLayout; |
138 Q3HBoxLayout *hb = new Q3HBoxLayout; |
139 Q3HBoxLayout *hbd = new Q3HBoxLayout; |
139 Q3HBoxLayout *hbd = new Q3HBoxLayout; |
140 vb->addLayout( hb ); |
140 vb->addLayout( hb ); |