Qt::QueuedConnection
时间: 2023-10-14 21:00:48 浏览: 113
Qt::QueuedConnection是Qt中的一种连接类型。它表示将信号发送给接收线程,并将其放入接收线程的队列中等待处理,类似于Win32中的PostMessage。这种连接类型可用于在不同的线程中处理信号和槽,确保信号的处理是在接收线程的上下文中进行的。当使用Qt::QueuedConnection时,连接将始终成功,无论之前是否已经存在相同的信号连接到同一对象的同一个槽上。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Qt笔记-对connect中第5个进行多组实验(对信号与槽进一步认识)](https://blog.csdn.net/qq78442761/article/details/109755583)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [QT信号槽连接之不同线程之间的信号槽连接方式](https://blog.csdn.net/wb175208/article/details/105422209)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文