aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/sqlhistorymodel.h
blob: 17e1bc34e6d7a85668bde994f43294562e0fa8bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SQLHISTORYMODEL_H
#define SQLHISTORYMODEL_H

#include "querymodel.h"

class Db;

class SqlHistoryModel : public QueryModel
{
        Q_OBJECT

    public:
        SqlHistoryModel(Db* db, QObject *parent = nullptr);

        QVariant data(const QModelIndex& index, int role) const;
        QVariant headerData(int section, Qt::Orientation orientation, int role) const;
};

#endif // SQLHISTORYMODEL_H