You are here |
me.micahrl.com | ||
| | | |
www.trickster.dev
|
|
| | | | Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting | |
| | | |
ztkfg.com
|
|
| | | | ||
| | | |
www.andrewmohawk.com
|
|
| | | | ||
| | | |
dvratil.cz
|
|
| | Thank you to everyone who reported issues and contributed to QCoro. Your help is much appreciated! Support for awaiting Qt signals with QPrivateSignal Qt has a feature where signals can be made "private" (in the sense that only class that defines the signal can emit it) by appending QPrivateSignal argument to the signal method: class MyObject : public QObject { Q_OBJECT ... Q_SIGNALS: void error(int code, const QString &message, QPrivateSignal); }; QPrivateSignal is a type that is defined inside the Q_OBJECT macro, so it's private and as such only MyObject class can emit the signal, since only MyObject can instantiate QPrivateSignal: |