From pykde Tue Apr 26 18:25:38 2005 From: Simon Edwards Date: Tue, 26 Apr 2005 18:25:38 +0000 To: pykde Subject: Re: [PyKDE] KDE app template: Qt signal problem... Message-Id: <200504262025.38345.simon () simonzone ! com> X-MARC-Message: https://marc.info/?l=pykde&m=111454025715959 On Tuesday 26 April 2005 19:48, Jim Bublitz wrote: > On Tuesday 26 April 2005 06:00, Simon Edwards wrote: > > Hello, > > > > I'm having some trouble translating one of the kdevelop C++ application > > templates to Python. Setting up some signals from the HTML KPart to the > > application isn't working. Qt gives: > > > > QObject::connect: No such signal QWidget::signalChangeStatusbar(const > > QString&) > > QObject::connect: (sender name: 'unnamed') > > QObject::connect: (receiver name: 'unnamed') > > QObject::connect: No such signal QWidget::signalChangeCaption(const > > QString&) QObject::connect: (sender name: 'unnamed') > > QObject::connect: (receiver name: 'unnamed') > > > > The code is: > > > > QObject.connect(self._html, SIGNAL("setWindowCaption(const QString&)"), > > self.slotSetTitle) > > QObject.connect(self._html, SIGNAL("setStatusBarText(const QString&)"), > > self.slotOnURL) > > > > (self._html is a KParts::ReadOnlyPart object) All of the code is here: > > > > http://www.simonzone.com/software/python/kdeapp.tar.bz2 > > > > ideas? > > > I get a 404 error for the url ?? Can you just email the code? my bad, try again, BTW, I'm using: * SIP 4.0.1 * PyQt (PyQt-x11-gpl-3.12) * PyKDE 3.11.1 cheers, -- Simon Edwards             | Guarddog Firewall simon@simonzone.com       | http://www.simonzone.com/software/ Nijmegen, The Netherlands | "ZooTV? You made the right choice." _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde