Changeset 238:380bad9f6852 for dwt/events/TypedEvent.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/events/TypedEvent.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/events/TypedEvent.d
r150 r238 12 12 *******************************************************************************/ 13 13 module dwt.events.TypedEvent; 14 15 import dwt.dwthelper.utils; 14 16 15 17 … … 88 90 * @return the name of the event 89 91 */ 90 char[]getName () {91 char[]str = this.classinfo.name;92 String getName () { 93 String str = this.classinfo.name; 92 94 return split( str, "." )[$-1]; 93 95 } … … 99 101 * @return a string representation of the event 100 102 */ 101 public override char[]toString() {102 char[]str_widget = widget is null ? "null" : widget.toString;103 char[]str_data = data is null ? "null" : data.toString;103 public override String toString() { 104 String str_widget = widget is null ? "null" : widget.toString; 105 String str_data = data is null ? "null" : data.toString; 104 106 return Format( "{}{{time={} data={}}", str_widget, time, str_data ); 105 107 }
