CComponentsItem: move function isAdded() to CComponentsItem class

This commit is contained in:
2013-10-19 01:13:26 +02:00
parent a1e5a60184
commit 3438b23f68
7 changed files with 19 additions and 18 deletions

View File

@@ -133,7 +133,7 @@ void CSignalBar::initSBarScale()
sb_scale->setColorBody(col_body);
//add scale object to container
if(!isAdded(sb_scale))
if(!sb_scale->isAdded())
addCCItem(sb_scale);
}
@@ -158,7 +158,7 @@ void CSignalBar::initSBarValue()
sb_vlbl->setColorBody(col_body);
//add value label object to container
if (!isAdded(sb_vlbl))
if (!sb_vlbl->isAdded())
addCCItem(sb_vlbl);
}
@@ -184,7 +184,7 @@ void CSignalBar::initSBarName()
sb_lbl->setColorBody(col_body);
//add name label object to container
if (!isAdded(sb_lbl))
if (!sb_lbl->isAdded())
addCCItem(sb_lbl);
}