PointerCoordinates.hpp   PointerCoordinates.hpp 
skipping to change at line 57 skipping to change at line 57
//! Main class of the %Pointer Coordinates plugin. //! Main class of the %Pointer Coordinates plugin.
//! @author Alexander Wolf //! @author Alexander Wolf
//! @ingroup pointerCoordinates //! @ingroup pointerCoordinates
class PointerCoordinates : public StelModule class PointerCoordinates : public StelModule
{ {
Q_OBJECT Q_OBJECT
Q_ENUMS(CoordinatesPlace) Q_ENUMS(CoordinatesPlace)
Q_ENUMS(CoordinateSystem) Q_ENUMS(CoordinateSystem)
Q_PROPERTY(bool enabled Q_PROPERTY(bool enabled
READ isEnabled READ isEnabled
WRITE enableCoordinates) WRITE enableCoordinates
NOTIFY flagCoordinatesVisibilityChanged
)
public: public:
//! @enum CoordinatesPlace //! @enum CoordinatesPlace
//! Available places of string with coordinates //! Available places of string with coordinates
enum CoordinatesPlace enum CoordinatesPlace
{ {
TopCenter, //!< The top center of the screen TopCenter, //!< The top center of the screen
TopRight, //!< In center of the top right half of the screen TopRight, //!< In center of the top right half of the screen
RightBottomCorner, //!< The right bottom corner of the screen RightBottomCorner, //!< The right bottom corner of the screen
Custom //!< The custom position on the scre en Custom //!< The custom position on the scre en
skipping to change at line 131 skipping to change at line 133
return flagShowCoordinatesButton; return flagShowCoordinatesButton;
} }
QPair<int, int> getCoordinatesPlace(QString text); QPair<int, int> getCoordinatesPlace(QString text);
QPair<int, int> getCustomCoordinatesPlace() QPair<int, int> getCustomCoordinatesPlace()
{ {
return customPosition; return customPosition;
} }
signals:
void flagCoordinatesVisibilityChanged(bool b);
public slots: public slots:
//! Enable plugin usage //! Enable plugin usage
void enableCoordinates(bool b); void enableCoordinates(bool b);
//! Enable plugin usage at startup //! Enable plugin usage at startup
void setFlagEnableAtStartup(bool b) void setFlagEnableAtStartup(bool b)
{ {
flagEnableAtStartup=b; flagEnableAtStartup=b;
} }
//! Set font size for message //! Set font size for message
void setFontSize(int size) void setFontSize(int size)
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/