void ConfiguratorHelper::doConfigurationFileChanged(const QString &rFileName)
{
    if (!mpConfigureFunc)
        return;
    mpConfigureFunc(rFileName);
    emit configurationFileChanged(rFileName, mConfigureError.count() > 0);
}
Beispiel #2
0
void ConfiguratorHelper::doConfigurationFileChanged(const QString &rFileName)
{
    QMutexLocker locker(&mObjectGuard);

    if (!mpConfigureFunc)
        return;
    mpConfigureFunc(rFileName);
    // Shall we hold the lock while emitting the signal?
    emit configurationFileChanged(rFileName, mConfigureError.count() > 0);
}