[Kde-java] KFontDialog Test
Richard Dale
kde-java@kde.org
Sun, 24 Feb 2002 15:02:53 +0000
On Saturday 23 February 2002 10:45 am, KJ P wrote:
> Here is a KFontDialog test program
OK good.. I've put that one in test/kfontdialog. I fixed
KFontDialog.getFontDiff() and a couple of other KFontDialog methods. The
flags argument to getFontDiff() is now an int[].
int[] flags = { 0 };
nRet = KFontDialog.getFontDiff(font, flags);
if (nRet == 1) {
System.out.println("Ok Button pressed from KFontDialog diff dialog
");
System.out.println(" Font diff flags: " + flags[0]);
...
Also QFont.charSet() is no longer in Qt 3, so I commented out the charset
code.
-- Richard