int ApplicationUI::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QObject::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { if (_id < 16) qt_static_metacall(this, _c, _id, _a); _id -= 16; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QString*>(_v) = companyname(); break; case 1: *reinterpret_cast< QString*>(_v) = hr(); break; case 2: *reinterpret_cast< QString*>(_v) = emailid(); break; case 3: *reinterpret_cast< QString*>(_v) = address(); break; case 4: *reinterpret_cast< QString*>(_v) = phoneno(); break; case 5: *reinterpret_cast< QString*>(_v) = password(); break; case 6: *reinterpret_cast< QString*>(_v) = vnumber(); break; case 7: *reinterpret_cast< QString*>(_v) = vmodel(); break; case 8: *reinterpret_cast< QString*>(_v) = urllink(); break; case 9: *reinterpret_cast< QString*>(_v) = urlResult(); break; case 10: *reinterpret_cast< bool*>(_v) = succeeded(); break; case 11: *reinterpret_cast< bool*>(_v) = active(); break; } _id -= 12; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setcompanyname(*reinterpret_cast< QString*>(_v)); break; case 1: sethr(*reinterpret_cast< QString*>(_v)); break; case 2: setemailid(*reinterpret_cast< QString*>(_v)); break; case 3: setaddress(*reinterpret_cast< QString*>(_v)); break; case 4: setphoneno(*reinterpret_cast< QString*>(_v)); break; case 5: setpassword(*reinterpret_cast< QString*>(_v)); break; case 6: setvnumber(*reinterpret_cast< QString*>(_v)); break; case 7: setvmodel(*reinterpret_cast< QString*>(_v)); break; case 8: seturllink(*reinterpret_cast< QString*>(_v)); break; case 9: seturlResult(*reinterpret_cast< QString*>(_v)); break; } _id -= 12; } else if (_c == QMetaObject::ResetProperty) { _id -= 12; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 12; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 12; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 12; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 12; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 12; } #endif // QT_NO_PROPERTIES return _id; }
BOOL OpenUrl(stringT const & url) { std::wstring urlResult(TraitsCommand<stringT>::ProcessParam(url)); return OpenUrlImply(urlResult); }