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

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