/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ #ifndef MAPPINGDATA_H #define MAPPINGDATA_H #include #include #include struct MappingData { MappingData(); bool operator==(const MappingData &other) const; bool isValid(); int mappingId; int descId; QString name; QList parents; QStringList path; }; QDataStream &operator<<(QDataStream &out, const MappingData &d); QDataStream &operator>>(QDataStream &in, MappingData &v); Q_DECLARE_METATYPE(MappingData) #endif // MAPPINGDATA_H