c++ - Is there a windows equivelant of QFileinfo::Owner()? -
i ask above question whenever use determine person last saved file returns blank string. doing wrong or there equivalent library/method me?
forgot add code. it's simply.
qfileinfo filename = it.fileinfo(); qdebug() << filename.owner();
and here's qt says ownerid() :
uint qfileinfo::ownerid() constreturns id of owner of file.
on windows , on systems files not have owners function returns ((uint) -2).
Comments
Post a Comment