[Solved]what is the usage of Q_PRIVATE_SLOT?
Unsolved
General and Desktop
-
I did not know about it, but after some searching and reading up I came across this link: http://kunalmaemo.blogspot.co.za/2010/09/using-signalslot-with-private.html
So in short if you use opaque or d-pointers the Q_PRIVATE_SLOT is used to connect a slot to a method in the private member class.
Edit: Look at the links that @Ratzz gave below rather for better information.
From there you would see that for Qt > 5 with C++11 it is useless