From kde-devel Fri Dec 05 18:24:46 2003 From: Henrique Pinto Date: Fri, 05 Dec 2003 18:24:46 +0000 To: kde-devel Subject: Re: How to use KApplication to build a GUI ? X-MARC-Message: https://marc.info/?l=kde-devel&m=107065043509368 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 05 December 2003 07:58, Giuseppe Torelli wrote: > could someone post a link somewhere that shows > an example to build a simple GUI with KApplication ? > KDevelop only builds GUIs with KMainWindow but I need > KApplication because of the lock() and unlock method. If you have a KMainWindow instance, then you have a KApplication object. You can get it with the static method KApplication::kApplication() - -- Henrique Pinto stampede@uai.com.br -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/0M1ux5ej30+ryYARAuVBAKCSS+8PLHwskoymoXa83axaKwm1wACgh70Y dtuX/2KsomYsPmU+crGHyRw= =Uviz -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<