mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
refs #768, allow to access view and filter of components
(required in wizard)
This commit is contained in:
@@ -44,11 +44,21 @@ namespace BlackGui
|
||||
CDbLiveryComponent::~CDbLiveryComponent()
|
||||
{ }
|
||||
|
||||
CLiveryView *CDbLiveryComponent::view()
|
||||
{
|
||||
return ui->tvp_Liveries;
|
||||
}
|
||||
|
||||
void CDbLiveryComponent::filter(const BlackMisc::Aviation::CLivery &livery)
|
||||
{
|
||||
ui->filter_Livery->filter(livery);
|
||||
}
|
||||
|
||||
void CDbLiveryComponent::filterByAirline(const BlackMisc::Aviation::CAirlineIcaoCode &icao)
|
||||
{
|
||||
ui->filter_Livery->filter(icao);
|
||||
}
|
||||
|
||||
void CDbLiveryComponent::ps_liveriesRead(CEntityFlags::Entity entity, CEntityFlags::ReadState readState, int count)
|
||||
{
|
||||
Q_UNUSED(count);
|
||||
@@ -63,7 +73,6 @@ namespace BlackGui
|
||||
if (!sGui) { return; }
|
||||
sGui->getWebDataServices()->triggerReloadFromDb(CEntityFlags::LiveryEntity);
|
||||
}
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user