File indexing completed on 2024-04-21 05:30:46

0001 /*
0002     SPDX-FileCopyrightText: 2020 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef GENERICDATA_H
0007 #define GENERICDATA_H
0008 
0009 // local
0010 #include "generictable.h"
0011 
0012 // Qt
0013 #include <QString>
0014 
0015 namespace Latte {
0016 namespace Data {
0017 
0018 class Generic
0019 {
0020 public:
0021     Generic() = default;
0022     Generic(Generic &&o);
0023     Generic(const Generic &o);
0024     Generic(const QString &newid, const QString &newname);
0025 
0026     //! Layout data
0027     QString id;
0028     QString name;
0029 
0030     //! Operators
0031     Generic &operator=(const Generic &rhs);
0032     Generic &operator=(Generic &&rhs);
0033     bool operator==(const Generic &rhs) const;
0034     bool operator!=(const Generic &rhs) const;
0035 };
0036 
0037 }
0038 }
0039 
0040 
0041 
0042 #endif