Skip to content

Commit

Permalink
qt: rebuild (add virtual subclassing)
Browse files Browse the repository at this point in the history
  • Loading branch information
mappu committed Nov 15, 2024
1 parent 29ac353 commit 536b2d6
Show file tree
Hide file tree
Showing 1,679 changed files with 655,367 additions and 15,598 deletions.
1,467 changes: 1,396 additions & 71 deletions qt-extras/scintillaedit/gen_ScintillaEdit.cpp

Large diffs are not rendered by default.

772 changes: 750 additions & 22 deletions qt-extras/scintillaedit/gen_ScintillaEdit.go

Large diffs are not rendered by default.

144 changes: 136 additions & 8 deletions qt-extras/scintillaedit/gen_ScintillaEdit.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,29 @@ extern "C" {

#ifdef __cplusplus
class QByteArray;
class QChildEvent;
class QContextMenuEvent;
class QDragEnterEvent;
class QDragLeaveEvent;
class QDragMoveEvent;
class QDropEvent;
class QEvent;
class QFocusEvent;
class QInputMethodEvent;
class QKeyEvent;
class QMetaMethod;
class QMetaObject;
class QMimeData;
class QMouseEvent;
class QObject;
class QPaintDevice;
class QPaintEvent;
class QRect;
class QResizeEvent;
class QSize;
class QTimerEvent;
class QVariant;
class QWheelEvent;
class QWidget;
class SCNotification;
class Sci_CharacterRange;
Expand Down Expand Up @@ -194,13 +210,29 @@ class ScintillaEdit;
class ScintillaEditBase;
#else
typedef struct QByteArray QByteArray;
typedef struct QChildEvent QChildEvent;
typedef struct QContextMenuEvent QContextMenuEvent;
typedef struct QDragEnterEvent QDragEnterEvent;
typedef struct QDragLeaveEvent QDragLeaveEvent;
typedef struct QDragMoveEvent QDragMoveEvent;
typedef struct QDropEvent QDropEvent;
typedef struct QEvent QEvent;
typedef struct QFocusEvent QFocusEvent;
typedef struct QInputMethodEvent QInputMethodEvent;
typedef struct QKeyEvent QKeyEvent;
typedef struct QMetaMethod QMetaMethod;
typedef struct QMetaObject QMetaObject;
typedef struct QMimeData QMimeData;
typedef struct QMouseEvent QMouseEvent;
typedef struct QObject QObject;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEvent QPaintEvent;
typedef struct QRect QRect;
typedef struct QResizeEvent QResizeEvent;
typedef struct QSize QSize;
typedef struct QTimerEvent QTimerEvent;
typedef struct QVariant QVariant;
typedef struct QWheelEvent QWheelEvent;
typedef struct QWidget QWidget;
typedef struct SCNotification SCNotification;
typedef struct Sci_CharacterRange Sci_CharacterRange;
Expand Down Expand Up @@ -463,7 +495,7 @@ int Scintilla__Internal__ListBox_GetVisibleRows(const Scintilla__Internal__ListB
Scintilla__Internal__PRectangle* Scintilla__Internal__ListBox_GetDesiredRect(Scintilla__Internal__ListBox* self);
int Scintilla__Internal__ListBox_CaretFromEdge(Scintilla__Internal__ListBox* self);
void Scintilla__Internal__ListBox_Clear(Scintilla__Internal__ListBox* self);
void Scintilla__Internal__ListBox_Append(Scintilla__Internal__ListBox* self, char* s);
void Scintilla__Internal__ListBox_Append(Scintilla__Internal__ListBox* self, char* s, int typeVal);
int Scintilla__Internal__ListBox_Length(Scintilla__Internal__ListBox* self);
void Scintilla__Internal__ListBox_Select(Scintilla__Internal__ListBox* self, int n);
int Scintilla__Internal__ListBox_GetSelection(Scintilla__Internal__ListBox* self);
Expand All @@ -474,7 +506,6 @@ void Scintilla__Internal__ListBox_ClearRegisteredImages(Scintilla__Internal__Lis
void Scintilla__Internal__ListBox_SetDelegate(Scintilla__Internal__ListBox* self, Scintilla__Internal__IListBoxDelegate* lbDelegate);
void Scintilla__Internal__ListBox_SetList(Scintilla__Internal__ListBox* self, const char* list, char separator, char typesep);
void Scintilla__Internal__ListBox_SetOptions(Scintilla__Internal__ListBox* self, Scintilla__Internal__ListOptions* options_);
void Scintilla__Internal__ListBox_Append2(Scintilla__Internal__ListBox* self, char* s, int typeVal);
void Scintilla__Internal__ListBox_Delete(Scintilla__Internal__ListBox* self);

Scintilla__Internal__Menu* Scintilla__Internal__Menu_new();
Expand Down Expand Up @@ -512,8 +543,8 @@ QMetaObject* ScintillaEditBase_MetaObject(const ScintillaEditBase* self);
void* ScintillaEditBase_Metacast(ScintillaEditBase* self, const char* param1);
struct miqt_string ScintillaEditBase_Tr(const char* s);
struct miqt_string ScintillaEditBase_TrUtf8(const char* s);
intptr_t ScintillaEditBase_Send(const ScintillaEditBase* self, unsigned int iMessage);
intptr_t ScintillaEditBase_Sends(const ScintillaEditBase* self, unsigned int iMessage);
intptr_t ScintillaEditBase_Send(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam, intptr_t lParam);
intptr_t ScintillaEditBase_Sends(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam, const char* s);
void ScintillaEditBase_ScrollHorizontal(ScintillaEditBase* self, int value);
void ScintillaEditBase_ScrollVertical(ScintillaEditBase* self, int value);
void ScintillaEditBase_NotifyParent(ScintillaEditBase* self, Scintilla__NotificationData* scn);
Expand Down Expand Up @@ -592,14 +623,87 @@ void ScintillaEditBase_KeyPressed(ScintillaEditBase* self, QKeyEvent* event);
void ScintillaEditBase_connect_KeyPressed(ScintillaEditBase* self, intptr_t slot);
void ScintillaEditBase_Resized(ScintillaEditBase* self);
void ScintillaEditBase_connect_Resized(ScintillaEditBase* self, intptr_t slot);
bool ScintillaEditBase_Event(ScintillaEditBase* self, QEvent* event);
void ScintillaEditBase_PaintEvent(ScintillaEditBase* self, QPaintEvent* event);
void ScintillaEditBase_WheelEvent(ScintillaEditBase* self, QWheelEvent* event);
void ScintillaEditBase_FocusInEvent(ScintillaEditBase* self, QFocusEvent* event);
void ScintillaEditBase_FocusOutEvent(ScintillaEditBase* self, QFocusEvent* event);
void ScintillaEditBase_ResizeEvent(ScintillaEditBase* self, QResizeEvent* event);
void ScintillaEditBase_KeyPressEvent(ScintillaEditBase* self, QKeyEvent* event);
void ScintillaEditBase_MousePressEvent(ScintillaEditBase* self, QMouseEvent* event);
void ScintillaEditBase_MouseReleaseEvent(ScintillaEditBase* self, QMouseEvent* event);
void ScintillaEditBase_MouseDoubleClickEvent(ScintillaEditBase* self, QMouseEvent* event);
void ScintillaEditBase_MouseMoveEvent(ScintillaEditBase* self, QMouseEvent* event);
void ScintillaEditBase_ContextMenuEvent(ScintillaEditBase* self, QContextMenuEvent* event);
void ScintillaEditBase_DragEnterEvent(ScintillaEditBase* self, QDragEnterEvent* event);
void ScintillaEditBase_DragLeaveEvent(ScintillaEditBase* self, QDragLeaveEvent* event);
void ScintillaEditBase_DragMoveEvent(ScintillaEditBase* self, QDragMoveEvent* event);
void ScintillaEditBase_DropEvent(ScintillaEditBase* self, QDropEvent* event);
void ScintillaEditBase_InputMethodEvent(ScintillaEditBase* self, QInputMethodEvent* event);
QVariant* ScintillaEditBase_InputMethodQuery(const ScintillaEditBase* self, int query);
void ScintillaEditBase_ScrollContentsBy(ScintillaEditBase* self, int param1, int param2);
struct miqt_string ScintillaEditBase_Tr2(const char* s, const char* c);
struct miqt_string ScintillaEditBase_Tr3(const char* s, const char* c, int n);
struct miqt_string ScintillaEditBase_TrUtf82(const char* s, const char* c);
struct miqt_string ScintillaEditBase_TrUtf83(const char* s, const char* c, int n);
intptr_t ScintillaEditBase_Send2(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam);
intptr_t ScintillaEditBase_Send3(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam, intptr_t lParam);
intptr_t ScintillaEditBase_Sends2(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam);
intptr_t ScintillaEditBase_Sends3(const ScintillaEditBase* self, unsigned int iMessage, uintptr_t wParam, const char* s);
void ScintillaEditBase_override_virtual_MetaObject(void* self, intptr_t slot);
QMetaObject* ScintillaEditBase_virtualbase_MetaObject(const void* self);
void ScintillaEditBase_override_virtual_Metacast(void* self, intptr_t slot);
void* ScintillaEditBase_virtualbase_Metacast(void* self, const char* param1);
void ScintillaEditBase_override_virtual_Send(void* self, intptr_t slot);
intptr_t ScintillaEditBase_virtualbase_Send(const void* self, unsigned int iMessage, uintptr_t wParam, intptr_t lParam);
void ScintillaEditBase_override_virtual_Sends(void* self, intptr_t slot);
intptr_t ScintillaEditBase_virtualbase_Sends(const void* self, unsigned int iMessage, uintptr_t wParam, const char* s);
void ScintillaEditBase_override_virtual_Event(void* self, intptr_t slot);
bool ScintillaEditBase_virtualbase_Event(void* self, QEvent* event);
void ScintillaEditBase_override_virtual_PaintEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_PaintEvent(void* self, QPaintEvent* event);
void ScintillaEditBase_override_virtual_WheelEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_WheelEvent(void* self, QWheelEvent* event);
void ScintillaEditBase_override_virtual_FocusInEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_FocusInEvent(void* self, QFocusEvent* event);
void ScintillaEditBase_override_virtual_FocusOutEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_FocusOutEvent(void* self, QFocusEvent* event);
void ScintillaEditBase_override_virtual_ResizeEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_ResizeEvent(void* self, QResizeEvent* event);
void ScintillaEditBase_override_virtual_KeyPressEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_KeyPressEvent(void* self, QKeyEvent* event);
void ScintillaEditBase_override_virtual_MousePressEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_MousePressEvent(void* self, QMouseEvent* event);
void ScintillaEditBase_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* event);
void ScintillaEditBase_override_virtual_MouseDoubleClickEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_MouseDoubleClickEvent(void* self, QMouseEvent* event);
void ScintillaEditBase_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_MouseMoveEvent(void* self, QMouseEvent* event);
void ScintillaEditBase_override_virtual_ContextMenuEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* event);
void ScintillaEditBase_override_virtual_DragEnterEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_DragEnterEvent(void* self, QDragEnterEvent* event);
void ScintillaEditBase_override_virtual_DragLeaveEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_DragLeaveEvent(void* self, QDragLeaveEvent* event);
void ScintillaEditBase_override_virtual_DragMoveEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_DragMoveEvent(void* self, QDragMoveEvent* event);
void ScintillaEditBase_override_virtual_DropEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_DropEvent(void* self, QDropEvent* event);
void ScintillaEditBase_override_virtual_InputMethodEvent(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_InputMethodEvent(void* self, QInputMethodEvent* event);
void ScintillaEditBase_override_virtual_InputMethodQuery(void* self, intptr_t slot);
QVariant* ScintillaEditBase_virtualbase_InputMethodQuery(const void* self, int query);
void ScintillaEditBase_override_virtual_ScrollContentsBy(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_ScrollContentsBy(void* self, int param1, int param2);
void ScintillaEditBase_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
QSize* ScintillaEditBase_virtualbase_MinimumSizeHint(const void* self);
void ScintillaEditBase_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* ScintillaEditBase_virtualbase_SizeHint(const void* self);
void ScintillaEditBase_override_virtual_SetupViewport(void* self, intptr_t slot);
void ScintillaEditBase_virtualbase_SetupViewport(void* self, QWidget* viewport);
void ScintillaEditBase_override_virtual_EventFilter(void* self, intptr_t slot);
bool ScintillaEditBase_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2);
void ScintillaEditBase_override_virtual_ViewportEvent(void* self, intptr_t slot);
bool ScintillaEditBase_virtualbase_ViewportEvent(void* self, QEvent* param1);
void ScintillaEditBase_override_virtual_ViewportSizeHint(void* self, intptr_t slot);
QSize* ScintillaEditBase_virtualbase_ViewportSizeHint(const void* self);
void ScintillaEditBase_Delete(ScintillaEditBase* self);

ScintillaDocument* ScintillaDocument_new();
Expand Down Expand Up @@ -664,6 +768,24 @@ struct miqt_string ScintillaDocument_Tr3(const char* s, const char* c, int n);
struct miqt_string ScintillaDocument_TrUtf82(const char* s, const char* c);
struct miqt_string ScintillaDocument_TrUtf83(const char* s, const char* c, int n);
void ScintillaDocument_BeginUndoAction1(ScintillaDocument* self, bool coalesceWithPrior);
void ScintillaDocument_override_virtual_MetaObject(void* self, intptr_t slot);
QMetaObject* ScintillaDocument_virtualbase_MetaObject(const void* self);
void ScintillaDocument_override_virtual_Metacast(void* self, intptr_t slot);
void* ScintillaDocument_virtualbase_Metacast(void* self, const char* param1);
void ScintillaDocument_override_virtual_Event(void* self, intptr_t slot);
bool ScintillaDocument_virtualbase_Event(void* self, QEvent* event);
void ScintillaDocument_override_virtual_EventFilter(void* self, intptr_t slot);
bool ScintillaDocument_virtualbase_EventFilter(void* self, QObject* watched, QEvent* event);
void ScintillaDocument_override_virtual_TimerEvent(void* self, intptr_t slot);
void ScintillaDocument_virtualbase_TimerEvent(void* self, QTimerEvent* event);
void ScintillaDocument_override_virtual_ChildEvent(void* self, intptr_t slot);
void ScintillaDocument_virtualbase_ChildEvent(void* self, QChildEvent* event);
void ScintillaDocument_override_virtual_CustomEvent(void* self, intptr_t slot);
void ScintillaDocument_virtualbase_CustomEvent(void* self, QEvent* event);
void ScintillaDocument_override_virtual_ConnectNotify(void* self, intptr_t slot);
void ScintillaDocument_virtualbase_ConnectNotify(void* self, QMetaMethod* signal);
void ScintillaDocument_override_virtual_DisconnectNotify(void* self, intptr_t slot);
void ScintillaDocument_virtualbase_DisconnectNotify(void* self, QMetaMethod* signal);
void ScintillaDocument_Delete(ScintillaDocument* self);

ScintillaEdit* ScintillaEdit_new(QWidget* parent);
Expand All @@ -673,9 +795,11 @@ void* ScintillaEdit_Metacast(ScintillaEdit* self, const char* param1);
struct miqt_string ScintillaEdit_Tr(const char* s);
struct miqt_string ScintillaEdit_TrUtf8(const char* s);
struct miqt_string ScintillaEdit_TextReturner(const ScintillaEdit* self, int message, uintptr_t wParam);
struct miqt_map ScintillaEdit_FindText(ScintillaEdit* self, int flags, const char* text, int cpMin, int cpMax);
struct miqt_string ScintillaEdit_GetTextRange(ScintillaEdit* self, int start, int end);
ScintillaDocument* ScintillaEdit_GetDoc(ScintillaEdit* self);
void ScintillaEdit_SetDoc(ScintillaEdit* self, ScintillaDocument* pdoc_);
struct miqt_map ScintillaEdit_FindText2(ScintillaEdit* self, int flags, const char* text, int cpMin, int cpMax);
struct miqt_string ScintillaEdit_TextRange(ScintillaEdit* self, int start, int end);
long ScintillaEdit_FormatRange(ScintillaEdit* self, bool draw, QPaintDevice* target, QPaintDevice* measure, QRect* print_rect, QRect* page_rect, long range_start, long range_end);
long ScintillaEdit_FormatRange2(ScintillaEdit* self, bool draw, QPaintDevice* target, QPaintDevice* measure, QRect* print_rect, QRect* page_rect, long range_start, long range_end);
Expand Down Expand Up @@ -1483,6 +1607,10 @@ struct miqt_string ScintillaEdit_Tr2(const char* s, const char* c);
struct miqt_string ScintillaEdit_Tr3(const char* s, const char* c, int n);
struct miqt_string ScintillaEdit_TrUtf82(const char* s, const char* c);
struct miqt_string ScintillaEdit_TrUtf83(const char* s, const char* c, int n);
void ScintillaEdit_override_virtual_MetaObject(void* self, intptr_t slot);
QMetaObject* ScintillaEdit_virtualbase_MetaObject(const void* self);
void ScintillaEdit_override_virtual_Metacast(void* self, intptr_t slot);
void* ScintillaEdit_virtualbase_Metacast(void* self, const char* param1);
void ScintillaEdit_Delete(ScintillaEdit* self);

#ifdef __cplusplus
Expand Down
Loading

0 comments on commit 536b2d6

Please sign in to comment.