예제 #1
0
int upx::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: addHostGroup(); break;
        case 1: updateHostGroup(); break;
        case 2: delHostGroup(); break;
        case 3: addHost(); break;
        case 4: delHost(); break;
        case 5: groupClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 6: saveSettings(); break;
        case 7: saveLog2File(); break;
        case 8: addGame(); break;
        case 9: updateGame(); break;
        case 10: deleteGame(); break;
        case 11: calcGigest(); break;
        case 12: gameRefresh(); break;
        case 13: addGameHost(); break;
        case 14: deleteGameHost(); break;
        case 15: gameStop(); break;
        case 16: gameStart(); break;
        case 17: diffGameFiles(); break;
        case 18: syncGameFiles(); break;
        case 19: selectGamePath(); break;
        case 20: selectGameItem(); break;
        default: ;
        }
        _id -= 21;
    }
    return _id;
}
예제 #2
0
void threadRefresh()
{
	while (IsRenderThreadStart)
	{
		//к╒пбсно╥
		gameRefresh();

		Sleep(1);
	}
}