1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-10 09:57:35 +03:00
latte-dock/app/data/layoutstable.h

56 lines
1.4 KiB
C
Raw Normal View History

2020-03-10 20:37:01 +02:00
/*
* Copyright 2020 Michail Vourlakos <mvourlakos@gmail.com>
*
* This file is part of Latte-Dock
*
* Latte-Dock is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* Latte-Dock 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
2020-08-09 18:00:01 +03:00
#ifndef LAYOUTSTABLEDATA_H
#define LAYOUTSTABLEDATA_H
2020-03-10 20:37:01 +02:00
// local
#include "generictable.h"
2020-03-12 11:53:37 +02:00
#include "layoutdata.h"
2020-03-10 20:37:01 +02:00
// Qt
#include <QList>
2020-03-10 20:37:01 +02:00
namespace Latte {
namespace Data {
class LayoutsTable : public GenericTable<Layout>
2020-03-10 20:37:01 +02:00
{
public:
LayoutsTable();
2020-03-14 16:14:28 +02:00
LayoutsTable(LayoutsTable &&o);
LayoutsTable(const LayoutsTable &o);
2020-03-10 20:37:01 +02:00
//! Operators
LayoutsTable &operator=(const LayoutsTable &rhs);
2020-03-14 16:14:28 +02:00
LayoutsTable &operator=(LayoutsTable &&rhs);
LayoutsTable subtracted(const LayoutsTable &rhs) const;
2020-03-16 02:03:12 +02:00
void setLayoutForFreeActivities(const QString &id);
2020-03-10 20:37:01 +02:00
};
}
}
2020-08-09 18:00:01 +03:00
Q_DECLARE_METATYPE(Latte::Data::LayoutsTable)
2020-03-10 20:37:01 +02:00
#endif