[commonqt-devel] Signal arguments of user defined Lisp types

Hello list, Is it possible to define Qt signals that have arguments of user-defined Lisp types e.g. structures? I tried the signature "move(coord,coord)", where "coord" is a Lisp structure representing a pair of board coordinates but SBCL 1.1.14 throws the runtime error: "No smoke type found for dynamic member arg type coord. Giving up." Perhaps this could be done using a Smoke recognised type such as QPoint, but I would like to know the answer to the general question. Thanks, Kai Xiong

Chong Kai Xiong <kaixiong@codeleft.sg> writes:
Hello list,
Is it possible to define Qt signals that have arguments of user-defined Lisp types e.g. structures?
I tried the signature "move(coord,coord)", where "coord" is a Lisp structure representing a pair of board coordinates but SBCL 1.1.14 throws the runtime error:
"No smoke type found for dynamic member arg type coord. Giving up."
Perhaps this could be done using a Smoke recognised type such as QPoint, but I would like to know the answer to the general question. It would be possible to add such functionality, but it won't be efficient.
-- With best regards, Stas.
participants (2)
-
Chong Kai Xiong
-
Stas Boukarev