[Qt-interest] problem with signal/slot

Anthony Gabrielson agabrielson1 at comcast.net
Wed Dec 8 21:05:50 CET 2010


So a few notes: 
1) Don't the signatures need to be the same? 
2) Connect looks like its an argument short. 

Anthony 

----- Original Message ----- 
From: "Mahendra G.R" <mahendra at mahendragr.com> 
To: qt-interest at trolltech.com 
Sent: Wednesday, December 8, 2010 11:35:03 AM 
Subject: [Qt-interest] problem with signal/slot 

Hi guys, 

i have a small problem with signal/slot, though i have defined my slot method, i get runtime message saying Object::connect: No such slot CustomScene::updateAlphaValue() , i have defined the method updateAlphaValue() in the customScene class 

this is my code : 

connect( alphaSlider, SIGNAL(valueChanged(int)), SLOT(updateAlphaValue()) ); 

-- 
http://www.mahendragr.com 

_______________________________________________ 
Qt-interest mailing list 
Qt-interest at trolltech.com 
http://lists.trolltech.com/mailman/listinfo/qt-interest 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101208/302ec43a/attachment.html 


More information about the Qt-interest-old mailing list