|
|
|
@ -268,7 +268,7 @@ KAstTopLevel::KAstTopLevel()
|
|
|
|
|
KAstTopLevel::~KAstTopLevel()
|
|
|
|
|
{
|
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
|
XAutoRepeatOn( qt_xdisplay() );
|
|
|
|
|
XAutoRepeatOn( tqt_xdisplay() );
|
|
|
|
|
#endif
|
|
|
|
|
soundDict.setAutoDelete(true);
|
|
|
|
|
soundDict.clear();
|
|
|
|
@ -458,7 +458,7 @@ void KAstTopLevel::focusInEvent( TQFocusEvent *e )
|
|
|
|
|
{
|
|
|
|
|
view->pause( false );
|
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
|
XAutoRepeatOff( qt_xdisplay() );
|
|
|
|
|
XAutoRepeatOff( tqt_xdisplay() );
|
|
|
|
|
#endif
|
|
|
|
|
KMainWindow::focusInEvent(e);
|
|
|
|
|
}
|
|
|
|
@ -467,7 +467,7 @@ void KAstTopLevel::focusOutEvent( TQFocusEvent *e )
|
|
|
|
|
{
|
|
|
|
|
view->pause( true );
|
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
|
XAutoRepeatOn( qt_xdisplay() );
|
|
|
|
|
XAutoRepeatOn( tqt_xdisplay() );
|
|
|
|
|
#endif
|
|
|
|
|
KMainWindow::focusOutEvent(e);
|
|
|
|
|
}
|
|
|
|
@ -493,7 +493,7 @@ void KAstTopLevel::slotNewGame()
|
|
|
|
|
bool KAstTopLevel::queryExit()
|
|
|
|
|
{
|
|
|
|
|
#if defined TQ_WS_X11 && ! defined K_WS_TQTONLY
|
|
|
|
|
XAutoRepeatOn( qt_xdisplay() );
|
|
|
|
|
XAutoRepeatOn( tqt_xdisplay() );
|
|
|
|
|
#endif
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|