diff options
Diffstat (limited to 'kjsembed/docs/examples/dcop/signalslot.js')
-rwxr-xr-x | kjsembed/docs/examples/dcop/signalslot.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/docs/examples/dcop/signalslot.js b/kjsembed/docs/examples/dcop/signalslot.js index 884faa29..6774854c 100755 --- a/kjsembed/docs/examples/dcop/signalslot.js +++ b/kjsembed/docs/examples/dcop/signalslot.js @@ -2,9 +2,9 @@ function newWeather( station ) { - var temp = client.call("KWeatherService", "WeatherService", "temperature(QString)", "KMKE"); - var name = client.call("KWeatherService", "WeatherService", "stationName(QString)", "KMKE"); - var label = new QLabel(this); + var temp = client.call("KWeatherService", "WeatherService", "temperature(TQString)", "KMKE"); + var name = client.call("KWeatherService", "WeatherService", "stationName(TQString)", "KMKE"); + var label = new TQLabel(this); label.text = "The temperature at " + name + " is " + temp; label.show(); } @@ -13,13 +13,13 @@ var client = new DCOPClient(this); if ( client.attach() ) { var dcop = new DCOPInterface(this, "weather"); - dcop.publish("void newWeather(QString)"); + dcop.publish("void newWeather(TQString)"); - client.connectDCOPSignal("KWeatherService", "WeatherService", "fileUpdate(QString)", - "weather","newWeather(QString)"); + client.connectDCOPSignal("KWeatherService", "WeatherService", "fileUpdate(TQString)", + "weather","newWeather(TQString)"); - client.send("KWeatherService", "WeatherService", "update(QString)", "KMKE"); + client.send("KWeatherService", "WeatherService", "update(TQString)", "KMKE"); application.exec(); } |