Many thanks for your time.
It looks that i haven't made my self clear and i am sorry for that. What i am trying to do is not just to define a class.
what i want is to create a formA with two lineEdits. I want to pass the values of these widgets to an object made from a class declared in the formA. I want then to pass the object which cotains the data of the formA to a new form named as formB.
Just wondering if you can demonstrate that with a sort code.
Thanks once again.
(what i don't understand is how the formsB constructor can accept the object)
Bookmarks