~ubuntu-branches/debian/sid/stellarium/sid

« back to all changes in this revision

Viewing changes to plugins/Supernovae/src/Supernova.cpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2013-08-04 15:06:55 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130804150655-iji0vb5navh3lk13
Tags: 0.12.2-1
* Imported Upstream version 0.12.2
* Added dependency to phonon (to enable video/sound)
* Fixed VCS links
* Removed unused lintian tag (embedded-library glee)
* Dropped obsolete patch
* Update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
        return getVMagnitude(core, false);
79
79
}
80
80
 
 
81
QString Supernova::getNameI18n(void) const
 
82
{
 
83
        QString name = designation;
 
84
        if (note.size()!=0)
 
85
                name = QString("%1 (%2)").arg(name).arg(q_(note));
 
86
 
 
87
        return name;
 
88
}
 
89
 
 
90
QString Supernova::getEnglishName(void) const
 
91
{
 
92
        QString name = designation;
 
93
        if (note.size()!=0)
 
94
                name = QString("%1 (%2)").arg(name).arg(note);
 
95
 
 
96
        return name;
 
97
}
 
98
 
81
99
QString Supernova::getInfoString(const StelCore* core, const InfoStringGroup& flags) const
82
100
{
83
101
        QString str;