mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +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_distanceToOwnAircraft,
|
||||
o.m_bearingToOwnAircraft
|
||||
))
|
||||
))
|
||||
|
||||
Q_DECLARE_METATYPE(BlackMisc::Aviation::CAircraft)
|
||||
|
||||
|
||||
@@ -56,13 +56,6 @@ namespace BlackMisc
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
protected:
|
||||
//! Myself
|
||||
virtual const CAircraftList &container() const { return *this; }
|
||||
|
||||
//! Myself
|
||||
virtual CAircraftList &container() { return *this; }
|
||||
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
@@ -43,13 +43,6 @@ namespace BlackMisc
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
protected:
|
||||
//! Myself
|
||||
virtual const CAircraftPartsList &container() const { return *this; }
|
||||
|
||||
//! Myself
|
||||
virtual CAircraftPartsList &container() { return *this; }
|
||||
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
@@ -67,13 +67,6 @@ namespace BlackMisc
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
protected:
|
||||
//! Myself
|
||||
virtual const CAtcStationList &container() const { return *this; }
|
||||
|
||||
//! Myself
|
||||
virtual CAtcStationList &container() { return *this; }
|
||||
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
@@ -43,13 +43,6 @@ namespace BlackMisc
|
||||
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
protected:
|
||||
//! Myself
|
||||
virtual const CClientList &container() const { return *this; }
|
||||
|
||||
//! Myself
|
||||
virtual CClientList &container() { return *this; }
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
@@ -73,13 +73,6 @@ namespace BlackMisc
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
protected:
|
||||
//! Myself
|
||||
virtual const CSimulatedAircraftList &container() const { return *this; }
|
||||
|
||||
//! Myself
|
||||
virtual CSimulatedAircraftList &container() { return *this; }
|
||||
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
Reference in New Issue
Block a user