[PyKDE] Sip wishlist item: Parameter typechecking enhancement
    Nigel Stewart 
    ns at fluent.com
       
    Mon Jul 18 20:04:28 BST 2005
    
    
  
Just for the record, here is the solution that
is working for us with sip 4.1.1.  It is far
better than needing to worry in C++ about the
PyObject parameter not being a Foo wrapper...
Nigel
------------
...
     Bar(Foo & /GetWrapper/, const QString &, const QString & = QString::null);
%MethodCode
         sipCpp = new Bar(a0Wrapper,*a1,*a2);
%End
...
    
    
More information about the PyQt
mailing list