01-22-2013 12:51 AM
I am newbie in bb10.From the documentation i have found some samples for creating and making a dir.After thta i have implemented onesample app which will make dir,creatre file,rename file ,delete file.Buy now I am unable to move that file from on location to another location.I have seen some method using QFile s object but there is no method for move.Please provide any link or concrete examples if possible.
01-22-2013 02:23 AM
01-22-2013 05:36 AM
Thank you for the answer,
Actually i have created one directory as data/file/text/current.txt and in that directory i have created one file called newfile.txt.Now i want to move that file from its current location to another location.So how would i do it?lets say i have a another directory called data /newdir/ .Now how would I store my current file to this location?
01-22-2013 07:51 AM
Have you tried out QFile::Copy
Although i havnt tried this out,,, i think this should work.