[Qt-interest] emit custom built objects in signal/slot

Deepak Angeshwar angeshwar at gmail.com
Tue Sep 15 14:51:49 CEST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090915/83811cd0/attachment.html 


More information about the Qt-interest-old mailing list