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

src.sql.kernel.qsqlerror.cpp

//! [0]
    QSqlQueryModel model;
    model.setQuery("select * from myTable");
    if (model.lastError().isValid())
        qDebug() << model.lastError();
//! [0]



Generated by  Doxygen 1.6.0   Back to index