Revision 621094

Go back to digest for 14th January 2007

Other in KDE Base

Thomas Zander committed changes in /branches/work/kaction-cleanup-branch/convert.pl:

This script will convert calls to kaction to the new ones. You can typically run the script ofer a source file as many times as you want.

Call it using;
convert.pl path/to/file.cpp

Known limitations;
* it will ignore constructors that have KShortcut in it; which means you'll loose it.
* it will only act on single line constructors. If the source has it covered over multiple lines; alter the source to join lines (ctrl-j in vi) and run the script again.
* It will alter all KActions to QActions; you may need to change some back. I only had to do this when there as a setShortcut later.

File Changes

Added 1 files
  • /branches/work/kaction-cleanup-branch/convert.pl
1 files changed in total