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/genericdata.h

43 lines
704 B
C++

/*
SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef GENERICDATA_H
#define GENERICDATA_H
// local
#include "generictable.h"
// Qt
#include <QString>
namespace Latte {
namespace Data {
class Generic
{
public:
Generic() = default;
Generic(Generic &&o);
Generic(const Generic &o);
Generic(const QString &newid, const QString &newname);
//! Layout data
QString id;
QString name;
//! Operators
Generic &operator=(const Generic &rhs);
Generic &operator=(Generic &&rhs);
bool operator==(const Generic &rhs) const;
bool operator!=(const Generic &rhs) const;
};
}
}
#endif