Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QUrl QVariant::toUrl (  )  const

Returns the variant as a QUrl if the variant has type() Url; otherwise returns an invalid QUrl.

See also:
canConvert(), convert()

Definition at line 2247 of file qvariant.cpp.

Referenced by BookmarksModel::setData(), and QMimeData::urls().

    return qVariantToHelper<QUrl>(d, Url, handler);

Generated by  Doxygen 1.6.0   Back to index