Re: ruby - webview

2009-10-03 Thread Petr Sigut
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 > => #http://kde.org/";, protocol="http"> > > qurl = Qt::Url.new '

Re: ruby - webview

2009-10-03 Thread David Palacio
On Sábado 03 Octubre 2009 11:41:24 Petr Sigut escribió: > Hi all! > > I am trying to make simple Plasma Ruby Web Applet, i followed this outdated > tutorial: > > http://techbase.kde.org/Development/Tutorials/Plasma/RubyApplet > > and modified it, but I am unable to use url method, the method is

Re: ruby - webview

2009-10-03 Thread Aaron J. Seigo
On October 3, 2009, Petr Sigut wrote: > web = Plasma::WebView.new() > web.url = Qt::Url.new("http://dot.kde.org/";) can you call web.setUrl(Qt::Url.new("http://dot.kde.org";))? these questions with bindings may be better answered on the bindings list. -- Aaron J. Seigo humru othro a kohnu se GP

ruby - webview

2009-10-03 Thread Petr Sigut
Hi all! I am trying to make simple Plasma Ruby Web Applet, i followed this outdated tutorial: http://techbase.kde.org/Development/Tutorials/Plasma/RubyApplet and modified it, but I am unable to use url method, the method is undefined web = Plasma::WebView.new() web.url = Qt::Url.new("http://do