diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/dcop/rss.js | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
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()"); |