bool gib::readGame(QString::iterator& first, QString::iterator& last){ QString str; while (first != last){ str = readLine(first, last); if (str == "\\GE") return true; QStringList list = str.split(' '); if (list.size() < 3) continue; else if (list[0].compare("INI", Qt::CaseInsensitive) == 0){ readINI(list[3].toInt()); continue; } if (list.size() < 6) continue; else if (list[0].compare("STO", Qt::CaseInsensitive) == 0) readSTO(list[4].toInt(), list[5].toInt(), list[3].toInt()); } return false; }
int DownloadDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QDialog::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: sendDownload((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< QString(*)>(_a[6])),(*reinterpret_cast< QString(*)>(_a[7])),(*reinterpret_cast< QString(*)>(_a[8])),(*reinterpret_cast< QString(*)>(_a[9]))); break; case 1: browse(); break; case 2: download(); break; case 3: cancle(); break; case 4: showWidgetAdv(); break; case 5: saveConfig(); break; case 6: loadConfig(); break; case 7: cekUrl(); break; case 8: getFileName(); break; case 9: categoryChanged((*reinterpret_cast< int(*)>(_a[1]))); break; case 10: readSTO(); break; default: ; } _id -= 11; } return _id; }