You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
latte-dock/app/data/layouticondata.h

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