You will be able to communicate with the KWM window manager as well by the according static methods of kwm.h . 3.2 Commandline Argument Processing An application usually wants to be able to process command line options. Those are entered by the user if he started the application from a console or from within a kdelnk file. Command line options are very often used to start an application with a certain file. As the QApplication constructor is executed before the KApplication , it is sufficient to know what is processed by possible options first.
Possible values are motif and windows.
By default, the global KDE style setting is used. TrueColor, forces the application to use a TrueColor visual on an 8-bit display. Then, the KApplication processes commands whose values can be set within a .kdelnk file. Usually, those link files contain internationalized versions for the application description and the application name as well as some other values such as the icon and miniicon name. The class KApplication also provides the according methods who return the values for these commandline arguments.