comparison dwt/custom/CTabFolderEvent.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents a5afe31f5cdd
children fd9c62a2998e
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
16 16
17 import dwt.events.TypedEvent; 17 import dwt.events.TypedEvent;
18 import dwt.widgets.Widget; 18 import dwt.widgets.Widget;
19 19
20 import tango.util.Convert; 20 import tango.util.Convert;
21 import dwt.dwthelper.utils;
21 22
22 /** 23 /**
23 * 24 *
24 */ 25 */
25 public class CTabFolderEvent : TypedEvent { 26 public class CTabFolderEvent : TypedEvent {
79 * Returns a string containing a concise, human-readable 80 * Returns a string containing a concise, human-readable
80 * description of the receiver. 81 * description of the receiver.
81 * 82 *
82 * @return a string representation of the event 83 * @return a string representation of the event
83 */ 84 */
84 public override char[] toString() { 85 public override String toString() {
85 char[] string = super.toString (); 86 String string = super.toString ();
86 return string[0.. $ - 1] // remove trailing '}' 87 return string[0.. $ - 1] // remove trailing '}'
87 ~ " item=" ~ to!(char[])(item) 88 ~ " item=" ~ to!(String)(item)
88 ~ " doit=" ~ to!(char[])(doit) 89 ~ " doit=" ~ to!(String)(doit)
89 ~ " x=" ~ to!(char[])(x) 90 ~ " x=" ~ to!(String)(x)
90 ~ " y=" ~ to!(char[])(y) 91 ~ " y=" ~ to!(String)(y)
91 ~ " width=" ~ to!(char[])(width) 92 ~ " width=" ~ to!(String)(width)
92 ~ " height=" ~ to!(char[])(height) 93 ~ " height=" ~ to!(String)(height)
93 ~ "}"; 94 ~ "}";
94 } 95 }
95 } 96 }