comparison generator/typesystem_gui.xml @ 323:7a3c43424dca signals

make all examples compile with new signals/slots
author eldar_ins@eldar-laptop
date Mon, 28 Dec 2009 16:28:55 +0500
parents 8a0cf14e3419
children 0cc996b7a601
comparison
equal deleted inserted replaced
322:7c2cf27391c4 323:7a3c43424dca
7584 <template name="gui.application_char_pointer_function"> 7584 <template name="gui.application_char_pointer_function">
7585 public static %RETURN_TYPE %FUNCTION_NAME(%PRE_ARGUMENTS %COMMA QByteArray className) { 7585 public static %RETURN_TYPE %FUNCTION_NAME(%PRE_ARGUMENTS %COMMA QByteArray className) {
7586 return %FUNCTION_NAME(%PRE_CALL_ARGUMENTS %COMMA className == null ? null : className.data()); 7586 return %FUNCTION_NAME(%PRE_CALL_ARGUMENTS %COMMA className == null ? null : className.data());
7587 } 7587 }
7588 </template> 7588 </template>
7589
7590 <inject-code class="java-free">
7591 QApplication qApp()
7592 {
7593 return cast(QApplication) QCoreApplication.instance();
7594 }
7595 </inject-code>
7589 </object-type> 7596 </object-type>
7590 7597
7591 <object-type name="QCommandLinkButton"/> 7598 <object-type name="QCommandLinkButton"/>
7592 <object-type name="QFileSystemModel"> 7599 <object-type name="QFileSystemModel">
7593 <modify-function signature="setIconProvider(QFileIconProvider*)"> 7600 <modify-function signature="setIconProvider(QFileIconProvider*)">