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 LAYOUTICONDATA_H
0007 #define LAYOUTICONDATA_H
0008 
0009 //! local
0010 #include "genericdata.h"
0011 
0012 //! Qt
0013 #include <QMetaType>
0014 #include <QString>
0015 
0016 namespace Latte {
0017 namespace Data {
0018 
0019 class LayoutIcon : public Generic
0020 {
0021 public:
0022     LayoutIcon();
0023     LayoutIcon(LayoutIcon &&o);
0024     LayoutIcon(const LayoutIcon &o);
0025 
0026     //! Layout data
0027     bool isBackgroundFile{true};
0028 
0029     bool isEmpty() const;
0030 
0031     //! Operators
0032     LayoutIcon &operator=(const LayoutIcon &rhs);
0033     LayoutIcon &operator=(LayoutIcon &&rhs);
0034     bool operator==(const LayoutIcon &rhs) const;
0035     bool operator!=(const LayoutIcon &rhs) const;
0036 };
0037 
0038 }
0039 }
0040 
0041 Q_DECLARE_METATYPE(Latte::Data::LayoutIcon)
0042 
0043 #endif