Declare the function parameter as a base class of all Qt window classes. As you're learning C++ right now (:cool: ), I won't tell you which is it and I suggest others do the same. Find what is the base class of all Qt window classes and why does it work when you pass a pointer to the base class and then call the function with a subclass as a parameter.
Declare the function parameter as a base class of all Qt window classes. As you're learning C++ right now (:cool: ), I won't tell you which is it and I suggest others do the same. Find what is the base class of all Qt window classes and why does it work when you pass a pointer to the base class and then call the function with a subclass as a parameter.
To copy to clipboard, switch view to plain text mode
Nice hint that I store carefully in a text file, however given my poor knowledge could you say the same thing in more words, in newbie terms ?
Thanks
Bookmarks