What is meant by emit keyword?

  • 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.

  • 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.

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

  • Lifetime Qt Champion


    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.

  • 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.

  • 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

  • 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?"

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.