KFontChooser: more refactoring
- API docs formatting
- KFontChooser: deprecate "relative font size" methods
- KFontChooser: add a new shorter constructor, and setter methods
- Deprecate the old constructor, most class users only passed the DisplayFlags and the QWidget* args
- Deprecate the static getFontList() method (which took a QStringList& arg and modified it), and add a new method that returns a QStringList
- Add new setter methods, it's easier to use the font chooser to just go with the defaults (currently the most common use-case in KDE code), and have setter methods for customised behaviour; this also reduces the size of the init() method :)
- Set the minimum width for the font list widget in the relevant setter method
Edited by Ahmad Samir