src/plugins/miscellaneous/Core/src/filemanager.cpp
// Check our various files, as well as their locked status, but only if they
// are not being ignored
Check our various files, as well as their locked status, but only if they
are not being ignored
Check our various files as well as their locked status but only if they are not being ignored
foreach (File *file, mFiles) {
        QString fileName = file->fileName();
        switch (file->check()) {
        case File::Changed:
            emit fileChanged(fileName);
            break;
        case File::Deleted:
            emit fileDeleted(fileName);
            break;
        default:
            if (    (mFilesReadable.value(fileName, false) != isReadable(fileName))
                ||  (mFilesWritable.value(fileName, false) != isWritable(fileName))
                || !(   mFilesReadable.contains(fileName)
                     && mFilesWritable.contains(fileName))) {
                emitFilePermissionsChanged(fileName);
            }
        }
    }
foreach ( File * file , mFiles ) { QString fileName = file -> fileName ( ) ; switch ( file -> check ( ) ) { case File :: Changed : emit fileChanged ( fileName ) ; break ; case File :: Deleted : emit fileDeleted ( fileName ) ; break ; default : if ( ( mFilesReadable . value ( fileName , false ) != isReadable ( fileName ) ) || ( mFilesWritable . value ( fileName , false ) != isWritable ( fileName ) ) || ! ( mFilesReadable . contains ( fileName ) && mFilesWritable . contains ( fileName ) ) ) { emitFilePermissionsChanged ( fileName ) ; } } }
Check our various files, as well as their locked status, but only if they
are not being ignored
Check our various files as well as their locked status but only if they are not being ignored
// The file has changed, so let people know about it // The file has been deleted, so let people know about it // The file has neither changed nor been deleted, so check whether // its permissions have changed