javauis/eswt_qt/org.eclipse.swt/Eclipse SWT/qt/org/eclipse/swt/widgets/MenuItem.java
equal
deleted
inserted
replaced
322 } |
322 } |
323 |
323 |
324 void hookEvents_pp () { |
324 void hookEvents_pp () { |
325 super.hookEvents_pp (); |
325 super.hookEvents_pp (); |
326 if ((style & SWT.CASCADE) == 0 ){ |
326 if ((style & SWT.CASCADE) == 0 ){ |
327 int triggeredProxy = OS.SignalHandler_new(handle, display, OS.QSIGNAL_TRIGGERED); |
327 int triggeredProxy = OS.SignalHandler_new(handle, OS.QSIGNAL_TRIGGERED); |
328 OS.QObject_connectOrThrow(handle, "triggered(bool)", triggeredProxy, "widgetSignal(bool)", OS.QT_AUTOCONNECTION); |
328 OS.QObject_connectOrThrow(handle, "triggered(bool)", triggeredProxy, "widgetSignal(bool)", OS.QT_AUTOCONNECTION); |
329 } |
329 } |
330 int hoveredProxy = OS.SignalHandler_new(handle, display, OS.QSIGNAL_HOVER ); |
330 int hoveredProxy = OS.SignalHandler_new(handle, OS.QSIGNAL_HOVER ); |
331 OS.QObject_connectOrThrow(handle, "hovered()", hoveredProxy, "widgetSignal()", OS.QT_AUTOCONNECTION); |
331 OS.QObject_connectOrThrow(handle, "hovered()", hoveredProxy, "widgetSignal()", OS.QT_AUTOCONNECTION); |
332 } |
332 } |
333 |
333 |
334 /** |
334 /** |
335 * Returns <code>true</code> if the receiver is enabled and all |
335 * Returns <code>true</code> if the receiver is enabled and all |