How to call KFontChooser

Aaron J. Seigo aseigo at
Sun Sep 12 19:51:59 BST 2010

On Sunday, September 12, 2010, Rolf Eike Beer wrote:
> This question goes especially to Aaron as "svn blame" says it's his code ;)

really? i touched that? hm. ok :)
> QStringList list;
> KFontChooser::getFontList(list, KFontChooser::SmoothScalableFonts);
> KFontChooser *chooseFont = new KFontChooser(0, false, list);
> Which would end up in
> warning: converting ‘false’ to pointer type for argument 1 of
> ‘QFlags<Enum>::QFlags(void**) [with Enum = KFontChooser::DisplayFlag,
> void** = void**]’
> I guess this should be NoDisplayFlag instead?

yes, that looks sane.. 

Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list