[Qt-interest] emit custom built objects in signal/slot
Sean Harmer
sean.harmer at maps-technology.com
Tue Sep 15 15:05:08 CEST 2009
Hi,
On Tuesday 15 Sep 2009 13:51:49 Deepak Angeshwar wrote:
> All,
>
> While using QTJambi I was able to pass only primitive-data-types or a
> java.lang.Object
> as the argument while emitting a value via the signal
>
> Now I am evaluating QT 4.5 (using C++), is there a way to emit user defined
> C++ object?
>
> If I try to extend a QObject in my C++ class and emit an object of that
> class, I get the follwoing error.
> error: `QObject::QObject(const QObject&)' is private
Can you post a small example that reproduces this please. This will make it
much easier for us to help you.
Sean
More information about the Qt-interest-old
mailing list