All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QEvent Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

The base class of all event classes. Event objects contain event parameters

*

Java wrapper for Qt class QEvent

*/ public class QEvent extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QEvent.class); /** *

Java wrapper for Qt enum QEvent::Type

*/ @QtExtensibleEnum @QtRejectedEntries({"ApplicationActivated", "ApplicationDeactivated"}) public enum Type implements QtEnumerator { /** *

Representing QEvent::None

*/ None(0), /** *

Representing QEvent::Timer

*/ Timer(1), /** *

Representing QEvent::MouseButtonPress

*/ MouseButtonPress(2), /** *

Representing QEvent::MouseButtonRelease

*/ MouseButtonRelease(3), /** *

Representing QEvent::MouseButtonDblClick

*/ MouseButtonDblClick(4), /** *

Representing QEvent::MouseMove

*/ MouseMove(5), /** *

Representing QEvent::KeyPress

*/ KeyPress(6), /** *

Representing QEvent::KeyRelease

*/ KeyRelease(7), /** *

Representing QEvent::FocusIn

*/ FocusIn(8), /** *

Representing QEvent::FocusOut

*/ FocusOut(9), /** *

Representing QEvent::FocusAboutToChange

*/ FocusAboutToChange(23), /** *

Representing QEvent::Enter

*/ Enter(10), /** *

Representing QEvent::Leave

*/ Leave(11), /** *

Representing QEvent::Paint

*/ Paint(12), /** *

Representing QEvent::Move

*/ Move(13), /** *

Representing QEvent::Resize

*/ Resize(14), /** *

Representing QEvent::Create

*/ Create(15), /** *

Representing QEvent::Destroy

*/ Destroy(16), /** *

Representing QEvent::Show

*/ Show(17), /** *

Representing QEvent::Hide

*/ Hide(18), /** *

Representing QEvent::Close

*/ Close(19), /** *

Representing QEvent::Quit

*/ Quit(20), /** *

Representing QEvent::ParentChange

*/ ParentChange(21), /** *

Representing QEvent::ParentAboutToChange

*/ ParentAboutToChange(131), /** *

Representing QEvent::ThreadChange

*/ ThreadChange(22), /** *

Representing QEvent::WindowActivate

*/ WindowActivate(24), /** *

Representing QEvent::WindowDeactivate

*/ WindowDeactivate(25), /** *

Representing QEvent::ShowToParent

*/ ShowToParent(26), /** *

Representing QEvent::HideToParent

*/ HideToParent(27), /** *

Representing QEvent::Wheel

*/ Wheel(31), /** *

Representing QEvent::WindowTitleChange

*/ WindowTitleChange(33), /** *

Representing QEvent::WindowIconChange

*/ WindowIconChange(34), /** *

Representing QEvent::ApplicationWindowIconChange

*/ ApplicationWindowIconChange(35), /** *

Representing QEvent::ApplicationFontChange

*/ ApplicationFontChange(36), /** *

Representing QEvent::ApplicationLayoutDirectionChange

*/ ApplicationLayoutDirectionChange(37), /** *

Representing QEvent::ApplicationPaletteChange

*/ ApplicationPaletteChange(38), /** *

Representing QEvent::PaletteChange

*/ PaletteChange(39), /** *

Representing QEvent::Clipboard

*/ Clipboard(40), /** *

Representing QEvent::Speech

*/ Speech(42), /** *

Representing QEvent::MetaCall

*/ MetaCall(43), /** *

Representing QEvent::SockAct

*/ SockAct(50), /** *

Representing QEvent::WinEventAct

*/ WinEventAct(132), /** *

Representing QEvent::DeferredDelete

*/ DeferredDispose(52), /** *

Representing QEvent::DragEnter

*/ DragEnter(60), /** *

Representing QEvent::DragMove

*/ DragMove(61), /** *

Representing QEvent::DragLeave

*/ DragLeave(62), /** *

Representing QEvent::Drop

*/ Drop(63), /** *

Representing QEvent::DragResponse

*/ DragResponse(64), /** *

Representing QEvent::ChildAdded

*/ ChildAdded(68), /** *

Representing QEvent::ChildPolished

*/ ChildPolished(69), /** *

Representing QEvent::ChildRemoved

*/ ChildRemoved(71), /** *

Representing QEvent::ShowWindowRequest

*/ ShowWindowRequest(73), /** *

Representing QEvent::PolishRequest

*/ PolishRequest(74), /** *

Representing QEvent::Polish

*/ Polish(75), /** *

Representing QEvent::LayoutRequest

*/ LayoutRequest(76), /** *

Representing QEvent::UpdateRequest

*/ UpdateRequest(77), /** *

Representing QEvent::UpdateLater

*/ UpdateLater(78), /** *

Representing QEvent::EmbeddingControl

*/ EmbeddingControl(79), /** *

Representing QEvent::ActivateControl

*/ ActivateControl(80), /** *

Representing QEvent::DeactivateControl

*/ DeactivateControl(81), /** *

Representing QEvent::ContextMenu

*/ ContextMenu(82), /** *

Representing QEvent::InputMethod

*/ InputMethod(83), /** *

Representing QEvent::TabletMove

*/ TabletMove(87), /** *

Representing QEvent::LocaleChange

*/ LocaleChange(88), /** *

Representing QEvent::LanguageChange

*/ LanguageChange(89), /** *

Representing QEvent::LayoutDirectionChange

*/ LayoutDirectionChange(90), /** *

Representing QEvent::Style

*/ Style(91), /** *

Representing QEvent::TabletPress

*/ TabletPress(92), /** *

Representing QEvent::TabletRelease

*/ TabletRelease(93), /** *

Representing QEvent::OkRequest

*/ OkRequest(94), /** *

Representing QEvent::HelpRequest

*/ HelpRequest(95), /** *

Representing QEvent::IconDrag

*/ IconDrag(96), /** *

Representing QEvent::FontChange

*/ FontChange(97), /** *

Representing QEvent::EnabledChange

*/ EnabledChange(98), /** *

Representing QEvent::ActivationChange

*/ ActivationChange(99), /** *

Representing QEvent::StyleChange

*/ StyleChange(100), /** *

Representing QEvent::IconTextChange

*/ IconTextChange(101), /** *

Representing QEvent::ModifiedChange

*/ ModifiedChange(102), /** *

Representing QEvent::MouseTrackingChange

*/ MouseTrackingChange(109), /** *

Representing QEvent::WindowBlocked

*/ WindowBlocked(103), /** *

Representing QEvent::WindowUnblocked

*/ WindowUnblocked(104), /** *

Representing QEvent::WindowStateChange

*/ WindowStateChange(105), /** *

Representing QEvent::ReadOnlyChange

*/ ReadOnlyChange(106), /** *

Representing QEvent::ToolTip

*/ ToolTip(110), /** *

Representing QEvent::WhatsThis

*/ WhatsThis(111), /** *

Representing QEvent::StatusTip

*/ StatusTip(112), /** *

Representing QEvent::ActionChanged

*/ ActionChanged(113), /** *

Representing QEvent::ActionAdded

*/ ActionAdded(114), /** *

Representing QEvent::ActionRemoved

*/ ActionRemoved(115), /** *

Representing QEvent::FileOpen

*/ FileOpen(116), /** *

Representing QEvent::Shortcut

*/ Shortcut(117), /** *

Representing QEvent::ShortcutOverride

*/ ShortcutOverride(51), /** *

Representing QEvent::WhatsThisClicked

*/ WhatsThisClicked(118), /** *

Representing QEvent::ToolBarChange

*/ ToolBarChange(120), /** *

Representing QEvent::ApplicationActivate

*/ ApplicationActivate(121), /** *

Representing QEvent::ApplicationActivated

*/ ApplicationActivated(121), /** *

Representing QEvent::ApplicationDeactivate

*/ ApplicationDeactivate(122), /** *

Representing QEvent::ApplicationDeactivated

*/ ApplicationDeactivated(122), /** *

Representing QEvent::QueryWhatsThis

*/ QueryWhatsThis(123), /** *

Representing QEvent::EnterWhatsThisMode

*/ EnterWhatsThisMode(124), /** *

Representing QEvent::LeaveWhatsThisMode

*/ LeaveWhatsThisMode(125), /** *

Representing QEvent::ZOrderChange

*/ ZOrderChange(126), /** *

Representing QEvent::HoverEnter

*/ HoverEnter(127), /** *

Representing QEvent::HoverLeave

*/ HoverLeave(128), /** *

Representing QEvent::HoverMove

*/ HoverMove(129), /** *

Representing QEvent::EnterEditFocus

*/ EnterEditFocus(150), /** *

Representing QEvent::LeaveEditFocus

*/ LeaveEditFocus(151), /** *

Representing QEvent::AcceptDropsChange

*/ AcceptDropsChange(152), /** *

Representing QEvent::ZeroTimerEvent

*/ ZeroTimerEvent(154), /** *

Representing QEvent::GraphicsSceneMouseMove

*/ GraphicsSceneMouseMove(155), /** *

Representing QEvent::GraphicsSceneMousePress

*/ GraphicsSceneMousePress(156), /** *

Representing QEvent::GraphicsSceneMouseRelease

*/ GraphicsSceneMouseRelease(157), /** *

Representing QEvent::GraphicsSceneMouseDoubleClick

*/ GraphicsSceneMouseDoubleClick(158), /** *

Representing QEvent::GraphicsSceneContextMenu

*/ GraphicsSceneContextMenu(159), /** *

Representing QEvent::GraphicsSceneHoverEnter

*/ GraphicsSceneHoverEnter(160), /** *

Representing QEvent::GraphicsSceneHoverMove

*/ GraphicsSceneHoverMove(161), /** *

Representing QEvent::GraphicsSceneHoverLeave

*/ GraphicsSceneHoverLeave(162), /** *

Representing QEvent::GraphicsSceneHelp

*/ GraphicsSceneHelp(163), /** *

Representing QEvent::GraphicsSceneDragEnter

*/ GraphicsSceneDragEnter(164), /** *

Representing QEvent::GraphicsSceneDragMove

*/ GraphicsSceneDragMove(165), /** *

Representing QEvent::GraphicsSceneDragLeave

*/ GraphicsSceneDragLeave(166), /** *

Representing QEvent::GraphicsSceneDrop

*/ GraphicsSceneDrop(167), /** *

Representing QEvent::GraphicsSceneWheel

*/ GraphicsSceneWheel(168), /** *

Representing QEvent::GraphicsSceneLeave

*/ GraphicsSceneLeave(220), /** *

Representing QEvent::KeyboardLayoutChange

*/ KeyboardLayoutChange(169), /** *

Representing QEvent::DynamicPropertyChange

*/ DynamicPropertyChange(170), /** *

Representing QEvent::TabletEnterProximity

*/ TabletEnterProximity(171), /** *

Representing QEvent::TabletLeaveProximity

*/ TabletLeaveProximity(172), /** *

Representing QEvent::NonClientAreaMouseMove

*/ NonClientAreaMouseMove(173), /** *

Representing QEvent::NonClientAreaMouseButtonPress

*/ NonClientAreaMouseButtonPress(174), /** *

Representing QEvent::NonClientAreaMouseButtonRelease

*/ NonClientAreaMouseButtonRelease(175), /** *

Representing QEvent::NonClientAreaMouseButtonDblClick

*/ NonClientAreaMouseButtonDblClick(176), /** *

Representing QEvent::MacSizeChange

*/ MacSizeChange(177), /** *

Representing QEvent::ContentsRectChange

*/ ContentsRectChange(178), /** *

Representing QEvent::MacGLWindowChange

*/ MacGLWindowChange(179), /** *

Representing QEvent::FutureCallOut

*/ FutureCallOut(180), /** *

Representing QEvent::GraphicsSceneResize

*/ GraphicsSceneResize(181), /** *

Representing QEvent::GraphicsSceneMove

*/ GraphicsSceneMove(182), /** *

Representing QEvent::CursorChange

*/ CursorChange(183), /** *

Representing QEvent::ToolTipChange

*/ ToolTipChange(184), /** *

Representing QEvent::NetworkReplyUpdated

*/ NetworkReplyUpdated(185), /** *

Representing QEvent::GrabMouse

*/ GrabMouse(186), /** *

Representing QEvent::UngrabMouse

*/ UngrabMouse(187), /** *

Representing QEvent::GrabKeyboard

*/ GrabKeyboard(188), /** *

Representing QEvent::UngrabKeyboard

*/ UngrabKeyboard(189), /** *

Representing QEvent::StateMachineSignal

*/ StateMachineSignal(192), /** *

Representing QEvent::StateMachineWrapped

*/ StateMachineWrapped(193), /** *

Representing QEvent::TouchBegin

*/ TouchBegin(194), /** *

Representing QEvent::TouchUpdate

*/ TouchUpdate(195), /** *

Representing QEvent::TouchEnd

*/ TouchEnd(196), /** *

Representing QEvent::NativeGesture

*/ NativeGesture(197), /** *

Representing QEvent::RequestSoftwareInputPanel

*/ RequestSoftwareInputPanel(199), /** *

Representing QEvent::CloseSoftwareInputPanel

*/ CloseSoftwareInputPanel(200), /** *

Representing QEvent::WinIdChange

*/ WinIdChange(203), /** *

Representing QEvent::Gesture

*/ Gesture(198), /** *

Representing QEvent::GestureOverride

*/ GestureOverride(202), /** *

Representing QEvent::ScrollPrepare

*/ ScrollPrepare(204), /** *

Representing QEvent::Scroll

*/ Scroll(205), /** *

Representing QEvent::Expose

*/ Expose(206), /** *

Representing QEvent::InputMethodQuery

*/ InputMethodQuery(207), /** *

Representing QEvent::OrientationChange

*/ OrientationChange(208), /** *

Representing QEvent::TouchCancel

*/ TouchCancel(209), /** *

Representing QEvent::ThemeChange

*/ ThemeChange(210), /** *

Representing QEvent::SockClose

*/ SockClose(211), /** *

Representing QEvent::PlatformPanel

*/ PlatformPanel(212), /** *

Representing QEvent::StyleAnimationUpdate

*/ StyleAnimationUpdate(213), /** *

Representing QEvent::ApplicationStateChange

*/ ApplicationStateChange(214), /** *

Representing QEvent::WindowChangeInternal

*/ WindowChangeInternal(215), /** *

Representing QEvent::ScreenChangeInternal

*/ ScreenChangeInternal(216), /** *

Representing QEvent::PlatformSurface

*/ PlatformSurface(217), /** *

Representing QEvent::Pointer

*/ Pointer(218), /** *

Representing QEvent::TabletTrackingChange

*/ TabletTrackingChange(219), /** *

Representing QEvent::WindowAboutToChangeInternal

*/ WindowAboutToChangeInternal(221), /** *

Representing QEvent::DevicePixelRatioChange

*/ DevicePixelRatioChange(222), /** *

Representing QEvent::ChildWindowAdded

*/ ChildWindowAdded(223), /** *

Representing QEvent::ChildWindowRemoved

*/ ChildWindowRemoved(224), /** *

Representing QEvent::ParentWindowAboutToChange

*/ ParentWindowAboutToChange(225), /** *

Representing QEvent::ParentWindowChange

*/ ParentWindowChange(226), /** *

Representing QEvent::User

*/ User(1000), /** *

Representing QEvent::MaxUser

*/ MaxUser(65535); static { QtJambi_LibraryUtilities.initialize(); } private Type(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry * @throws QNoSuchEnumValueException if value not existent in the enum */ public static @NonNull Type resolve(int value) { switch (value) { case 0: return None; case 1: return Timer; case 2: return MouseButtonPress; case 3: return MouseButtonRelease; case 4: return MouseButtonDblClick; case 5: return MouseMove; case 6: return KeyPress; case 7: return KeyRelease; case 8: return FocusIn; case 9: return FocusOut; case 23: return FocusAboutToChange; case 10: return Enter; case 11: return Leave; case 12: return Paint; case 13: return Move; case 14: return Resize; case 15: return Create; case 16: return Destroy; case 17: return Show; case 18: return Hide; case 19: return Close; case 20: return Quit; case 21: return ParentChange; case 131: return ParentAboutToChange; case 22: return ThreadChange; case 24: return WindowActivate; case 25: return WindowDeactivate; case 26: return ShowToParent; case 27: return HideToParent; case 31: return Wheel; case 33: return WindowTitleChange; case 34: return WindowIconChange; case 35: return ApplicationWindowIconChange; case 36: return ApplicationFontChange; case 37: return ApplicationLayoutDirectionChange; case 38: return ApplicationPaletteChange; case 39: return PaletteChange; case 40: return Clipboard; case 42: return Speech; case 43: return MetaCall; case 50: return SockAct; case 132: return WinEventAct; case 52: return DeferredDispose; case 60: return DragEnter; case 61: return DragMove; case 62: return DragLeave; case 63: return Drop; case 64: return DragResponse; case 68: return ChildAdded; case 69: return ChildPolished; case 71: return ChildRemoved; case 73: return ShowWindowRequest; case 74: return PolishRequest; case 75: return Polish; case 76: return LayoutRequest; case 77: return UpdateRequest; case 78: return UpdateLater; case 79: return EmbeddingControl; case 80: return ActivateControl; case 81: return DeactivateControl; case 82: return ContextMenu; case 83: return InputMethod; case 87: return TabletMove; case 88: return LocaleChange; case 89: return LanguageChange; case 90: return LayoutDirectionChange; case 91: return Style; case 92: return TabletPress; case 93: return TabletRelease; case 94: return OkRequest; case 95: return HelpRequest; case 96: return IconDrag; case 97: return FontChange; case 98: return EnabledChange; case 99: return ActivationChange; case 100: return StyleChange; case 101: return IconTextChange; case 102: return ModifiedChange; case 109: return MouseTrackingChange; case 103: return WindowBlocked; case 104: return WindowUnblocked; case 105: return WindowStateChange; case 106: return ReadOnlyChange; case 110: return ToolTip; case 111: return WhatsThis; case 112: return StatusTip; case 113: return ActionChanged; case 114: return ActionAdded; case 115: return ActionRemoved; case 116: return FileOpen; case 117: return Shortcut; case 51: return ShortcutOverride; case 118: return WhatsThisClicked; case 120: return ToolBarChange; case 121: return ApplicationActivate; case 122: return ApplicationDeactivate; case 123: return QueryWhatsThis; case 124: return EnterWhatsThisMode; case 125: return LeaveWhatsThisMode; case 126: return ZOrderChange; case 127: return HoverEnter; case 128: return HoverLeave; case 129: return HoverMove; case 150: return EnterEditFocus; case 151: return LeaveEditFocus; case 152: return AcceptDropsChange; case 154: return ZeroTimerEvent; case 155: return GraphicsSceneMouseMove; case 156: return GraphicsSceneMousePress; case 157: return GraphicsSceneMouseRelease; case 158: return GraphicsSceneMouseDoubleClick; case 159: return GraphicsSceneContextMenu; case 160: return GraphicsSceneHoverEnter; case 161: return GraphicsSceneHoverMove; case 162: return GraphicsSceneHoverLeave; case 163: return GraphicsSceneHelp; case 164: return GraphicsSceneDragEnter; case 165: return GraphicsSceneDragMove; case 166: return GraphicsSceneDragLeave; case 167: return GraphicsSceneDrop; case 168: return GraphicsSceneWheel; case 220: return GraphicsSceneLeave; case 169: return KeyboardLayoutChange; case 170: return DynamicPropertyChange; case 171: return TabletEnterProximity; case 172: return TabletLeaveProximity; case 173: return NonClientAreaMouseMove; case 174: return NonClientAreaMouseButtonPress; case 175: return NonClientAreaMouseButtonRelease; case 176: return NonClientAreaMouseButtonDblClick; case 177: return MacSizeChange; case 178: return ContentsRectChange; case 179: return MacGLWindowChange; case 180: return FutureCallOut; case 181: return GraphicsSceneResize; case 182: return GraphicsSceneMove; case 183: return CursorChange; case 184: return ToolTipChange; case 185: return NetworkReplyUpdated; case 186: return GrabMouse; case 187: return UngrabMouse; case 188: return GrabKeyboard; case 189: return UngrabKeyboard; case 192: return StateMachineSignal; case 193: return StateMachineWrapped; case 194: return TouchBegin; case 195: return TouchUpdate; case 196: return TouchEnd; case 197: return NativeGesture; case 199: return RequestSoftwareInputPanel; case 200: return CloseSoftwareInputPanel; case 203: return WinIdChange; case 198: return Gesture; case 202: return GestureOverride; case 204: return ScrollPrepare; case 205: return Scroll; case 206: return Expose; case 207: return InputMethodQuery; case 208: return OrientationChange; case 209: return TouchCancel; case 210: return ThemeChange; case 211: return SockClose; case 212: return PlatformPanel; case 213: return StyleAnimationUpdate; case 214: return ApplicationStateChange; case 215: return WindowChangeInternal; case 216: return ScreenChangeInternal; case 217: return PlatformSurface; case 218: return Pointer; case 219: return TabletTrackingChange; case 221: return WindowAboutToChangeInternal; case 222: return DevicePixelRatioChange; case 223: return ChildWindowAdded; case 224: return ChildWindowRemoved; case 225: return ParentWindowAboutToChange; case 226: return ParentWindowChange; case 1000: return User; case 65535: return MaxUser; default: return QtJambi_LibraryUtilities.internal.resolveEnum(Type.class, value, null); } } /** * Returns the corresponding enum entry for the given value and name. * @param value * @param name * @return enum entry * @throws QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static @NonNull Type resolve(int value, @Nullable String name) { if(name==null || name.isEmpty()) return resolve(value); else return QtJambi_LibraryUtilities.internal.resolveEnum(Type.class, value, name); } private final int value; } /** *

See QEvent::QEvent(QEvent)

*/ protected QEvent(io.qt.core.@StrictNonNull QEvent arg__1){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected."); initialize_native(this, arg__1); } private native static void initialize_native(QEvent instance, io.qt.core.QEvent arg__1); /** *

See QEvent::QEvent(QEvent::Type)

*/ public QEvent(io.qt.core.QEvent.@NonNull Type type){ super((QPrivateConstructor)null); initialize_native(this, type); } private native static void initialize_native(QEvent instance, io.qt.core.QEvent.Type type); /** *

See QEvent::accept()

*/ @QtUninvokable public final void accept(){ accept_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void accept_native(long __this__nativeId); /** *

See QEvent::ignore()

*/ @QtUninvokable public final void ignore(){ ignore_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void ignore_native(long __this__nativeId); /** *

See QEvent::isAccepted()const

*/ @QtUninvokable public final boolean isAccepted(){ return isAccepted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isAccepted_native_constfct(long __this__nativeId); /** *

See QEvent::isInputEvent()const

*/ @QtUninvokable public final boolean isInputEvent(){ return isInputEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isInputEvent_native_constfct(long __this__nativeId); /** *

See QEvent::isPointerEvent()const

*/ @QtUninvokable public final boolean isPointerEvent(){ return isPointerEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isPointerEvent_native_constfct(long __this__nativeId); /** *

See QEvent::isSinglePointEvent()const

*/ @QtUninvokable public final boolean isSinglePointEvent(){ return isSinglePointEvent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isSinglePointEvent_native_constfct(long __this__nativeId); /** *

See QEvent::operator=(QEvent)

*/ @QtUninvokable protected final void assign(io.qt.core.@StrictNonNull QEvent other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); assign_native_cref_QEvent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QEvent(long __this__nativeId, long other); /** *

See QEvent::spontaneous()const

*/ @QtUninvokable public final boolean spontaneous(){ return spontaneous_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean spontaneous_native_constfct(long __this__nativeId); /** *

See QEvent::type()const

*/ @QtUninvokable public final io.qt.core.QEvent.@NonNull Type type(){ return io.qt.core.QEvent.Type.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int type_native_constfct(long __this__nativeId); /** *

See QEvent::clone()const

*/ @QtUninvokable public io.qt.core.@Nullable QEvent clone(){ return clone_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QEvent clone_native_constfct(long __this__nativeId); /** *

See QEvent::setAccepted(bool)

*/ @QtUninvokable public void setAccepted(boolean accepted){ setAccepted_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), accepted); } @QtUninvokable private native void setAccepted_native_bool(long __this__nativeId, boolean accepted); /** *

See QEvent::registerEventType(int)

*/ public native static int registerEventType(int hint); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QEvent(QPrivateConstructor p) { super(p); } /** * Returns the string representation of the QEvent. */ @Override public @NonNull String toString() { return "QEvent(type=" + type().name() + ")"; } /** * @deprecated Use {@link #assign(io.qt.core.QEvent)} instead. */ @Deprecated @QtUninvokable protected final void set(io.qt.core.@StrictNonNull QEvent other) { assign(other); } /** *

Overloaded function for {@link #registerEventType(int)} * with hint = -1.

*/ public static int registerEventType() { return registerEventType((int)-1); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy