This example is taken from the tutorial for the Qt GUI toolkit. The
number of maintained source code lines in the converted files has been
reduced with more than 20%. In a more realistic setting where you
would use namespaces and perhaps hidden implementations for the
reusable widgets, the reduction could be considerably more.