[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] KDE app template: Qt signal problem...
From:       Simon Edwards <simon () simonzone ! com>
Date:       2005-04-26 13:00:12
Message-ID: 200504261500.12212.simon () simonzone ! com
[Download RAW message or body]


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?

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic