diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:49:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:49:19 +0200 |
commit | 143d3f1d90b1d8e35f03e03aa7d39c4090fe0296 (patch) | |
tree | 56b438c6ade0dd323e6a882a9071cfe5f069a86a /swat2/style/qooxdoo/widgets/core/QxTimer.js | |
parent | 6ccf2321cef9203bb80cb091700ea798095d094b (diff) | |
download | samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.tar.gz samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.tar.bz2 samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.zip |
Remove unused swat2 code
metze
Diffstat (limited to 'swat2/style/qooxdoo/widgets/core/QxTimer.js')
-rw-r--r-- | swat2/style/qooxdoo/widgets/core/QxTimer.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/swat2/style/qooxdoo/widgets/core/QxTimer.js b/swat2/style/qooxdoo/widgets/core/QxTimer.js deleted file mode 100644 index 6d0794237a..0000000000 --- a/swat2/style/qooxdoo/widgets/core/QxTimer.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ -function QxTimer(vInterval){QxTarget.call(this);this.setEnabled(false);if(isValidNumber(vInterval)){this.setInterval(vInterval);};(new QxTimerManager).add(this);var o=this;this.__i7=function(){o._i7();};};QxTimer.extend(QxTarget,"QxTimer");QxTimer.addProperty({name:"interval",type:Number,defaultValue:1000});proto._i8=null;proto._modifyEnabled=function(_b1,_b2,_b3,_b4){if(_b2){window.clearInterval(this._i8);this._i8=null;}else if(_b1){this._i8=window.setInterval(this.__i7,this.getInterval());};return QxTarget.prototype._modifyEnabled.call(this,_b1,_b2,_b3,_b4);};proto.start=function(){this.setEnabled(true);};proto.startWith=function(vInterval){this.setInterval(vInterval);this.start();};proto.stop=function(){this.setEnabled(false);};proto.restart=function(){this.stop();this.start();};proto.restartWith=function(vInterval){this.stop();this.startWith(vInterval);};proto._i7=function(){if(this.getEnabled()&&this.hasEventListeners("interval")){this.dispatchEvent(new QxEvent("interval"),true);};};proto.dispose=function(){if(this.getDisposed()){return;};this.stop();this.__i7=null;if(this._i8r){window.clearInterval(this._i8);this._i8r=null;};return QxTarget.prototype.dispose.call(this);};
\ No newline at end of file |