Archive for January 2008

Multi-Threaded Programming with QtConcurrent

I’m really looking forward to QtConcurrent which will be in Qt 4.4; so I downloaded a Qt snapshot to try it out.

You can download all of the example code I wrote here, Qt Concurrent Examples
Continue reading ‘Multi-Threaded Programming with QtConcurrent’ »

QMake Major Mode for Emacs (qt-pro.el)

I finally got around to writing a major mode for Qt .pro and .pri files. It doesn’t provide any indenting features; only font locking.

Just load it up and add the following to your .emacs

(requireqt-pro)
(add-to-list ‘auto-mode-alist ‘(“\\.pr[io]$” . qt-pro-mode))

Get it here qt-pro.el

[Digg] [Reddit] [DZone]

Posting to WordPress with Emacs (weblogger.el)

When you spend most of your day in Emacs, it can be annoying to switch to something else for a text oriented task. With weblogger.el you can post to your blog without ever leaving Emacs.

I have WordPress installed, but it should work for any other blogging software with the same XMLRPC interface.

Continue reading ‘Posting to WordPress with Emacs (weblogger.el)’ »

Covariant Return Types

I ran across something weird the other day. I had assumed that the return type of an overriding function must be identical to the function that it is overriding. The C++ Standard allows one specific exception to this rule that could possibly come in handy to save some unnecessary casting.
Continue reading ‘Covariant Return Types’ »