Mercurial > projects > qtd
comparison qt/QGlobal.d @ 291:0d2094800bdb signals
QList native implementation
author | eldar |
---|---|
date | Mon, 09 Nov 2009 20:49:26 +0000 |
parents | 34a37904ff77 |
children | 19498f420252 |
comparison
equal
deleted
inserted
replaced
290:dcc2b22d1f55 | 291:0d2094800bdb |
---|---|
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 |