slot for discovery inserts
This commit is contained in:
parent
891a2e9dfa
commit
f6a50926c3
|
@ -213,6 +213,17 @@ void MultiverseModel::insert(const QModelIndex &parent,
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief MultiverseModel::doDiscovered
|
||||
* @param discovery
|
||||
*/
|
||||
void MultiverseModel::doDiscovered(sACN::EXTENDED::DISCOVERY::discoveredUniverse * discovery)
|
||||
{
|
||||
auto parentIndex = categoryIndexes.value(MultiverseModel::Discovery);
|
||||
insert(parentIndex, nullptr, discovery);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief MultiverseModel::doSubscription
|
||||
* @param universe
|
||||
|
|
|
@ -56,6 +56,7 @@ public:
|
|||
QMap<MultiverseModel::Catagory, QModelIndex> categoryIndexes;
|
||||
|
||||
public slots:
|
||||
void doDiscovered(sACN::EXTENDED::DISCOVERY::discoveredUniverse*);
|
||||
void doSubscription(QSacnUniverse*);
|
||||
void doCreation(QSacnUniverse*);
|
||||
|
||||
|
|
Loading…
Reference in New Issue