Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

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

    r86 r212  
    2121import tango.text.convert.Format; 
    2222import tango.text.Util : split; 
     23import dwt.dwthelper.utils; 
    2324 
    2425/** 
     
    8889 * @return the name of the event 
    8990 */ 
    90 char[] getName () { 
    91     char[] str = this.classinfo.name; 
     91String getName () { 
     92    String str = this.classinfo.name; 
    9293    return split( str, "." )[$-1]; 
    9394} 
     
    99100 * @return a string representation of the event 
    100101 */ 
    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; 
     102public override String toString() { 
     103    String str_widget = widget is null ? "null" : widget.toString; 
     104    String str_data   = data is null ? "null" : data.toString; 
    104105    return Format( "{}{{time={} data={}}", str_widget, time, str_data ); 
    105106}