nodeguy/src/cpp/include/nodegui/QtGui/QEvent/QDragLeaveEvent/qdragleaveevent_wrap.h
Simon Edwards 1bc346d22c
Add QEvent methods to all subclasses + some random methods (#848)
* Add `clearFocus()` to `QWidget`

* Add `Alignment` param to `QBoxLayout.addWidget()`

* Add `setViewportMargins()` & `viewportMargins()` to `QScrollArea`

* Add `QEvent` methods to all event related subclasses

* Tell C++ that our 0 is zero and not a null pointer
2021-07-08 22:45:41 +02:00

27 lines
690 B
C++

#pragma once
#include <napi.h>
#include <QDragLeaveEvent>
#include "Extras/Export/export.h"
#include "QtGui/QEvent/QEvent/qevent_macro.h"
#include "core/Component/component_macro.h"
class DLL_EXPORT QDragLeaveEventWrap
: public Napi::ObjectWrap<QDragLeaveEventWrap> {
COMPONENT_WRAPPED_METHODS_DECLARATION
QEVENT_WRAPPED_METHODS_DECLARATION
private:
QDragLeaveEvent* instance;
public:
static Napi::Object init(Napi::Env env, Napi::Object exports);
QDragLeaveEventWrap(const Napi::CallbackInfo& info);
~QDragLeaveEventWrap();
QDragLeaveEvent* getInternalInstance();
// class constructor
static Napi::FunctionReference constructor;
// wrapped methods (none)
};