[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] PyQt - getting unexpected async reply in threaded ap
From: Nicholas John Murison <nick () urgusabic ! net>
Date: 2003-02-23 19:14:17
[Download RAW message or body]
On Sun, 2003-02-23 at 17:26, Jim Bublitz wrote:
> On 23-Feb-03 Nicholas John Murison wrote:
> > As far as I can remember, somewhere in the PyQt it says there
> > should be a global qApp variable. However, my code can't seem
> > to find it, so I've passed on the object through constructor
> > parameters to the threads.
>
> > This seems to be working, and I hope it is the right way to go
> > about these kind of things.
>
> You should be able to access qApp if you just do:
>
> from qt import qApp
>
> or if you do (not the best form):
>
> from qt import *
Ok, I really have been acting thick. I was doing "import qt" and
referencing "qApp", rather than "qt.qApp".
I shall bow my head in shame for a suitable period of time.
Thanks,
--
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
http://www.urgusabic.net
["signature.asc" (application/pgp-signature)]
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic