Mercurial > projects > qtd
diff 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 |
line wrap: on
line diff
--- a/qt/QGlobal.d Sat Dec 19 18:43:32 2009 +0300 +++ b/qt/QGlobal.d Sun Feb 07 16:04:36 2010 +0000 @@ -225,6 +225,11 @@ //class QString; //char[] qPrintable(QString string) { string.toLocal8Bit().constData(); } //TODO(katrina) These should probably actually call into the c++ functions +void qFatal(string str) +{ + throw new Exception(str); +} + void qDebug( char[] str ) /* print debug message */ { writeln(str); } @@ -360,7 +365,7 @@ /* The catch-all template. */ - +/* bool qIsDetached(T)(T) { return true; } class QTypeInfossss(T) @@ -386,7 +391,7 @@ isDummy = false }; }; - +*/ /* Specialize a specific type with: @@ -735,5 +740,7 @@ } +/ +alias void DArray; + mixin QT_END_HEADER;