| 63 { |
63 { |
| 64 int segments = 16; |
64 int segments = 16; |
| 65 int divisions = 16; |
65 int divisions = 16; |
| 66 }; |
66 }; |
| 67 |
67 |
| |
68 Q_DECLARE_METATYPE(CircularSection) |
| |
69 bool operator==(const CircularSection& one, const CircularSection& other); |
| |
70 bool operator!=(const CircularSection& one, const CircularSection& other); |
| |
71 |
| 68 /* |
72 /* |
| 69 * Special operator definition that implements the XOR operator for windings. |
73 * Special operator definition that implements the XOR operator for windings. |
| 70 * However, if either winding is NoWinding, then this function returns NoWinding. |
74 * However, if either winding is NoWinding, then this function returns NoWinding. |
| 71 */ |
75 */ |
| 72 inline Winding operator^(Winding one, Winding other) |
76 inline Winding operator^(Winding one, Winding other) |