[PyKDE] Slot problems

Green, Gregory P gregory.p.green at boeing.com
Wed Sep 4 00:40:01 BST 2002


You forgot the asterisk

SIGNAL('expanded(QListViewItem*)')

-----Original Message-----
From: Richard Jones [mailto:rjones at ekit-inc.com]
Sent: Tuesday, September 03, 2002 3:31 PM
To: pykde at mats.gmd.de
Subject: [PyKDE] Slot problems


I'm trying to connect a method to the expanded(QListViewItem *item) signal
of 
my QListView object. I can't seem to get the magic combination of args to 
QObject.connect right though...

  QObject.connect(self.listview, SIGNAL('expanded(QListViewItem)'), self, 
                  SLOT('expand(QListViewItem)')

fails with "No such signal QListView::expanded(QListViewItem)" even though 
that's what I _think_ it should be according to the docs...


    Richard

_______________________________________________
PyKDE mailing list    PyKDE at mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde




More information about the PyQt mailing list