mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #239, some finetuning for runtime based components
* virtual method to be called for signal slot hook up * comments
This commit is contained in:
@@ -27,6 +27,14 @@ namespace BlackGui
|
||||
return this->m_runtime->getIContextAudio();
|
||||
}
|
||||
|
||||
void CRuntimeBasedComponent::setRuntime(BlackCore::CRuntime *runtime, bool runtimeOwner)
|
||||
{
|
||||
Q_ASSERT(runtime);
|
||||
this->m_runtime = runtime;
|
||||
this->m_runtimeOwner = runtimeOwner;
|
||||
this->runtimeHasBeenSet();
|
||||
}
|
||||
|
||||
void CRuntimeBasedComponent::setRuntimeForComponents(BlackCore::CRuntime *runtime, QWidget *parent)
|
||||
{
|
||||
if (!parent) return;
|
||||
|
||||
Reference in New Issue
Block a user