How to acess a specific functions of a class in another class
I am building a videoplayer in VC++ and i have build one but i have one problem i have the screen of the player in one layout(class) and the control in other layout(class ).So now i have to link this classes so that when i will hit the play button from control the video shuld play in other layout.
Could anyone please help me in this.
You should have a look to the Qt signal-slot mechanism: "http://qt-project.org/doc/qt-4.8/signalsandslots.html":http://qt-project.org/doc/qt-4.8/signalsandslots.html
Ya i knw i have to use signals and slots and i have used it also but as the video screen code is in diffrent class and signal slot is in different class they cant communicate with each other.
How to do that