How to redefinition QT function?
-
Hello,
I know that is strange, but I would like to learn how to redefinition ( or add new ) function of another QT class.
For example class QScreen and function grabWindow(WId window, int x = 0, int y = 0, int width = -1, int height = -1). I would like to write new my grabWindow(WId window, int x = 0, int y = 0, int width = -1, int height = -1) or create grabWindow2(WId window, int x = 0, int y = 0, int width = -1, int height = -1).
How I should that?