void ElmapForwardTarget::getKindFromMcoLimits (CanFrame mcoLimits) { if ( mcoLimits.getDescriptor () == 0x0A48 ) // id: 0x052 MCO_LIMITS { int newKind = mcoLimits[4] >> 4; if ( newKind != kind ) { kind = newKind; emit kindChanged (kind); } }
void FileInfo::readFile() { m_errorMessage = ""; m_fileInfo = QFileInfo(m_file); if (!m_fileInfo.exists()) m_errorMessage = tr("File does not exist"); emit fileChanged(); emit kindChanged(); emit iconChanged(); emit permissionsChanged(); emit sizeChanged(); emit modifiedChanged(); emit createdChanged(); emit absolutePathChanged(); emit nameChanged(); emit suffixChanged(); emit symLinkTargetChanged(); emit errorMessageChanged(); }
void QUmlConnectorObject::setKind(QtUml::ConnectorKind kind) { qmodelingelementproperty_cast<QUmlConnector *>(this)->setKind(kind); emit kindChanged(this->kind()); }