~treaves/stellarium/SearchGoto

« back to all changes in this revision

Viewing changes to src/core/modules/ConstellationMgr.cpp

  • 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:
93
93
        objectManager->registerStelObjectMgr(this);
94
94
        connect(objectManager, SIGNAL(selectedObjectChanged(StelModule::StelModuleSelectAction)), 
95
95
                        this, SLOT(selectedObjectChange(StelModule::StelModuleSelectAction)));
 
96
        StelApp *app = &StelApp::getInstance();
 
97
        connect(app, SIGNAL(languageChanged()), this, SLOT(updateI18n()));
 
98
        connect(app, SIGNAL(skyCultureChanged(const QString&)), this, SLOT(updateSkyCulture(const QString&)));
 
99
        connect(app, SIGNAL(colorSchemeChanged(const QString&)), this, SLOT(setStelStyle(const QString&)));
96
100
}
97
101
 
98
102
/*************************************************************************