ruby - webview

Petr Sigut plasma at sigut.net
Sat Oct 3 21:53:15 CEST 2009


Works, great! I will try the kde-bindings mailinglist next time...

Gracias:)

> WebView::setUrl requires a KUrl. So obviously QUrl will not work.
>
> url = KDE::Url.new 'http://kde.org/'
> web = Plasma::WebView.new
> web.url = url
> => #<KDE::Url:0x7f99828f3978 url="http://kde.org/", protocol="http">
>
> qurl = Qt::Url.new 'http://qt.com/'
> web.url = qurl
> NoMethodError: undefined method `url=' for #<Plasma::WebView:0x7f99709ed480
> objectName="">



More information about the Plasma-devel mailing list