|  | Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions |

# customsqlmodel.h Example File
sql/querymodel/customsqlmodel.h

        #ifndef CUSTOMSQLMODEL_H
        #define CUSTOMSQLMODEL_H

        #include <QSqlQueryModel>

        class CustomSqlModel : public QSqlQueryModel
        {
            Q_OBJECT

        public:
            CustomSqlModel(QObject *parent = 0);

            QVariant data(const QModelIndex &item, int role) const;
        };

        #endif