PDA

View Full Version : Slot



mickey
22nd July 2006, 18:43
hi, is there any problems if I call a SLOT that is connected to a signal?? thanks


conenct (this, SIGNAL(sig()), this, SLOT(myslot()));
//in another part of program:
void objec::function {
myslot();
}

jacek
22nd July 2006, 18:51
No, unless that slots depends on a value returned by QObject::sender().