Re: [PyKDE] PyQt for Python 2.4?

2004-12-14 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Gerard Vermeulen <[EMAIL PROTECTED]> typed: > > c++ -c -pipe -fPIC -O -pipe -mpreferred-stack-boundary=2 -march=athlon > > -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/usr/opt/include > > -I/usr/opt/include/python2.4 -I/usr/X11R6/include -o sipqtQString.o > > sipqtQS

Re: [PyKDE] Using KParts

2004-12-14 Thread Patrick Stinson
> On Thursday 09 December 2004 10:26 pm, Patrick Stinson wrote: > > kparts.createReadWritePart('kwritepart') # can't remember the exact > > syntax > > This has worked for me in the past: > > from kio import KTrader > from kparts import createReadOnlyPart, createReadWritePart > > def buildPart(paren

RE: [PyKDE] Static member functions

2004-12-14 Thread Hihn, Jason
Followup: I seem to have found sender(), but I get the usual 'you can't do this because it was not created in python' error. So I still don't know how to go about it. Here's a sample class that I just typed up: class testDlg: def __init__(self): self.dlg=QWidgetFactory.cr

RE: [PyKDE] Static member functions

2004-12-14 Thread Hihn, Jason
I think this is exactly what I want, but I do not know how to use it. Can I get an example in PyQt? Thanks again! > -Original Message- > From: [EMAIL PROTECTED] [mailto:pykde- > [EMAIL PROTECTED] On Behalf Of Phil Thompson > Sent: Tuesday, December 14, 2004 11:09 AM > To: Diez B. Roggis

Re: [PyKDE] Static member functions

2004-12-14 Thread Sundance
I heard Hihn, Jason said: > Ok, my problem is that I want to provide some function that is called > by the widget that generates the signal. I'm not sure I fully get your problem, I'm afraid (I'm a bit slow like that), but: http://doc.trolltech.com/qq/qq10-signalmapper.html Would this help? -

Re:[PyKDE] pyKDE / KPIM libraries

2004-12-14 Thread Jim Bublitz
On Tuesday 14 December 2004 06:39, Richard Taylor wrote: > Are there any python wrappers for the KPIM libaries? I would like to be > able to access the Address Book and KMail libraries from a pyKDE > application. > My apologies if the answer to this should be staring me in the face. I > have b

Re: [PyKDE] QThread

2004-12-14 Thread Diez B. Roggisch
> right after finishing my work on a make-shift > process-spawning-and-killing-framework to have concurrent threads that can > be terminated to circumvene the lack of such a feature in the python > threading model, I discovered QThread. Now I wonder if my work is totally > obsolete, or if there are

[PyKDE] QThread

2004-12-14 Thread Diez B. Roggisch
Hi, right after finishing my work on a make-shift process-spawning-and-killing-framework to have concurrent threads that can be terminated to circumvene the lack of such a feature in the python threading model, I discovered QThread. Now I wonder if my work is totally obsolete, or if there are

Re: [PyKDE] Static member functions

2004-12-14 Thread Diez B. Roggisch
> If that's the case then just use QObject.sender(). The slot must be a > method of a QObject derived class - but that wouldn't seem to be a problem > in this case. Nice. Didn't know that. Diez ___ PyKDE mailing list[EMAIL PROTECTED] http://mats.i

[PyKDE] PyQt-3.13 for Python-2.4

2004-12-14 Thread katagiri
I'm sorry. I've forgotten Qt-version. I encountered compile error. Linux + Python-2.4 + sip-4.1.1 + PyQt-3.13 with Qt-3.1.2 $ make make[1]: Entering directory `/home/opensrc/PyQt-x11-gpl-3.13/qttable' g++ -c -pipe -fPIC -O2 -Wall -W -DQT_NO_DEBUG -I. -I/opt/python

[PyKDE] PyQt-3.13 for Python-2.4

2004-12-14 Thread katagiri
I encountered compile error. Linux + Python-2.4 + sip-4.1.1 + PyQt-3.13 $ make make[1]: Entering directory `/home/opensrc/PyQt-x11-gpl-3.13/qttable' g++ -c -pipe -fPIC -O2 -Wall -W -DQT_NO_DEBUG -I. -I/opt/python24/include/python2.4 -I/usr/lib/qt/include -I/usr/X11R6/include -o sipqttableQTabl

[PyKDE] pyKDE / KPIM libraries

2004-12-14 Thread Richard Taylor
Hi Are there any python wrappers for the KPIM libaries? I would like to be able to access the Address Book and KMail libraries from a pyKDE application. My apologies if the answer to this should be staring me in the face. I have been looking around but I can't find any reference to using Python