comparison qt/QGlobal.d @ 335:1e9092e20a67

merge signals branch into default
author eldar1@eldar1-laptop
date Sun, 07 Feb 2010 16:04:36 +0000
parents adae77fdc1ea
children
comparison
equal deleted inserted replaced
306:70f64e5b5942 335:1e9092e20a67
223 */ 223 */
224 224
225 //class QString; 225 //class QString;
226 //char[] qPrintable(QString string) { string.toLocal8Bit().constData(); } 226 //char[] qPrintable(QString string) { string.toLocal8Bit().constData(); }
227 //TODO(katrina) These should probably actually call into the c++ functions 227 //TODO(katrina) These should probably actually call into the c++ functions
228 void qFatal(string str)
229 {
230 throw new Exception(str);
231 }
232
228 void qDebug( char[] str ) /* print debug message */ 233 void qDebug( char[] str ) /* print debug message */
229 { writeln(str); } 234 { writeln(str); }
230 235
231 extern (C) void Qt_qWarning( char * ); 236 extern (C) void Qt_qWarning( char * );
232 237
358 */ 363 */
359 364
360 /* 365 /*
361 The catch-all template. 366 The catch-all template.
362 */ 367 */
363 368 /*
364 bool qIsDetached(T)(T) { return true; } 369 bool qIsDetached(T)(T) { return true; }
365 370
366 class QTypeInfossss(T) 371 class QTypeInfossss(T)
367 { 372 {
368 public: 373 public:
384 isStatic = false, 389 isStatic = false,
385 isLarge = false, 390 isLarge = false,
386 isDummy = false 391 isDummy = false
387 }; 392 };
388 }; 393 };
389 394 */
390 395
391 /* 396 /*
392 Specialize a specific type with: 397 Specialize a specific type with:
393 398
394 Q_DECLARE_TYPEINFO(type, flags); 399 Q_DECLARE_TYPEINFO(type, flags);
733 } 738 }
734 } 739 }
735 } 740 }
736 +/ 741 +/
737 742
743 alias void DArray;
744
738 mixin QT_END_HEADER; 745 mixin QT_END_HEADER;
739 746