11.4. Summary

This chapter presented alternative application styles to complement the document-centric model discussed throughout the previous chapters. Your application might be based in a dialog box if it is a short-lived, single-task application or on the panel as an applet (using KApplet) if it is a long-lived, single-task application. Additionally, you can ensure that only one instance of your application runs by deriving from KUniqueApplication. You should think carefully about which (if any) of these application types are appropriate before coding an application (and consider the possibility of multiple modes, similar to KPPP).