Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to acess a specific functions of a class in another class
Forum Updated to NodeBB v4.3 + New Features

How to acess a specific functions of a class in another class

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 662 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    herculis
    wrote on last edited by
    #1

    Hello guys
    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.
    thanks.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Marsellus
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • H Offline
        H Offline
        herculis
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved