Re: [PyQt] PyKDE: problems sending singals to KPART

2008-06-07 Thread Marcos Dione
On Wed, Jun 04, 2008 at 02:36:37PM +0200, Thomas Winkler wrote: self.part.openURL(KURL('file:///home/tom/test.pdf')) self.connect(self, PYSIGNAL(sigNextSlide), self.part, SLOT(slotNextSlide())) self.emit(PYSIGNAL(sigNextSlide), ()) in the case of

Re: [PyQt] PyKDE: problems sending singals to KPART

2008-06-05 Thread Jim Bublitz
On Wednesday 04 June 2008 23:42, Thomas Winkler wrote: Hello, Yes - short of writing some C++ DCOP would be the solution, if KPDF exposes a sufficient interface via DCOP, which apparently it does. [...] There is an example (example_dcopext.py) in PyKDE/examples. I had a look at the

[PyQt] PyKDE: problems sending singals to KPART

2008-06-04 Thread Thomas Winkler
Dear List, I'm working on integrating hte KPDF KPart int my PyKDE application. What I would like to do is to emit a signal to the slotNextPage() slot of the kpdf part (see: http://websvn.kde.org/branches/KDE/3.5/kdegraphics/kpdf/part.h?view=markup ). A stripped down version of my code loos

Re: [PyQt] PyKDE: problems sending singals to KPART

2008-06-04 Thread Thomas Winkler
Hello, self.connect(self, PYSIGNAL(sigNextSlide), self.part, SLOT(slotNextSlide())) self.emit(PYSIGNAL(sigNextSlide), ()) wild guess here, but did you try: self.connect(self, PYSIGNAL(sigNextSlide), self.part.slotNextSlide) or you could be missing a piece