9 * A class representing the Finnish KKJ coordinate.
10 * This is the rectangular grid coordinate version.
16 * Constructs a new KKJ coordinate with the given values.
17 * @param northing the northing coordinate.
18 * @param easting the easting coordinate.
20 KKJ(unsigned int northing, unsigned int easting);
29 * Tests the equality of this coordinate and another coordinate and returns \c true
30 * if the coordinates represent the same position.
31 * @param rhs the other coordinate to test against.
32 * @return \c true if the coordinates are the same, \c false otherwise.
34 bool operator==(const KKJ &rhs) const;
37 * Assignment operator.
38 * @param rhs the object that is copied.
39 * @return this object.
41 KKJ& operator=(const KKJ &rhs);
44 * Returns the northing of the coordinate.
45 * @return the northing.
47 unsigned int northing() const;
50 * Returns the easting of the coordinate.
51 * @return the easting.
53 unsigned int easting() const;
57 * Constructs a new KKJ coordinate with the given values.
58 * @param dd a private implementation member.
59 * @param northing the northing coordinate.
60 * @param easting the easting coordinate.
62 KKJ(KKJPrivate &dd, unsigned int northing, unsigned int easting);
66 /// Pointer to the private member
67 KKJPrivate *const d_ptr;
69 Q_DECLARE_PRIVATE(KKJ)