Posted on

First Taste of Code

Contingency Coder

For your first bit of code on this blog, I’d like to simply give a quick tip on working with my favorite C++ library–Qt.

If you are familiar with Qt, you probably have a good understanding of the signals and slots mechanism. They are somewhat similar to C# and Java events, however they work in a different way. A signal is just a way to tell your program that something has happened (event). Then you have a slot that is sort of like a method. Your signal can pass parameters to this method as well.

View original post 248 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s