[PyKDE] PyKDE & khtml DOMString
Ismail Donmez
ismail at pardus.org.tr
Fri Mar 17 18:08:32 GMT 2006
Cuma 17 Mart 2006 19:45 tarihinde, Ismail Donmez şunları yazmıştı:
> Hi all,
>
> I am using khtml in my PyKDE app ( which rocks btw ) , two minor problems
> appear, I have to use stuff like
>
> document = self.htmlPart.document()
> document.getElementsByTagName(DOM.DOMString("input"))
>
> would it be possible to write it like
> document = self.htmlPart.document()
> document.getElementsByTagName("input")
>
> which means a auto-conversion between DOMString & str.
Btw the api has these ctors:
DOMString (const QString &)
DOMString (const char *str)
Regards,
ismail
--
An eye for eye will make the whole world blind -- Gandhi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060317/1a585a43/attachment.bin
More information about the PyQt
mailing list