PDA

View Full Version : Removing locked attribute on Mac locked files?



gfunk
26th October 2007, 22:34
Wondering if there's a way via Qt to remove the "Locked" attribute on files (the Locked checkbox in the "Get Info" screen under "General"), ie, to unlock the file.

marcel
26th October 2007, 23:40
No there isn't, see QFile::Permission (http://doc.trolltech.com/latest/qfile.html#Permissions).