[Digikam-devel] Re: enum as parameter in QSignal not working?

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Oct 20 10:26:57 BST 2010


Hi,

I have had problems when using enums for signals, and I have had problems when 
using namespace-qualified types for signals. 

Have a look at the section "Enums and Typedefs Must Be Fully Qualified for 
Signal and Slot Parameters", http://doc.qt.nokia.com/4.6/moc.html
maybe it needs to have the namespace in the .h file.

You'll see some places where I have used "int" parameters in signals.
It's a bit ugly, but works reliably.

Marcel



More information about the Digikam-devel mailing list