Does it make any difference using public slot or private slot?
-
In C++, public means those members that are accessible from anywhere where the object is visible, private means that members are accessible only from within other members of the same class or from their friends.
In Qt, what is the difference between them?
-
In C++, public means those members that are accessible from anywhere where the object is visible, private means that members are accessible only from within other members of the same class or from their friends.
In Qt, what is the difference between them?
@suslucoder said in Does it make any difference using public slot or private slot?:
In Qt, what is the difference between them?
There is no difference.
A slot is a C++ method, so the same rules apply... -
@suslucoder said in Does it make any difference using public slot or private slot?:
In Qt, what is the difference between them?
There is no difference.
A slot is a C++ method, so the same rules apply...@jsulm Thank you