Artifact fee591102abdeb028e22f862cfa42d486d8de43f82571d9ff58698b110867a72:
- File QtCore/QtEvent.h — part of check-in [9463212568] at 2017-04-02 20:51:55 on branch trunk — Initial commit (user: js, size: 462) [annotate] [blame] [check-ins using]
#import <ObjFW/ObjFW.h> #import "QtOwnershipManaging.h" #include <QEvent> @interface QtEvent: OFObject <QtOwnershipManaging> { QEvent *_qEvent; bool _ownsEvent; } @property (readonly) QEvent *qEvent; @property (getter=isAccepted) bool accepted; @property (readonly, getter=isSpontaneous) bool spontaneous; @property (readonly) QEvent::Type type; + (int)registerEventType: (int)hint; - initWithQEvent: (QEvent*)qEvent; - (void)accept; - (void)ignore; @end