C++ (Qt)...считаем...while (!reply) { qApp->processEvents(QEventLoop::WaitForMoreEvents);}switch (reply) { case reply_Continue: ... break; case reply_Abort: ...}