[PyKDE] Morning pain

Vio vmilitaru at sympatico.ca
Wed Apr 30 16:00:00 BST 2003


Being a newbie can sometimes be quite a pain :(
Would someone be kind enough to tell me why:

self.connect( self.myListView,
SIGNAL("mouseButtonPressed ( int button, QListViewItem * item, const 
QPoint & pos, int c )"),
self.slot_processMouseClick)

and slot:

def slot_processMouseClick(self,button,item,pos,c):
    print button,item,pos,c

throws me:

RuntimeError: Signal has wrong argument types for slot


I've been hitting my head on this all morning, without much progress. 
Any hints beyound "RTFM" would be very much appreciated.
Cheers,
Vio





More information about the PyQt mailing list