Constructor & Destructor Documentation

Set to false to disable all GUI stuff. Note that for a non-GUI daemon, you might want to use QCoreApplication and a KComponentData instance instead. You'll save an unnecessary dependency to kdeui. The main difference is that you will have to do a number of things yourself:

This is similar to the global QApplication pointer qApp. It allows access to the single global KApplication object, since more than one cannot be created in the same application. It saves you the trouble of having to pass the pointer KDELIBS4SUPPORT_DEPRECATED explicitly to every function that may require it.

since 5.0. This was doing two things: 1) setting the window title to include the appname; Qt now takes care of that on platforms where this is wanted. 2) setting the window startup ID, which Qt should take care of in the future. -> simply remove this call.