|
You can connect as many signals as you want to a single slot, and a signal can be connected to as many slots as you need. It is even possible to connect a signal directly to another signal. (This will emit the second signal immediately whenever the first is emitted.) To connect the signal to the slot, we use QObject::connect(). There are several ways to connect signal and slots. The first is to use function pointers: connect(sender, &QObject::destroyed, this, &MyObject::objectDestroyed); |
|||||
Chip Romig, MMR 423 |
||||||
sitemap endereço:Travessa Miralva Sarafim,11- Fazenda Coutos, Salvador BA Brasil Contate-nos:+55 31 932187079Uncle
Dudes Web Shop
|