mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 14:15:35 +08:00
refs #405, removed outdated overridden container functions in lists
From/ToQVariant still needed and not removed
This commit is contained in:
@@ -301,7 +301,7 @@ BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::Aviation::CAircraft, (
|
|||||||
o.m_icao,
|
o.m_icao,
|
||||||
o.m_distanceToOwnAircraft,
|
o.m_distanceToOwnAircraft,
|
||||||
o.m_bearingToOwnAircraft
|
o.m_bearingToOwnAircraft
|
||||||
))
|
))
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(BlackMisc::Aviation::CAircraft)
|
Q_DECLARE_METATYPE(BlackMisc::Aviation::CAircraft)
|
||||||
|
|
||||||
|
|||||||
@@ -56,13 +56,6 @@ namespace BlackMisc
|
|||||||
//! Register metadata
|
//! Register metadata
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
|
||||||
//! Myself
|
|
||||||
virtual const CAircraftList &container() const { return *this; }
|
|
||||||
|
|
||||||
//! Myself
|
|
||||||
virtual CAircraftList &container() { return *this; }
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
@@ -43,13 +43,6 @@ namespace BlackMisc
|
|||||||
//! Register metadata
|
//! Register metadata
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
|
||||||
//! Myself
|
|
||||||
virtual const CAircraftPartsList &container() const { return *this; }
|
|
||||||
|
|
||||||
//! Myself
|
|
||||||
virtual CAircraftPartsList &container() { return *this; }
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
@@ -67,13 +67,6 @@ namespace BlackMisc
|
|||||||
//! Register metadata
|
//! Register metadata
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
|
||||||
//! Myself
|
|
||||||
virtual const CAtcStationList &container() const { return *this; }
|
|
||||||
|
|
||||||
//! Myself
|
|
||||||
virtual CAtcStationList &container() { return *this; }
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
@@ -43,13 +43,6 @@ namespace BlackMisc
|
|||||||
|
|
||||||
//! Register metadata
|
//! Register metadata
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
|
||||||
//! Myself
|
|
||||||
virtual const CClientList &container() const { return *this; }
|
|
||||||
|
|
||||||
//! Myself
|
|
||||||
virtual CClientList &container() { return *this; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
@@ -73,13 +73,6 @@ namespace BlackMisc
|
|||||||
//! Register metadata
|
//! Register metadata
|
||||||
static void registerMetadata();
|
static void registerMetadata();
|
||||||
|
|
||||||
protected:
|
|
||||||
//! Myself
|
|
||||||
virtual const CSimulatedAircraftList &container() const { return *this; }
|
|
||||||
|
|
||||||
//! Myself
|
|
||||||
virtual CSimulatedAircraftList &container() { return *this; }
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} //namespace
|
} //namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user