[Digikam-devel] [Bug 208907] Rename Images - file extension in uppercase

Andi Clemens andi.clemens at gmx.net
Fri Nov 6 16:44:31 GMT 2009


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


Andi Clemens <andi.clemens at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Andi Clemens <andi clemens gmx net>  2009-11-06 17:44:29 ---
SVN commit 1045697 by aclemens:

Allow changing the extension with modifiers, too.
AdvancedRename will now return the full name, so I had to change renaming
methods in AlbumUI, CameraUI and BQM.

You can use the [ext] token for this task. If prepended with a '.' character,
it
will be used as the new file extension.

Examples (filename: "myfile0001.jpg"):

[ext]_aaa          => jpg_aaa.jpg
[ext]_aaa[ext]     => jpg_aaajpg.jpg
[ext]_aaa[ext]&    => jpg_aaaJPG.jpg
[ext]_aaa.[ext]&   => jpg_aaa.JPG
[ext]_aaa.[ext]&xx => jpg_aaa.JPGxx
[file][ext]&      => myfile0001JPG.jpg
[file].[ext]&      => myfile0001.JPG

BUG:208907

 M  +1 -4      digikam/imageviewutilities.cpp  
 M  +72 -65    tests/advancedrenametest.cpp  
 M  +33 -14    utilities/advancedrename/advancedrenamedialog.cpp  
 M  +5 -2      utilities/advancedrename/common/parseinformation.h  
 M  +15 -4     utilities/advancedrename/common/parser.cpp  
 M  +1 -1      utilities/advancedrename/common/subparser.cpp  
 M  +2 -2      utilities/advancedrename/common/subparser.h  
 M  +1 -1      utilities/advancedrename/parsers/subparsers/cameranameparser.cpp 
 M  +1 -1      utilities/advancedrename/parsers/subparsers/cameranameparser.h  
 M  +1 -1      utilities/advancedrename/parsers/subparsers/dateparser.cpp  
 M  +1 -1      utilities/advancedrename/parsers/subparsers/dateparser.h  
 M  +1 -1     
utilities/advancedrename/parsers/subparsers/directorynameparser.cpp  
 M  +1 -1     
utilities/advancedrename/parsers/subparsers/directorynameparser.h  
 M  +10 -5    
utilities/advancedrename/parsers/subparsers/filepropertiesparser.cpp  
 M  +1 -1     
utilities/advancedrename/parsers/subparsers/filepropertiesparser.h  
 M  +2 -2      utilities/advancedrename/parsers/subparsers/metadataparser.cpp  
 M  +2 -2      utilities/advancedrename/parsers/subparsers/metadataparser.h  
 M  +1 -1     
utilities/advancedrename/parsers/subparsers/sequencenumberparser.cpp  
 M  +1 -1     
utilities/advancedrename/parsers/subparsers/sequencenumberparser.h  
 M  +2 -11     utilities/cameragui/cameraiconview.cpp  
 M  +1 -3      utilities/cameragui/renamecustomizer.cpp  
 M  +1 -1      utilities/cameragui/renamecustomizer.h  
 M  +10 -9     utilities/queuemanager/queuelist.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1045697

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list