src/types.h

changeset 38
db677d321cf4
parent 37
c82a86ea87be
child 39
2c368cf5cc19
equal deleted inserted replaced
37:c82a86ea87be 38:db677d321cf4
52 QString name; 52 QString name;
53 QString binaryPath; 53 QString binaryPath;
54 bool isRelease; 54 bool isRelease;
55 }; 55 };
56 56
57 inline QDataStream& operator<< (QDataStream& out, const ZandronumVersion& version)
58 {
59 return (out << version.name << version.binaryPath << version.isRelease);
60 }
61
62 inline QDataStream& operator>> (QDataStream& in, ZandronumVersion& version)
63 {
64 return (in >> version.name >> version.binaryPath >> version.isRelease);
65 }
66
57 Q_DECLARE_METATYPE (ZandronumVersion) 67 Q_DECLARE_METATYPE (ZandronumVersion)
58 typedef QList<ZandronumVersion> VersionList;
59

mercurial