Satellites.hpp   Satellites.hpp 
skipping to change at line 148 skipping to change at line 148
//! @class Satellites //! @class Satellites
//! Main class of the %Satellites plugin. //! Main class of the %Satellites plugin.
//! @author Matthew Gates //! @author Matthew Gates
//! @author Bogdan Marinov //! @author Bogdan Marinov
//! @ingroup satellites //! @ingroup satellites
class Satellites : public StelObjectModule class Satellites : public StelObjectModule
{ {
Q_OBJECT Q_OBJECT
Q_PROPERTY(bool hintsVisible Q_PROPERTY(bool hintsVisible
READ getFlagHints READ getFlagHints
WRITE setFlagHints) WRITE setFlagHints
NOTIFY hintsVisibleChanged)
Q_PROPERTY(bool labelsVisible Q_PROPERTY(bool labelsVisible
READ getFlagLabels READ getFlagLabels
WRITE setFlagLabels) WRITE setFlagLabels
NOTIFY labelsVisibleChanged)
Q_PROPERTY(bool autoAddEnabled Q_PROPERTY(bool autoAddEnabled
READ isAutoAddEnabled READ isAutoAddEnabled
WRITE enableAutoAdd WRITE enableAutoAdd
NOTIFY settingsChanged) NOTIFY settingsChanged)
Q_PROPERTY(bool autoRemoveEnabled Q_PROPERTY(bool autoRemoveEnabled
READ isAutoRemoveEnabled READ isAutoRemoveEnabled
WRITE enableAutoRemove WRITE enableAutoRemove
NOTIFY settingsChanged) NOTIFY settingsChanged)
Q_PROPERTY(bool realisticMode Q_PROPERTY(bool realisticMode
READ getFlagRealisticMode READ getFlagRealisticMode
skipping to change at line 222 skipping to change at line 224
//! @param name The case in-sensistive standard program name //! @param name The case in-sensistive standard program name
virtual StelObjectP searchByName(const QString& name) const; virtual StelObjectP searchByName(const QString& name) const;
//! Return the satellite with the given catalog number. //! Return the satellite with the given catalog number.
//! Used as a helper function by searchByName() and //! Used as a helper function by searchByName() and
//! searchByNameI18n(). //! searchByNameI18n().
//! @param noradNumber search string in the format "NORAD XXXX". //! @param noradNumber search string in the format "NORAD XXXX".
//! @returns a null pointer if no such satellite is found. //! @returns a null pointer if no such satellite is found.
StelObjectP searchByNoradNumber(const QString& noradNumber) const; StelObjectP searchByNoradNumber(const QString& noradNumber) const;
//! Find and return the list of at most maxNbItem objects auto-compl eting the passed object I18n name. //! Find and return the list of at most maxNbItem objects auto-compl eting the passed object name.
//! @param objPrefix the case insensitive first letters of the searc hed object //! @param objPrefix the case insensitive first letters of the searc hed object
//! @param maxNbItem the maximum number of returned object names //! @param maxNbItem the maximum number of returned object names
//! @param useStartOfWords the autofill mode for returned objects na mes //! @param useStartOfWords the autofill mode for returned objects na mes
//! @return a list of matching object name by order of relevance, or an empty list if nothing match //! @return a list of matching object name by order of relevance, or an empty list if nothing match
virtual QStringList listMatchingObjectsI18n(const QString& objPrefix virtual QStringList listMatchingObjects(const QString& objPrefix, in
, int maxNbItem=5, bool useStartOfWords=false) const; t maxNbItem=5, bool useStartOfWords=false, bool inEnglish=false) const;
//! Find and return the list of at most maxNbItem objects auto-compl
eting the passed object English name.
//! @param objPrefix the case insensitive first letters of the searc
hed object
//! @param maxNbItem the maximum number of returned object names
//! @param useStartOfWords the autofill mode for returned objects na
mes
//! @return a list of matching object name by order of relevance, or
an empty list if nothing match
virtual QStringList listMatchingObjects(const QString& objPrefix, in
t maxNbItem=5, bool useStartOfWords=false) const;
virtual QStringList listAllObjects(bool inEnglish) const; virtual QStringList listAllObjects(bool inEnglish) const;
virtual QStringList listAllObjectsByType(const QString& objType, boo l inEnglish) const { Q_UNUSED(objType) Q_UNUSED(inEnglish) return QStringLi st(); }
virtual QString getName() const { return "Satellites"; } virtual QString getName() const { return "Satellites"; }
//! Implment this to tell the main Stellarium GUi that there is a GU I element to configure this //! Implment this to tell the main Stellarium GUi that there is a GU I element to configure this
//! plugin. //! plugin.
virtual bool configureGui(bool show=true); virtual bool configureGui(bool show=true);
//! Set up the plugin with default values. This means clearing out the Satellites section in the //! Set up the plugin with default values. This means clearing out the Satellites section in the
//! main config.ini (if one already exists), and populating it with default values. It also //! main config.ini (if one already exists), and populating it with default values. It also
//! creates the default satellites.json file from the resource embed ded in the plugin lib/dll file. //! creates the default satellites.json file from the resource embed ded in the plugin lib/dll file.
skipping to change at line 380 skipping to change at line 374
bool getFlagLabels(); bool getFlagLabels();
bool getFlagRealisticMode(); bool getFlagRealisticMode();
//! Get the current status of the orbit line rendering flag. //! Get the current status of the orbit line rendering flag.
bool getOrbitLinesFlag(); bool getOrbitLinesFlag();
bool isAutoAddEnabled() const { return autoAddEnabled; } bool isAutoAddEnabled() const { return autoAddEnabled; }
bool isAutoRemoveEnabled() const { return autoRemoveEnabled; } bool isAutoRemoveEnabled() const { return autoRemoveEnabled; }
IridiumFlaresPredictionList getIridiumFlaresPrediction(); IridiumFlaresPredictionList getIridiumFlaresPrediction();
signals: signals:
void hintsVisibleChanged(bool b);
void labelsVisibleChanged(bool b);
//! Emitted when some of the plugin settings have been changed. //! Emitted when some of the plugin settings have been changed.
//! Used to communicate with the configuration window. //! Used to communicate with the configuration window.
void settingsChanged(); void settingsChanged();
//! emitted when the update status changes, e.g. when //! emitted when the update status changes, e.g. when
//! an update starts, completes and so on. Note that //! an update starts, completes and so on. Note that
//! on completion of an update, tleUpdateComplete is also //! on completion of an update, tleUpdateComplete is also
//! emitted with the number of updates done. //! emitted with the number of updates done.
//! @param state the new update state. //! @param state the new update state.
void updateStateChanged(Satellites::UpdateState state); void updateStateChanged(Satellites::UpdateState state);
 End of changes. 6 change blocks. 
18 lines changed or deleted 10 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/