diff options
Diffstat (limited to 'kjsembed/docs/examples/dcop/rss.js')
-rwxr-xr-x | kjsembed/docs/examples/dcop/rss.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/docs/examples/dcop/rss.js b/kjsembed/docs/examples/dcop/rss.js index c1eb3882..7ec9f2eb 100755 --- a/kjsembed/docs/examples/dcop/rss.js +++ b/kjsembed/docs/examples/dcop/rss.js @@ -3,9 +3,9 @@ function newArticles( articles ) { - var box = new QVBox(main); + var box = new TQVBox(main); var count = articles.call("count()"); - var label = new QLabel(box); + var label = new TQLabel(box); var list = new KListBox(box); @@ -19,7 +19,7 @@ function newArticles( articles ) return true; } -var main = new QHBox(this) +var main = new TQHBox(this) var dcop = new DCOPInterface(this, "news"); dcop.publish("void newArticles(DCOPRef)"); @@ -28,7 +28,7 @@ var feeds = client.call( "rssservice", "RSSService", "list()" ); for( var idx = 0; idx < feeds.length; ++idx) { - var doc = client.call( "rssservice", "RSSService", "add(QString)", feeds[idx] ); + var doc = client.call( "rssservice", "RSSService", "add(TQString)", feeds[idx] ); client.connectDCOPSignal("rssservice", doc.obj(), "documentUpdated(DCOPRef)", "news","newArticles(DCOPRef)"); doc.call("refresh()"); |