diff qt/QGlobal.d @ 291:0d2094800bdb signals

QList native implementation
author eldar
date Mon, 09 Nov 2009 20:49:26 +0000
parents 34a37904ff77
children 19498f420252
line wrap: on
line diff
--- a/qt/QGlobal.d	Mon Nov 09 06:57:48 2009 +0000
+++ b/qt/QGlobal.d	Mon Nov 09 20:49:26 2009 +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); }