6 #ifndef SWIFT_GUI_VIEWS_VIEWCALLSIGNOBJECTS_H
7 #define SWIFT_GUI_VIEWS_VIEWCALLSIGNOBJECTS_H
virtual ContainerType selectedObjects() const
Selected objects.
typename T::ObjectType ObjectType
Model container element type.
const ContainerType & container() const
Access to container.
typename T::ContainerType ContainerType
Model container type.
Base class for views with DB objects.
void selectCallsigns(const swift::misc::aviation::CCallsignSet &callsigns)
Select given callsigns.
int removeCallsign(const swift::misc::aviation::CCallsign &callsign)
Remove callsign.
int replaceOrAddObjectByCallsign(const ObjectType &object)
Update or insert data (based on callsign)
int removeCallsigns(const swift::misc::aviation::CCallsignSet &callsigns)
Remove callsigns.
CViewWithCallsignObjects(QWidget *parent=nullptr)
Constructor.
int replaceOrAddObjectsByCallsign(const ContainerType &container)
Update or insert data (based on callsign)
swift::misc::aviation::CCallsignSet selectedCallsigns() const
Get selected callsigns.
virtual void selectObjects(const ContainerType &selectedObjects)
Reselect by callsigns.
void selectCallsign(const swift::misc::aviation::CCallsign &callsign)
Select callsign.
Value object encapsulating information of a callsign.
Value object for a set of callsigns.