Polos Ruetz
unread,Nov 2, 2013, 11:57:32 AM11/2/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eql-user
This new macro is quite obvious, and handles 3 different cases.
Examples:
1) ordinary calls:
(! "show" widget)
(! "currentDateTime" "QDateTime")
2) nested calls (see 'qfuns', where the order is reversed):
(! ("family" "font" "QApplication"))
(! ("toString" "data" ("index" row col) "model" *table-view*))
3) (rare) need of cast:
(! "setPos" ("QGraphicsItem" pixmap-item) pos)
All occurrencies of 'qfun', 'qfuns' in examples/sources are now
replaced with macro '!', which makes them more readable (in my
opinion).
Paul
P.S: This should also help to convert code between CommonQt and EQL.