Refactor KoToolFactory to separate id/name for normal usage.
The toolFactory still returns a KoID on id(), so the impact should be minimal. The advantage is that other classes do not have to provide an 'id/name' combination when in reality they are only capable of providing the 'id' part. Also implement the id->enum for compiler safety. svn path=/trunk/koffice/; revision=550743
Showing with 148 additions and 114 deletions