Kapp and Qt designer issue

Ian Reinhart Geiser ian at geiseri.com
Thu Mar 18 13:56:43 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 18 March 2004 08:52 am, Waldo Bastian wrote:
> On Thu March 18 2004 14:09, Ian Reinhart Geiser wrote:
> > Greetings,
> > 	It seems that the nullchecks while well intentioned seem useless on my
> > system, as the kapp pointer is initialized and there for NOT 0.
>
> You may want to find out why that happens then.
>
This happens because Qt designer dosent use Kapp, it uses QApp and the kapp 
ptr is never initialized.

> > 	Second do we also require that every kapp ptr access be null checked in
> > kdeui?
>
> Either check for null or use qApp where applicable.
We cannot use qApp, since we abuse kapp to get things like globals and dcop 
handles.

The issue is that these kdeui libs are being accessed from a pure Qt app 
(designer) and that lacks a Kapp pointer.

Cheers
	-ian reinhart geiser
- -- 
- --:Ian Reinhart Geiser <geiseri at yahoo.com>
- --:Public Key: http://geiseri.myip.org/~geiseri/publickey.asc
- --:Public Calender: http://geiseri.myip.org/~geiseri/publicevents.ics
- --:Jabber: geiseri at geiseri.myip.org
- --:Be an optimist -- at least until they start moving animals in 
- --:   pairs to Cape Canaveral. ~ Source Unknown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWaqgPy62TRm8dvgRAl6sAKDfxjlGCdPzqpbixsGKgXC+r7sTGwCgtFN8
/6r1N2E9S9eAbjnfYfaEXLg=
=oTha
-----END PGP SIGNATURE-----


!DSPAM:4059ac93182905308729133!






More information about the kde-core-devel mailing list