Nut/src/nut/querybase_p.h

55 lines
1.4 KiB
C
Raw Normal View History

2017-07-25 22:10:43 +08:00
/**************************************************************************
**
** This file is part of Nut project.
** https://github.com/HamedMasafi/Nut
**
** Nut is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Nut is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public License
** along with Nut. If not, see <http://www.gnu.org/licenses/>.
**
**************************************************************************/
2016-05-12 14:08:58 +08:00
#ifndef QUERYBASE_H
#define QUERYBASE_H
#include <QtCore/QObject>
#include <QtCore/qglobal.h>
2019-06-18 21:40:40 +08:00
#include <QtCore/QExplicitlySharedDataPointer>
2017-02-01 18:01:21 +08:00
#include "defines.h"
2019-06-18 21:40:40 +08:00
#include "query_p.h"
2017-02-01 18:01:21 +08:00
NUT_BEGIN_NAMESPACE
2016-05-12 14:08:58 +08:00
2017-09-10 22:18:20 +08:00
//TODO: remove this class
class Table;
class TableSetBase;
2020-07-28 16:25:06 +08:00
class NUT_EXPORT QueryBase : public QObject
2016-05-12 14:08:58 +08:00
{
Q_OBJECT
2019-06-18 21:40:40 +08:00
protected:
QExplicitlySharedDataPointer<QueryPrivate> d;
2016-05-12 14:08:58 +08:00
public:
2019-07-20 14:37:08 +08:00
explicit QueryBase(QObject *parent = nullptr);
2016-05-12 14:08:58 +08:00
protected:
2019-06-18 23:37:03 +08:00
// void addTableToSet(TableSetBase *set, Table *table);
2016-05-12 14:08:58 +08:00
public slots:
};
2017-02-01 18:01:21 +08:00
NUT_END_NAMESPACE
2016-05-21 16:09:03 +08:00
#endif // QUERYBASE_H