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

bindingExample.cpp

//! [0]
    QBuffer device;
    device.setData(myQString.toUtf8());
    device.open(QIODevice::ReadOnly));
     
    QXmlQuery query;
    query.setQuery("declare variable $inputDocument external;"
                    "doc($inputDocument)/query[theDocument]");
    query.bindVariable("inputDocument", &device);
//! [0]

Generated by  Doxygen 1.6.0   Back to index