~georg-zotti/stellarium/refraction

« back to all changes in this revision

Viewing changes to src/core/StelObjectMgr.hpp

  • Committer: Georg Zotti
  • Date: 2011-02-18 12:37:55 UTC
  • mfrom: (4821.1.54 trunk)
  • Revision ID: georg.zotti@univie.ac.at-20110218123755-9wcuyyah7g0m1qs7
Merge-update from Trunk R4875

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
//! @class StelObjectMgr
33
33
//! Manage the selection and queries on one or more StelObjects.
34
 
//! When the user requests selection of an object, the selectedObjectChangeCallBack method
35
 
//! of all the StelModule which are registered is called.
36
34
//! Each module is then free to manage object selection as it wants.
37
35
class StelObjectMgr : public StelModule
38
36
{
 
37
        Q_OBJECT
39
38
public:
40
39
        StelObjectMgr();
41
40
        virtual ~StelObjectMgr();
127
126
        //! Default to 1.
128
127
        void setDistanceWeight(float newDistanceWeight) {distanceWeight=newDistanceWeight;}
129
128
 
 
129
signals:
 
130
        //! Indicate that the selected StelObjects has changed.
 
131
        //! @param action define if the user requested that the objects are added to the selection or just replace it
 
132
        void selectedObjectChanged(StelModule::StelModuleSelectAction);
 
133
 
130
134
private:
131
135
        // The list of StelObjectModule that are referenced in Stellarium
132
136
        QList<StelObjectModule*> objectsModule;