On Tuesday 18 November 2003 16:41, Armin Steinhoff wrote:
> Hi All,
[snip]
>      self.fileOpen = QToolButton(openIcon,'Open
> File',QString.null,self.load,self.fileTools,'open file')
>    File "/usr/local/lib/python2.2/site-packages/qt.py", line 843, in
> __init__ libqtc.sipCallCtor(20,self,args)
> TypeError: Argument 1 of QToolButton() has an invalid type
>
> Is there a fix available ??

Is openIcon a valid QImage object?  If not, that's most likely the problem.

-- 
Randy Carnahan
Charter Communications
1-888-968-3442
SW::POP Michigan Region
I am Geek. Hear me Code!

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to