[Kde-bindings] The code!

Ashley Winters jahqueel at yahoo.com
Thu Mar 6 10:41:22 UTC 2003


Okay, here's my XML generator and various other bits.

I renamed 'protection' to 'access', like the Qt# DTD. Also, I had to
abandon enum 'access', because GCC forgets it.

The code below dumpxml() in genxml.pl is useless, but I leave it in
there to remind myself how to parse the -fdump format. I can never
remember...

Also attached is slotnames.cpp, a 24-line program that will list all
signals/slots in any class specified on the command-like. Expect
genxml.pl to read that stuff in.

Finally, there's qwidget.xml, for those of you who just want to see the
final product. The whole file was generated by the script using the
-fdump-translation-unit for qwidget.h.

No member variables yet... need sleep.

Ashley Winters

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genxml.pl
Type: application/octet-stream
Size: 25981 bytes
Desc: genxml.pl
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20030306/c5872c69/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slotnames.cpp
Type: application/octet-stream
Size: 630 bytes
Desc: slotnames.cpp
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20030306/c5872c69/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qwidget.xml
Type: text/xml
Size: 37454 bytes
Desc: qwidget.xml
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20030306/c5872c69/attachment.xml>


More information about the Kde-bindings mailing list