[PyKDE] for those that are interested, my workaround:

Toby Sargeant t.sargeant at inpharmatica.co.uk
Wed May 30 11:13:15 BST 2001


not for the faint of heart...

      global selftemp
      selftemp=self
      for i in range(len(self.tables)):
         exec("def posChangedProxy_%d(x,y,self=selftemp,t=%d):\n"
              "  self.tablePosChanged(x,y,t)\n"%(i,i),globals())
         self.connect(self.tables[i],
                      qt.SIGNAL('contentsMoving(int,int)'),
                      globals()['posChangedProxy_%d'%(i,)])
      del selftemp

-- 
   :Yu-Shiang Whole Fish: /yoo-shyang hohl fish/ n. obs.  The
character gamma (extended SAIL ASCII 0001001), which with a loop in
its tail looks like a little fish swimming down the page.  The term
is actually the name of a Chinese dish in which a fish is cooked whole
(not {parse}d) and covered with Yu-Shiang (or Yu-Hsiang) sauce.  Usage:
primarily by people on the MIT LISP Machine, which could display this
character on the screen.  Tends to elicit incredulity from people who
hear about it second-hand.

  [ Toby Sargeant : Inpharmatica : Developer : t.sargeant at inpharmatica.co.uk ]
      [ http://www.inpharmatica.co.uk : 020 7631 4644 fax 020 7631 4844 ]




More information about the PyQt mailing list