summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/dcop/weather.js
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/examples/dcop/weather.js
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/examples/dcop/weather.js')
-rwxr-xr-xkjsembed/docs/examples/dcop/weather.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/kjsembed/docs/examples/dcop/weather.js b/kjsembed/docs/examples/dcop/weather.js
index 8d8a59c3..00c16e0e 100755
--- a/kjsembed/docs/examples/dcop/weather.js
+++ b/kjsembed/docs/examples/dcop/weather.js
@@ -1,7 +1,7 @@
#!/usr/bin/env kjscmd
var dcop = new DCOPClient(this);
-var box = new QHBox(this);
+var box = new TQHBox(this);
var go = new KPushButton(box);
var loc = new KLineEdit(box);
@@ -16,7 +16,7 @@ function getWeather()
if ( dcop.isAttached() )
{
var icn = new Image(this);
- icn.pixmap = dcop.call("KWeatherService","WeatherService","icon(QString)", loc.text);
+ icn.pixmap = dcop.call("KWeatherService","WeatherService","icon(TQString)", loc.text);
icn.smoothScale(32,32);
go.pixmap = icn.pixmap;
}