diff options
Diffstat (limited to 'kjsembed/docs/examples/dcop/weather.js')
-rwxr-xr-x | kjsembed/docs/examples/dcop/weather.js | 4 |
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; } |