Recent Posts

Writing const and non-const Getters

1 minute read

One use of const_cast is to avoid duplicating code when implementing getters in a class. If you want users of your class to have write-access to a member obj...

Qt Automatic Slot Names

less than 1 minute read

I’ve been using Qt for several years now in a couple different projects. Only today did I learn about QMetaObject::connectSlotsByName.