2023-12-18 05:21:39 +00:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2022-05-13 13:12:05 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2016-01-04 16:13:08 +00:00
|
|
|
|
|
|
|
#ifndef SQLCONTACTMODEL_H
|
|
|
|
#define SQLCONTACTMODEL_H
|
|
|
|
|
2023-12-18 05:21:39 +00:00
|
|
|
#include <QQmlEngine>
|
2016-01-04 16:13:08 +00:00
|
|
|
#include <QSqlQueryModel>
|
|
|
|
|
|
|
|
class SqlContactModel : public QSqlQueryModel
|
|
|
|
{
|
2023-12-18 05:21:39 +00:00
|
|
|
Q_OBJECT
|
|
|
|
QML_ELEMENT
|
|
|
|
|
2016-01-04 16:13:08 +00:00
|
|
|
public:
|
2021-10-15 14:09:09 +00:00
|
|
|
SqlContactModel(QObject *parent = nullptr);
|
2016-01-04 16:13:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SQLCONTACTMODEL_H
|