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 |
|