9 * A class representing the Finnish KKJ coordinate.
15 * Constructs a new KKJ coordinate with the given values.
16 * @param northing the northing coordinate.
17 * @param easting the easting coordinate.
19 KKJ(unsigned int northing, unsigned int easting);
28 * Tests the equality of this coordinate and another coordinate and returns \c true
29 * if the coordinates represent the same position.
30 * @param rhs the other coordinate to test against.
31 * @return \c true if the coordinates are the same, \c false otherwise.
33 bool operator==(const KKJ &rhs) const;
36 * Assignment operator.
37 * @param rhs the object that is copied.
38 * @return this object.
40 KKJ& operator=(const KKJ &rhs);
43 * Returns the northing of the coordinate.
44 * @return the northing.
46 unsigned int northing() const;
49 * Returns the easting of the coordinate.
50 * @return the easting.
52 unsigned int easting() const;
56 * Constructs a new KKJ coordinate with the given values.
57 * @param dd a private implementation member.
58 * @param northing the northing coordinate.
59 * @param easting the easting coordinate.
61 KKJ(KKJPrivate &dd, unsigned int northing, unsigned int easting);
65 /// Pointer to the private member
66 KKJPrivate *const d_ptr;
68 Q_DECLARE_PRIVATE(KKJ)