mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 04:35:41 +08:00
refs #413, #416 Using Mixin::Index in more classes so that index "myself" yields correct derived type.
(cherry picked from commit 2b7f7eb6b692a3464863ece86b30ea0b7efc2a1d)
This commit is contained in:
@@ -25,7 +25,8 @@ namespace BlackMisc
|
||||
public CEarthAngle<CLongitude>,
|
||||
public Mixin::MetaType<CLongitude>,
|
||||
public Mixin::String<CLongitude>,
|
||||
public Mixin::DBusOperators<CLongitude>
|
||||
public Mixin::DBusOperators<CLongitude>,
|
||||
public Mixin::Index<CLongitude>
|
||||
{
|
||||
public:
|
||||
//! Base type
|
||||
@@ -33,6 +34,7 @@ namespace BlackMisc
|
||||
|
||||
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CLongitude)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_STRING(CLongitude)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_INDEX(CLongitude)
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
QString convertToQString(bool i18n = false) const
|
||||
|
||||
Reference in New Issue
Block a user