File indexing completed on 2024-04-14 05:24:21

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef LAYOUTSTABLEDATA_H
0007 #define LAYOUTSTABLEDATA_H
0008 
0009 // local
0010 #include "generictable.h"
0011 #include "layoutdata.h"
0012 
0013 // Qt
0014 #include <QList>
0015 
0016 namespace Latte {
0017 namespace Data {
0018 
0019 class LayoutsTable : public GenericTable<Layout>
0020 {
0021 
0022 public:
0023     LayoutsTable();
0024     LayoutsTable(LayoutsTable &&o);
0025     LayoutsTable(const LayoutsTable &o);
0026 
0027     //! Operators
0028     LayoutsTable &operator=(const LayoutsTable &rhs);
0029     LayoutsTable &operator=(LayoutsTable &&rhs);
0030     LayoutsTable subtracted(const LayoutsTable &rhs) const;
0031 
0032     void setLayoutForFreeActivities(const QString &id);
0033 };
0034 
0035 }
0036 }
0037 
0038 Q_DECLARE_METATYPE(Latte::Data::LayoutsTable)
0039 
0040 #endif