Lines Matching defs:hint
183 QVariant convertValueToQVariant(ExecState* exec, JSValue value, QMetaType::Type hint, int *distance, HashSet<JSObject*>* visitedObjects, int recursionLimit)
202 && hint != QMetaType::QString
203 && hint != (QMetaType::Type) qMetaTypeId<QVariant>())) {
211 if (hint == QMetaType::Void) {
214 hint = QMetaType::Double;
217 hint = QMetaType::Bool;
221 hint = QMetaType::QString;
224 hint = QMetaType::QDateTime;
227 hint = QMetaType::QRegExp;
231 hint = QMetaType::Double;
233 hint = QMetaType::Bool;
235 hint = QMetaType::QVariantMap;
238 hint = QMetaType::QObjectStar;
241 hint = QMetaType::QByteArray;
245 hint = QMetaType::QVariantList;
250 qConvDebug() << "convertValueToQVariant: jstype is " << type << ", hint is" << hint;
253 && hint != QMetaType::QObjectStar
254 && hint != QMetaType::VoidStar
255 && hint != QMetaType::QString
256 && hint != (QMetaType::Type) qMetaTypeId<QVariant>()) {
264 switch (hint) {
287 ret.convert((QVariant::Type)hint);
289 switch (hint) {
500 if (hint == QMetaType::QDateTime) {
503 } else if (hint == QMetaType::QDate) {
514 if (hint == QMetaType::QDateTime) {
517 } else if (hint == QMetaType::QDate) {
529 if (hint == QMetaType::QDateTime) {
541 } else if (hint == QMetaType::QDate) {
660 if (hint == (QMetaType::Type) qMetaTypeId<QObjectList>())
712 } else if (hint == (QMetaType::Type) qMetaTypeId<QList<int> >()) {
763 } else if (QtPixmapInstance::canHandle(static_cast<QMetaType::Type>(hint))) {
764 ret = QtPixmapInstance::variantFromObject(object, static_cast<QMetaType::Type>(hint));
765 } else if (hint == (QMetaType::Type) qMetaTypeId<QWebElement>()) {
772 } else if (hint == (QMetaType::Type) qMetaTypeId<QDRTNode>()) {
775 } else if (hint == (QMetaType::Type) qMetaTypeId<QVariant>()) {
805 QVariant convertValueToQVariant(ExecState* exec, JSValue value, QMetaType::Type hint, int *distance)
809 return convertValueToQVariant(exec, value, hint, distance, &visitedObjects, recursionLimit);