mirror of
https://github.com/mappu/miqt.git
synced 2025-01-03 06:08:38 +00:00
qt: rebuild (minor new text functions)
This commit is contained in:
parent
0285a0a5fa
commit
b1e7220f14
@ -114,6 +114,10 @@ void QAbstractTextDocumentLayout_UnregisterHandler(QAbstractTextDocumentLayout*
|
||||
self->unregisterHandler(static_cast<int>(objectType));
|
||||
}
|
||||
|
||||
QTextObjectInterface* QAbstractTextDocumentLayout_HandlerForObject(const QAbstractTextDocumentLayout* self, int objectType) {
|
||||
return self->handlerForObject(static_cast<int>(objectType));
|
||||
}
|
||||
|
||||
void QAbstractTextDocumentLayout_Update(QAbstractTextDocumentLayout* self) {
|
||||
self->update();
|
||||
}
|
||||
@ -220,6 +224,10 @@ void QTextObjectInterface_DrawObject(QTextObjectInterface* self, QPainter* paint
|
||||
self->drawObject(painter, *rect, doc, static_cast<int>(posInDocument), *format);
|
||||
}
|
||||
|
||||
void QTextObjectInterface_OperatorAssign(QTextObjectInterface* self, QTextObjectInterface* param1) {
|
||||
self->operator=(*param1);
|
||||
}
|
||||
|
||||
void QTextObjectInterface_Delete(QTextObjectInterface* self) {
|
||||
delete self;
|
||||
}
|
||||
|
@ -145,6 +145,11 @@ func (this *QAbstractTextDocumentLayout) UnregisterHandler(objectType int) {
|
||||
C.QAbstractTextDocumentLayout_UnregisterHandler(this.h, (C.int)(objectType))
|
||||
}
|
||||
|
||||
func (this *QAbstractTextDocumentLayout) HandlerForObject(objectType int) *QTextObjectInterface {
|
||||
_ret := C.QAbstractTextDocumentLayout_HandlerForObject(this.h, (C.int)(objectType))
|
||||
return newQTextObjectInterface_U(unsafe.Pointer(_ret))
|
||||
}
|
||||
|
||||
func (this *QAbstractTextDocumentLayout) Update() {
|
||||
C.QAbstractTextDocumentLayout_Update(this.h)
|
||||
}
|
||||
@ -341,6 +346,10 @@ func (this *QTextObjectInterface) DrawObject(painter *QPainter, rect *QRectF, do
|
||||
C.QTextObjectInterface_DrawObject(this.h, painter.cPointer(), rect.cPointer(), doc.cPointer(), (C.int)(posInDocument), format.cPointer())
|
||||
}
|
||||
|
||||
func (this *QTextObjectInterface) OperatorAssign(param1 *QTextObjectInterface) {
|
||||
C.QTextObjectInterface_OperatorAssign(this.h, param1.cPointer())
|
||||
}
|
||||
|
||||
// Delete this object from C++ memory.
|
||||
func (this *QTextObjectInterface) Delete() {
|
||||
C.QTextObjectInterface_Delete(this.h)
|
||||
|
@ -73,6 +73,7 @@ QPaintDevice* QAbstractTextDocumentLayout_PaintDevice(const QAbstractTextDocumen
|
||||
QTextDocument* QAbstractTextDocumentLayout_Document(const QAbstractTextDocumentLayout* self);
|
||||
void QAbstractTextDocumentLayout_RegisterHandler(QAbstractTextDocumentLayout* self, int objectType, QObject* component);
|
||||
void QAbstractTextDocumentLayout_UnregisterHandler(QAbstractTextDocumentLayout* self, int objectType);
|
||||
QTextObjectInterface* QAbstractTextDocumentLayout_HandlerForObject(const QAbstractTextDocumentLayout* self, int objectType);
|
||||
void QAbstractTextDocumentLayout_Update(QAbstractTextDocumentLayout* self);
|
||||
void QAbstractTextDocumentLayout_connect_Update(QAbstractTextDocumentLayout* self, void* slot);
|
||||
void QAbstractTextDocumentLayout_UpdateBlock(QAbstractTextDocumentLayout* self, QTextBlock* block);
|
||||
@ -92,6 +93,7 @@ void QAbstractTextDocumentLayout_Delete(QAbstractTextDocumentLayout* self);
|
||||
|
||||
QSizeF* QTextObjectInterface_IntrinsicSize(QTextObjectInterface* self, QTextDocument* doc, int posInDocument, QTextFormat* format);
|
||||
void QTextObjectInterface_DrawObject(QTextObjectInterface* self, QPainter* painter, QRectF* rect, QTextDocument* doc, int posInDocument, QTextFormat* format);
|
||||
void QTextObjectInterface_OperatorAssign(QTextObjectInterface* self, QTextObjectInterface* param1);
|
||||
void QTextObjectInterface_Delete(QTextObjectInterface* self);
|
||||
|
||||
QAbstractTextDocumentLayout__Selection* QAbstractTextDocumentLayout__Selection_new(QAbstractTextDocumentLayout__Selection* param1);
|
||||
|
@ -36,6 +36,10 @@ void QAbstractUndoItem_Redo(QAbstractUndoItem* self) {
|
||||
self->redo();
|
||||
}
|
||||
|
||||
void QAbstractUndoItem_OperatorAssign(QAbstractUndoItem* self, QAbstractUndoItem* param1) {
|
||||
self->operator=(*param1);
|
||||
}
|
||||
|
||||
void QAbstractUndoItem_Delete(QAbstractUndoItem* self) {
|
||||
delete self;
|
||||
}
|
||||
@ -584,6 +588,10 @@ void QTextDocument_Redo2(QTextDocument* self) {
|
||||
self->redo();
|
||||
}
|
||||
|
||||
void QTextDocument_AppendUndoItem(QTextDocument* self, QAbstractUndoItem* param1) {
|
||||
self->appendUndoItem(param1);
|
||||
}
|
||||
|
||||
void QTextDocument_SetModified(QTextDocument* self) {
|
||||
self->setModified();
|
||||
}
|
||||
|
@ -86,6 +86,10 @@ func (this *QAbstractUndoItem) Redo() {
|
||||
C.QAbstractUndoItem_Redo(this.h)
|
||||
}
|
||||
|
||||
func (this *QAbstractUndoItem) OperatorAssign(param1 *QAbstractUndoItem) {
|
||||
C.QAbstractUndoItem_OperatorAssign(this.h, param1.cPointer())
|
||||
}
|
||||
|
||||
// Delete this object from C++ memory.
|
||||
func (this *QAbstractUndoItem) Delete() {
|
||||
C.QAbstractUndoItem_Delete(this.h)
|
||||
@ -822,6 +826,10 @@ func (this *QTextDocument) Redo2() {
|
||||
C.QTextDocument_Redo2(this.h)
|
||||
}
|
||||
|
||||
func (this *QTextDocument) AppendUndoItem(param1 *QAbstractUndoItem) {
|
||||
C.QTextDocument_AppendUndoItem(this.h, param1.cPointer())
|
||||
}
|
||||
|
||||
func (this *QTextDocument) SetModified() {
|
||||
C.QTextDocument_SetModified(this.h)
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ typedef struct QVariant QVariant;
|
||||
|
||||
void QAbstractUndoItem_Undo(QAbstractUndoItem* self);
|
||||
void QAbstractUndoItem_Redo(QAbstractUndoItem* self);
|
||||
void QAbstractUndoItem_OperatorAssign(QAbstractUndoItem* self, QAbstractUndoItem* param1);
|
||||
void QAbstractUndoItem_Delete(QAbstractUndoItem* self);
|
||||
|
||||
QTextDocument* QTextDocument_new();
|
||||
@ -172,6 +173,7 @@ void QTextDocument_DocumentLayoutChanged(QTextDocument* self);
|
||||
void QTextDocument_connect_DocumentLayoutChanged(QTextDocument* self, void* slot);
|
||||
void QTextDocument_Undo2(QTextDocument* self);
|
||||
void QTextDocument_Redo2(QTextDocument* self);
|
||||
void QTextDocument_AppendUndoItem(QTextDocument* self, QAbstractUndoItem* param1);
|
||||
void QTextDocument_SetModified(QTextDocument* self);
|
||||
struct miqt_string* QTextDocument_Tr2(const char* s, const char* c);
|
||||
struct miqt_string* QTextDocument_Tr3(const char* s, const char* c, int n);
|
||||
|
Loading…
Reference in New Issue
Block a user