javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/swt/widgets/Table.java
changeset 35 85266cc22c7f
parent 21 2a9601315dfc
child 67 63b81d807542
equal deleted inserted replaced
26:dc7c549001d5 35:85266cc22c7f
  1253     
  1253     
  1254     void hookEvents_pp () {
  1254     void hookEvents_pp () {
  1255         super.hookEvents_pp ();
  1255         super.hookEvents_pp ();
  1256         
  1256         
  1257         if(!((style & SWT.SINGLE) != 0 && (style & SWT.RADIO) != 0 )){
  1257         if(!((style & SWT.SINGLE) != 0 && (style & SWT.RADIO) != 0 )){
  1258             int itemSelectionChangedProxy = OS.SignalHandler_new(topHandle, display,
  1258             int itemSelectionChangedProxy = OS.SignalHandler_new(topHandle, 
  1259                 OS.QSIGNAL_TABLE_ITEMSELECTION_CHANGED);
  1259                 OS.QSIGNAL_TABLE_ITEMSELECTION_CHANGED);
  1260             OS.QObject_connectOrThrow(topHandle, "itemSelectionChanged()", itemSelectionChangedProxy,
  1260             OS.QObject_connectOrThrow(topHandle, "itemSelectionChanged()", itemSelectionChangedProxy,
  1261                 "widgetSignal()", OS.QT_AUTOCONNECTION);
  1261                 "widgetSignal()", OS.QT_AUTOCONNECTION);
  1262         }
  1262         }
  1263         
  1263         
  1264         int currentCellChangedProxy = OS.SignalHandler_new(topHandle, display,
  1264         int currentCellChangedProxy = OS.SignalHandler_new(topHandle, 
  1265                 OS.QSIGNAL_TABLE_CURRENTCELL_CHANGED);
  1265                 OS.QSIGNAL_TABLE_CURRENTCELL_CHANGED);
  1266         OS.QObject_connectOrThrow(topHandle, "currentCellChanged(int,int,int,int)", currentCellChangedProxy,
  1266         OS.QObject_connectOrThrow(topHandle, "currentCellChanged(int,int,int,int)", currentCellChangedProxy,
  1267                 "widgetSignal(int,int,int,int)", OS.QT_AUTOCONNECTION);
  1267                 "widgetSignal(int,int,int,int)", OS.QT_AUTOCONNECTION);
  1268         
  1268         
  1269         int cellChangedProxy = OS.SignalHandler_new(topHandle, display,
  1269         int cellChangedProxy = OS.SignalHandler_new(topHandle, 
  1270                 OS.QSIGNAL_TABLE_CELL_CHANGED);
  1270                 OS.QSIGNAL_TABLE_CELL_CHANGED);
  1271         OS.QObject_connectOrThrow(topHandle, "cellChanged(int,int)", cellChangedProxy,
  1271         OS.QObject_connectOrThrow(topHandle, "cellChanged(int,int)", cellChangedProxy,
  1272                 "widgetSignal(int,int)", OS.QT_AUTOCONNECTION);
  1272                 "widgetSignal(int,int)", OS.QT_AUTOCONNECTION);
  1273         
  1273         
  1274         int cellActivatedProxy = OS.SignalHandler_new(topHandle, display,
  1274         int cellActivatedProxy = OS.SignalHandler_new(topHandle, 
  1275                 OS.QSIGNAL_TABLE_CELL_ACTIVATED);
  1275                 OS.QSIGNAL_TABLE_CELL_ACTIVATED);
  1276         OS.QObject_connectOrThrow(topHandle, "cellActivated(int,int)", cellActivatedProxy,
  1276         OS.QObject_connectOrThrow(topHandle, "cellActivated(int,int)", cellActivatedProxy,
  1277                 "widgetSignal(int,int)", OS.QT_AUTOCONNECTION);
  1277                 "widgetSignal(int,int)", OS.QT_AUTOCONNECTION);
  1278     }
  1278     }
  1279     
  1279