6 #ifndef SWIFT_MISC_AVIATION_AIRCRAFTENGINES_H
7 #define SWIFT_MISC_AVIATION_AIRCRAFTENGINES_H
18 namespace swift::misc::aviation
37 void setNumber(
int number);
40 bool isOn()
const {
return m_on; }
43 void setOn(
bool on) { m_on = on; }
46 QString convertToQString(
bool i18n =
false)
const;
Mix of the most commonly used mixin classes.
Value object encapsulating information about aircraft's engines.
int getNumber() const
Get engine number.
CAircraftEngine()
Default constructor.
bool isOn() const
Is on/off?
void setOn(bool on)
Set to on/off.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...