[Digikam-devel] [Bug 193874] When changing dates, change date-based filename as well.

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Mar 18 20:45:29 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=193874

--- Comment #6 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
You need to start an actual file rename operation on disk, not something which
adjusts parameters on a structure in memory. 
I suggest to use KIO::move().
Regarding your code:
Remove the toAscii(). Dont forget to find out the correct file suffix, see
QFileInfo::suffix or completeSuffix(). Dont forget to handle a possible XMP
sidecar file (current work in progress under bug 220545). For this and the KIO
code, I suggest you have a look at digikam's dio.cpp

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list