Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    What is meant by emit keyword?

    General and Desktop
    3
    7
    3079
    Loading More Posts
    • 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.
    • S
      Sunmuk last edited by

      Hi All,
      I need the explanation about emit,connect,signal and slot.If you know means,Please help me.And also What are the instead objects used for emit,connect,signal and slot in c#.Please suggest me soon.
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • M
        mcosta last edited by

        Hi and welcome to devnet,

        here you'll find information about emit/signals/slots.

        TIP: The Qt documentation is one of the best I found (for both commercial and free tools); please start reading it.

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply Reply Quote 0
        • S
          Sunmuk last edited by

          What is the instead of emit in c#?Please help me.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            Delegates/Events is the equivalent in C#. I insist: equivalent, you can't just replace one with the other.

            See this KDE article. The first part applies to the old signal and slot syntax.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • M
              mcosta last edited by

              Hi,

              I don't want to be rude but you cannot ask in a Qt forum about C#.
              Simply people here cannot answer you in a proper way because the don't know that language.

              Once your problem is solved don't forget to:

              • Mark the thread as SOLVED using the Topic Tool menu
              • Vote up the answer(s) that helped you to solve the issue

              You can embed images using (http://imgur.com/) or (http://postimage.org/)

              1 Reply Last reply Reply Quote 0
              • S
                Sunmuk last edited by

                Hi,
                Sorry for query about c#.And thanks for answering for this query.Why i was asked means,query is relevent to qt,thats why i asked.Thanks

                1 Reply Last reply Reply Quote 0
                • M
                  mcosta last edited by

                  Hi,

                  no problem to answer you; but sometimes is very hard for us to answer question like

                  "In C#/Java/VB I do this, how to do it in Qt?"

                  Once your problem is solved don't forget to:

                  • Mark the thread as SOLVED using the Topic Tool menu
                  • Vote up the answer(s) that helped you to solve the issue

                  You can embed images using (http://imgur.com/) or (http://postimage.org/)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post