not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / scriptengines / javascript / tests / script-digital-clock / contents / code / main.js
blob1adc29f79f0970491fe4fe670bcf8b5d0b72eaa9
1 plasmoid.dataUpdate = function(a, b)
3     label.text = "It is " + b.Time.toString() + " in " + a;
6 layout = new LinearLayout(plasmoid);
7 label = new Label();
8 layout.addItem(label);
10 print(dataEngine("time").query("UTC").Time.toString());
11 plasmoid.dataEngine("time").connectSource("UTC", plasmoid, 500);