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
2020-03-14 17:50:28 +02:00
// local
2020-08-17 16:17:11 +03:00
# include "generictable.h"
2020-03-12 11:53:37 +02:00
# include "layoutdata.h"
2020-03-10 20:37:01 +02:00
2020-03-14 17:50:28 +02:00
// Qt
2020-03-11 15:46:25 +02:00
# include <QList>
2020-03-10 20:37:01 +02:00
namespace Latte {
namespace Data {
2020-08-17 16:17:11 +03:00
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-13 16:11:26 +02:00
2020-03-10 20:37:01 +02:00
# endif