comparison examples/mainwindows/sdi/mainwindow.d @ 278:5df570e79cfc

new syntax for connecting using static information
author eldar
date Sun, 04 Oct 2009 12:14:03 +0000
parents cc9080066035
children 256ab6cb8e85
comparison
equal deleted inserted replaced
277:750ea0c5fe83 278:5df570e79cfc
247 copyAct.setEnabled(false); 247 copyAct.setEnabled(false);
248 248
249 // QtD bug???? 249 // QtD bug????
250 // only one of the following statements can be included 250 // only one of the following statements can be included
251 // otherwise the app crashes when a MainWindow is closeda 251 // otherwise the app crashes when a MainWindow is closeda
252 // textEdit.copyAvailable.connect(&cutAct.setEnabled); 252 textEdit.copyAvailable.connect(&cutAct.setEnabled);
253 textEdit.copyAvailable.connect(&copyAct.setEnabled); 253 textEdit.copyAvailable.connect(&copyAct.setEnabled);
254 } 254 }
255 255
256 void createMenus() 256 void createMenus()
257 { 257 {