~ubuntu-branches/debian/wheezy/stellarium/wheezy

« back to all changes in this revision

Viewing changes to src/core/StelObjectMgr.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Cédric Delfosse
  • Date: 2011-08-02 20:55:21 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110802205521-pjeo0d4v3oe96fax
Tags: 0.11.0-1
* New upstream release (Closes: #633517)
* Update description and drop libqt4-sql-sqlite (Closes: #613380)

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;