|
|
|
@ -34,12 +34,12 @@ void MyTopLevelWidget::initGameWidgets( ){
|
|
|
|
|
playfield->setFocusPolicy(TQ_StrongFocus);
|
|
|
|
|
playfield->setFocus();
|
|
|
|
|
|
|
|
|
|
TQT_BASE_OBJECT_NAME::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(energy(int,int)),
|
|
|
|
|
TQObject::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(energy(int,int)),
|
|
|
|
|
TQT_SLOT(energy(int,int)));
|
|
|
|
|
TQT_BASE_OBJECT_NAME::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(hitPoints(int,int)),
|
|
|
|
|
TQObject::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(hitPoints(int,int)),
|
|
|
|
|
TQT_SLOT(hitPoints(int,int)));
|
|
|
|
|
TQT_BASE_OBJECT_NAME::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(wins(int,int)),TQT_SLOT(wins(int,int)));
|
|
|
|
|
TQT_BASE_OBJECT_NAME::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(setStatusText(const TQString &,int)),
|
|
|
|
|
TQObject::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(wins(int,int)),TQT_SLOT(wins(int,int)));
|
|
|
|
|
TQObject::connect(TQT_TQOBJECT(playfield),TQT_SIGNAL(setStatusText(const TQString &,int)),
|
|
|
|
|
TQT_SLOT(setStatusText(const TQString &,int)));
|
|
|
|
|
|
|
|
|
|
setCentralWidget(w);
|
|
|
|
|