~/talk

Inside the Qt Object Model

Talkat CppCon 2017 · 2017-09-24..09-29· [component-design, frontend-architecture]
links:none on file
slides:none on file

A small calculator app demonstrates that Qt implements signals as generated functions so emit is a normal function call which packs parameter addresses into a void array and consults a generated static meta object to find the slot ID and dispatch it. Within one thread no copies occur and execution stays synchronous. When receiver lives on another thread Qt creates a QMetaCallEvent*, copies parameters appropriately, posts the event and the slot runs on the target thread.

AI-written summary · about

  1. 0:00Introduction to Qt Object Model
  2. 1:04Signals and slots basics
  3. 6:08Signal emission call stack
  4. 17:04Signals slots across threads
  5. 26:19Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.