[PyKDE] Slot problems

Richard Jones rjones at ekit-inc.com
Wed Sep 4 00:33:01 BST 2002


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




More information about the PyQt mailing list