How to call KFontChooser
Rolf Eike Beer
kde at opensource.sf-tec.de
Sun Sep 12 17:40:17 BST 2010
This question goes especially to Aaron as "svn blame" says it's his code ;)
Ok, the example code says:
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?
Eike
-------------- 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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100912/248d73d7/attachment.sig>
More information about the kde-core-devel
mailing list