Signal me and I'll slot you in | Linux Today

Signal me and I’ll slot you in

Written By
Web Webster
Web Webster
Apr 11, 2013

There is a need in many program languages to respond to asyncronous events. In other words things happen out of order, just like in my life where my money is spent before I earn it 🙂

Usually these sort of events are handled by what is called an event handler (duh!) where a message is posted and a function is called to respond to that message. Just not in the way I respond to bill collectors knocking at my door……I hope.

These functions which are called are generally described as, er, callback functions and are identified to the event handler by a pointer, which is simply an address in memory where the function can be found. Not unlike the little kid pointing me out to the policeman while I am hiding in the bushes at the hot neighbours house o_0

By now you are probably thinking I am some sort of escaped convict. I assure you I am not…in the country I am now residing anyway 😀 I have escaped however, from the confusing and error prone land of callback functions with the use of Qt’s signal and slot methods.

Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.