Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/events/TypedEvent.d

    r150 r238  
    1212 *******************************************************************************/ 
    1313module dwt.events.TypedEvent; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517 
     
    8890 * @return the name of the event 
    8991 */ 
    90 char[] getName () { 
    91     char[] str = this.classinfo.name; 
     92String getName () { 
     93    String str = this.classinfo.name; 
    9294    return split( str, "." )[$-1]; 
    9395} 
     
    99101 * @return a string representation of the event 
    100102 */ 
    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; 
     103public override String toString() { 
     104    String str_widget = widget is null ? "null" : widget.toString; 
     105    String str_data   = data is null ? "null" : data.toString; 
    104106    return Format( "{}{{time={} data={}}", str_widget, time, str_data ); 
    105107}