Qt “private slots:” what is this?

后端 未结 3 1346
感情败类
感情败类 2020-12-04 20:46

I understand how to use it, but the syntax of it bothers me. What is \"private slots:\" doing?

I have never seen something between the private keyword and the : in a

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 21:18

    The keywords such as public, private are ignored for Qt slots. All slots are actually public and can be connected

提交回复
热议问题