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

bindingExample.cpp

//! [0]
    QBuffer device;
    device.setData(myQString.toUtf8());
    device.open(QIODevice::ReadOnly);

    QXmlQuery query;
    query.setQuery("doc($inputDocument)/query[theDocument]");
    query.bindVariable("inputDocument", &device);
//! [0]

Generated by  Doxygen 1.6.0   Back to index