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

#include "querymodel.h"

class Db;

class SqlHistoryModel : public QueryModel
{
    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