The QSqlQuery class, part of the Qt framework, provides a means of executing and manipulating SQL statements.