~treaves/stellarium/SearchGoto

« back to all changes in this revision

Viewing changes to src/core/modules/StarMgr.hpp

  • Committer: Timothy Reaves
  • Date: 2011-02-01 13:17:34 UTC
  • mfrom: (4870.1.4 signalsAndSlots)
  • Revision ID: treaves@silverfieldstech.com-20110201131734-dlixznpj88f2bmyk
Refactoring to use signals/slots for module-related functionality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        //! Includes fading in and out stars and labels when they are turned on and off.
89
89
        virtual void update(double deltaTime) {labelsFader.update((int)(deltaTime*1000)); starsFader.update((int)(deltaTime*1000));}
90
90
 
91
 
        //! Translate text.
92
 
        virtual void updateI18n();
93
 
 
94
 
        //! Called when the sky culture is updated.
95
 
        //! Loads common and scientific names of stars for a given sky culture.
96
 
        //! @param skyCultureDir the name of the directory containing the sky culture to use.
97
 
        virtual void updateSkyCulture(const QString& skyCultureDir);
98
 
 
99
 
        //! Load a color scheme
100
 
        virtual void setStelStyle(const QString& section);
101
 
 
102
91
        //! Used to determine the order in which the various StelModules are drawn.
103
92
        virtual double getCallOrder(StelModuleActionName actionName) const;
104
93
 
182
171
        //! @return false in case of failure.
183
172
        bool checkAndLoadCatalog(QVariantMap m);
184
173
 
 
174
private slots:
 
175
        void setStelStyle(const QString& section);
 
176
        //! Translate text.
 
177
        void updateI18n();
 
178
 
 
179
        //! Called when the sky culture is updated.
 
180
        //! Loads common and scientific names of stars for a given sky culture.
 
181
        //! @param skyCultureDir the name of the directory containing the sky culture to use.
 
182
        void updateSkyCulture(const QString& skyCultureDir);
 
183
 
185
184
private:
186
185
 
187
186
        void setCheckFlag(const QString& catalogId, bool b);