1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-27 17:57:33 +03:00
latte-dock/app/data/layouticondata.h
2021-05-27 15:01:00 +00:00

44 lines
785 B
C++

/*
SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef LAYOUTICONDATA_H
#define LAYOUTICONDATA_H
//! local
#include "genericdata.h"
//! Qt
#include <QMetaType>
#include <QString>
namespace Latte {
namespace Data {
class LayoutIcon : public Generic
{
public:
LayoutIcon();
LayoutIcon(LayoutIcon &&o);
LayoutIcon(const LayoutIcon &o);
//! Layout data
bool isBackgroundFile{true};
bool isEmpty() const;
//! Operators
LayoutIcon &operator=(const LayoutIcon &rhs);
LayoutIcon &operator=(LayoutIcon &&rhs);
bool operator==(const LayoutIcon &rhs) const;
bool operator!=(const LayoutIcon &rhs) const;
};
}
}
Q_DECLARE_METATYPE(Latte::Data::LayoutIcon)
#endif