Samples of useful Qt operations