2024-11-23 06:34:52 +00:00
# include <QChildEvent>
# include <QEvent>
2024-10-20 04:59:23 +00:00
# include <QList>
2024-11-23 06:34:52 +00:00
# include <QMetaMethod>
2024-10-20 04:59:23 +00:00
# include <QMetaObject>
2024-11-19 06:29:06 +00:00
# include <QObject>
2024-10-20 04:59:23 +00:00
# include <QString>
# include <QByteArray>
# include <cstring>
2024-11-23 06:34:52 +00:00
# include <QTimerEvent>
2024-10-20 04:59:23 +00:00
# include <qsciabstractapis.h>
# include "gen_qsciabstractapis.h"
# include "_cgo_export.h"
2024-11-23 06:34:52 +00:00
class MiqtVirtualQsciAbstractAPIs : public virtual QsciAbstractAPIs {
public :
MiqtVirtualQsciAbstractAPIs ( QsciLexer * lexer ) : QsciAbstractAPIs ( lexer ) { } ;
virtual ~ MiqtVirtualQsciAbstractAPIs ( ) = default ;
// cgo.Handle value for overwritten implementation
intptr_t handle__UpdateAutoCompletionList = 0 ;
// Subclass to allow providing a Go implementation
virtual void updateAutoCompletionList ( const QStringList & context , QStringList & list ) override {
if ( handle__UpdateAutoCompletionList = = 0 ) {
return ; // Pure virtual, there is no base we can call
}
const QStringList & context_ret = context ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * context_arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * context_ret . length ( ) ) ) ;
for ( size_t i = 0 , e = context_ret . length ( ) ; i < e ; + + i ) {
QString context_lv_ret = context_ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray context_lv_b = context_lv_ret . toUtf8 ( ) ;
struct miqt_string context_lv_ms ;
context_lv_ms . len = context_lv_b . length ( ) ;
context_lv_ms . data = static_cast < char * > ( malloc ( context_lv_ms . len ) ) ;
memcpy ( context_lv_ms . data , context_lv_b . data ( ) , context_lv_ms . len ) ;
context_arr [ i ] = context_lv_ms ;
}
struct miqt_array context_out ;
context_out . len = context_ret . length ( ) ;
context_out . data = static_cast < void * > ( context_arr ) ;
struct miqt_array /* of struct miqt_string */ sigval1 = context_out ;
QStringList & list_ret = list ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * list_arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * list_ret . length ( ) ) ) ;
for ( size_t i = 0 , e = list_ret . length ( ) ; i < e ; + + i ) {
QString list_lv_ret = list_ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray list_lv_b = list_lv_ret . toUtf8 ( ) ;
struct miqt_string list_lv_ms ;
list_lv_ms . len = list_lv_b . length ( ) ;
list_lv_ms . data = static_cast < char * > ( malloc ( list_lv_ms . len ) ) ;
memcpy ( list_lv_ms . data , list_lv_b . data ( ) , list_lv_ms . len ) ;
list_arr [ i ] = list_lv_ms ;
}
struct miqt_array list_out ;
list_out . len = list_ret . length ( ) ;
list_out . data = static_cast < void * > ( list_arr ) ;
struct miqt_array /* of struct miqt_string */ sigval2 = list_out ;
miqt_exec_callback_QsciAbstractAPIs_UpdateAutoCompletionList ( this , handle__UpdateAutoCompletionList , sigval1 , sigval2 ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__AutoCompletionSelected = 0 ;
// Subclass to allow providing a Go implementation
virtual void autoCompletionSelected ( const QString & selection ) override {
if ( handle__AutoCompletionSelected = = 0 ) {
QsciAbstractAPIs : : autoCompletionSelected ( selection ) ;
return ;
}
const QString selection_ret = selection ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray selection_b = selection_ret . toUtf8 ( ) ;
struct miqt_string selection_ms ;
selection_ms . len = selection_b . length ( ) ;
selection_ms . data = static_cast < char * > ( malloc ( selection_ms . len ) ) ;
memcpy ( selection_ms . data , selection_b . data ( ) , selection_ms . len ) ;
struct miqt_string sigval1 = selection_ms ;
miqt_exec_callback_QsciAbstractAPIs_AutoCompletionSelected ( this , handle__AutoCompletionSelected , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_AutoCompletionSelected ( struct miqt_string selection ) {
QString selection_QString = QString : : fromUtf8 ( selection . data , selection . len ) ;
QsciAbstractAPIs : : autoCompletionSelected ( selection_QString ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__CallTips = 0 ;
// Subclass to allow providing a Go implementation
virtual QStringList callTips ( const QStringList & context , int commas , QsciScintilla : : CallTipsStyle style , QList < int > & shifts ) override {
if ( handle__CallTips = = 0 ) {
return QStringList ( ) ; // Pure virtual, there is no base we can call
}
const QStringList & context_ret = context ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * context_arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * context_ret . length ( ) ) ) ;
for ( size_t i = 0 , e = context_ret . length ( ) ; i < e ; + + i ) {
QString context_lv_ret = context_ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray context_lv_b = context_lv_ret . toUtf8 ( ) ;
struct miqt_string context_lv_ms ;
context_lv_ms . len = context_lv_b . length ( ) ;
context_lv_ms . data = static_cast < char * > ( malloc ( context_lv_ms . len ) ) ;
memcpy ( context_lv_ms . data , context_lv_b . data ( ) , context_lv_ms . len ) ;
context_arr [ i ] = context_lv_ms ;
}
struct miqt_array context_out ;
context_out . len = context_ret . length ( ) ;
context_out . data = static_cast < void * > ( context_arr ) ;
struct miqt_array /* of struct miqt_string */ sigval1 = context_out ;
int sigval2 = commas ;
QsciScintilla : : CallTipsStyle style_ret = style ;
int sigval3 = static_cast < int > ( style_ret ) ;
QList < int > & shifts_ret = shifts ;
// Convert QList<> from C++ memory to manually-managed C memory
int * shifts_arr = static_cast < int * > ( malloc ( sizeof ( int ) * shifts_ret . length ( ) ) ) ;
for ( size_t i = 0 , e = shifts_ret . length ( ) ; i < e ; + + i ) {
shifts_arr [ i ] = shifts_ret [ i ] ;
}
struct miqt_array shifts_out ;
shifts_out . len = shifts_ret . length ( ) ;
shifts_out . data = static_cast < void * > ( shifts_arr ) ;
struct miqt_array /* of int */ sigval4 = shifts_out ;
struct miqt_array /* of struct miqt_string */ callback_return_value = miqt_exec_callback_QsciAbstractAPIs_CallTips ( this , handle__CallTips , sigval1 , sigval2 , sigval3 , sigval4 ) ;
QStringList callback_return_value_QList ;
callback_return_value_QList . reserve ( callback_return_value . len ) ;
struct miqt_string * callback_return_value_arr = static_cast < struct miqt_string * > ( callback_return_value . data ) ;
for ( size_t i = 0 ; i < callback_return_value . len ; + + i ) {
QString callback_return_value_arr_i_QString = QString : : fromUtf8 ( callback_return_value_arr [ i ] . data , callback_return_value_arr [ i ] . len ) ;
callback_return_value_QList . push_back ( callback_return_value_arr_i_QString ) ;
}
return callback_return_value_QList ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__Event = 0 ;
// Subclass to allow providing a Go implementation
virtual bool event ( QEvent * event ) override {
if ( handle__Event = = 0 ) {
return QsciAbstractAPIs : : event ( event ) ;
}
QEvent * sigval1 = event ;
bool callback_return_value = miqt_exec_callback_QsciAbstractAPIs_Event ( this , handle__Event , sigval1 ) ;
return callback_return_value ;
}
// Wrapper to allow calling protected method
bool virtualbase_Event ( QEvent * event ) {
return QsciAbstractAPIs : : event ( event ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__EventFilter = 0 ;
// Subclass to allow providing a Go implementation
virtual bool eventFilter ( QObject * watched , QEvent * event ) override {
if ( handle__EventFilter = = 0 ) {
return QsciAbstractAPIs : : eventFilter ( watched , event ) ;
}
QObject * sigval1 = watched ;
QEvent * sigval2 = event ;
bool callback_return_value = miqt_exec_callback_QsciAbstractAPIs_EventFilter ( this , handle__EventFilter , sigval1 , sigval2 ) ;
return callback_return_value ;
}
// Wrapper to allow calling protected method
bool virtualbase_EventFilter ( QObject * watched , QEvent * event ) {
return QsciAbstractAPIs : : eventFilter ( watched , event ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__TimerEvent = 0 ;
// Subclass to allow providing a Go implementation
virtual void timerEvent ( QTimerEvent * event ) override {
if ( handle__TimerEvent = = 0 ) {
QsciAbstractAPIs : : timerEvent ( event ) ;
return ;
}
QTimerEvent * sigval1 = event ;
miqt_exec_callback_QsciAbstractAPIs_TimerEvent ( this , handle__TimerEvent , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_TimerEvent ( QTimerEvent * event ) {
QsciAbstractAPIs : : timerEvent ( event ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__ChildEvent = 0 ;
// Subclass to allow providing a Go implementation
virtual void childEvent ( QChildEvent * event ) override {
if ( handle__ChildEvent = = 0 ) {
QsciAbstractAPIs : : childEvent ( event ) ;
return ;
}
QChildEvent * sigval1 = event ;
miqt_exec_callback_QsciAbstractAPIs_ChildEvent ( this , handle__ChildEvent , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_ChildEvent ( QChildEvent * event ) {
QsciAbstractAPIs : : childEvent ( event ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__CustomEvent = 0 ;
// Subclass to allow providing a Go implementation
virtual void customEvent ( QEvent * event ) override {
if ( handle__CustomEvent = = 0 ) {
QsciAbstractAPIs : : customEvent ( event ) ;
return ;
}
QEvent * sigval1 = event ;
miqt_exec_callback_QsciAbstractAPIs_CustomEvent ( this , handle__CustomEvent , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_CustomEvent ( QEvent * event ) {
QsciAbstractAPIs : : customEvent ( event ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__ConnectNotify = 0 ;
// Subclass to allow providing a Go implementation
virtual void connectNotify ( const QMetaMethod & signal ) override {
if ( handle__ConnectNotify = = 0 ) {
QsciAbstractAPIs : : connectNotify ( signal ) ;
return ;
}
const QMetaMethod & signal_ret = signal ;
// Cast returned reference into pointer
QMetaMethod * sigval1 = const_cast < QMetaMethod * > ( & signal_ret ) ;
miqt_exec_callback_QsciAbstractAPIs_ConnectNotify ( this , handle__ConnectNotify , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_ConnectNotify ( QMetaMethod * signal ) {
QsciAbstractAPIs : : connectNotify ( * signal ) ;
}
// cgo.Handle value for overwritten implementation
intptr_t handle__DisconnectNotify = 0 ;
// Subclass to allow providing a Go implementation
virtual void disconnectNotify ( const QMetaMethod & signal ) override {
if ( handle__DisconnectNotify = = 0 ) {
QsciAbstractAPIs : : disconnectNotify ( signal ) ;
return ;
}
const QMetaMethod & signal_ret = signal ;
// Cast returned reference into pointer
QMetaMethod * sigval1 = const_cast < QMetaMethod * > ( & signal_ret ) ;
miqt_exec_callback_QsciAbstractAPIs_DisconnectNotify ( this , handle__DisconnectNotify , sigval1 ) ;
}
// Wrapper to allow calling protected method
void virtualbase_DisconnectNotify ( QMetaMethod * signal ) {
QsciAbstractAPIs : : disconnectNotify ( * signal ) ;
}
} ;
2024-12-07 04:15:57 +00:00
QsciAbstractAPIs * QsciAbstractAPIs_new ( QsciLexer * lexer ) {
return new MiqtVirtualQsciAbstractAPIs ( lexer ) ;
}
void QsciAbstractAPIs_virtbase ( QsciAbstractAPIs * src , QObject * * outptr_QObject ) {
* outptr_QObject = static_cast < QObject * > ( src ) ;
2024-11-23 06:34:52 +00:00
}
2024-10-20 04:59:23 +00:00
QMetaObject * QsciAbstractAPIs_MetaObject ( const QsciAbstractAPIs * self ) {
return ( QMetaObject * ) self - > metaObject ( ) ;
}
void * QsciAbstractAPIs_Metacast ( QsciAbstractAPIs * self , const char * param1 ) {
return self - > qt_metacast ( param1 ) ;
}
struct miqt_string QsciAbstractAPIs_Tr ( const char * s ) {
QString _ret = QsciAbstractAPIs : : tr ( s ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
struct miqt_string QsciAbstractAPIs_TrUtf8 ( const char * s ) {
QString _ret = QsciAbstractAPIs : : trUtf8 ( s ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
QsciLexer * QsciAbstractAPIs_Lexer ( const QsciAbstractAPIs * self ) {
return self - > lexer ( ) ;
}
2024-11-17 06:21:37 +00:00
void QsciAbstractAPIs_UpdateAutoCompletionList ( QsciAbstractAPIs * self , struct miqt_array /* of struct miqt_string */ context , struct miqt_array /* of struct miqt_string */ list ) {
2024-10-20 04:59:23 +00:00
QStringList context_QList ;
2024-11-04 07:18:27 +00:00
context_QList . reserve ( context . len ) ;
struct miqt_string * context_arr = static_cast < struct miqt_string * > ( context . data ) ;
for ( size_t i = 0 ; i < context . len ; + + i ) {
2024-10-20 04:59:23 +00:00
QString context_arr_i_QString = QString : : fromUtf8 ( context_arr [ i ] . data , context_arr [ i ] . len ) ;
context_QList . push_back ( context_arr_i_QString ) ;
}
QStringList list_QList ;
2024-11-04 07:18:27 +00:00
list_QList . reserve ( list . len ) ;
struct miqt_string * list_arr = static_cast < struct miqt_string * > ( list . data ) ;
for ( size_t i = 0 ; i < list . len ; + + i ) {
2024-10-20 04:59:23 +00:00
QString list_arr_i_QString = QString : : fromUtf8 ( list_arr [ i ] . data , list_arr [ i ] . len ) ;
list_QList . push_back ( list_arr_i_QString ) ;
}
self - > updateAutoCompletionList ( context_QList , list_QList ) ;
}
void QsciAbstractAPIs_AutoCompletionSelected ( QsciAbstractAPIs * self , struct miqt_string selection ) {
QString selection_QString = QString : : fromUtf8 ( selection . data , selection . len ) ;
self - > autoCompletionSelected ( selection_QString ) ;
}
2024-11-17 06:21:37 +00:00
struct miqt_array /* of struct miqt_string */ QsciAbstractAPIs_CallTips ( QsciAbstractAPIs * self , struct miqt_array /* of struct miqt_string */ context , int commas , int style , struct miqt_array /* of int */ shifts ) {
2024-10-20 04:59:23 +00:00
QStringList context_QList ;
2024-11-04 07:18:27 +00:00
context_QList . reserve ( context . len ) ;
struct miqt_string * context_arr = static_cast < struct miqt_string * > ( context . data ) ;
for ( size_t i = 0 ; i < context . len ; + + i ) {
2024-10-20 04:59:23 +00:00
QString context_arr_i_QString = QString : : fromUtf8 ( context_arr [ i ] . data , context_arr [ i ] . len ) ;
context_QList . push_back ( context_arr_i_QString ) ;
}
QList < int > shifts_QList ;
2024-11-04 07:18:27 +00:00
shifts_QList . reserve ( shifts . len ) ;
int * shifts_arr = static_cast < int * > ( shifts . data ) ;
for ( size_t i = 0 ; i < shifts . len ; + + i ) {
2024-10-20 04:59:23 +00:00
shifts_QList . push_back ( static_cast < int > ( shifts_arr [ i ] ) ) ;
}
QStringList _ret = self - > callTips ( context_QList , static_cast < int > ( commas ) , static_cast < QsciScintilla : : CallTipsStyle > ( style ) , shifts_QList ) ;
// Convert QList<> from C++ memory to manually-managed C memory
struct miqt_string * _arr = static_cast < struct miqt_string * > ( malloc ( sizeof ( struct miqt_string ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
QString _lv_ret = _ret [ i ] ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _lv_b = _lv_ret . toUtf8 ( ) ;
struct miqt_string _lv_ms ;
_lv_ms . len = _lv_b . length ( ) ;
_lv_ms . data = static_cast < char * > ( malloc ( _lv_ms . len ) ) ;
memcpy ( _lv_ms . data , _lv_b . data ( ) , _lv_ms . len ) ;
_arr [ i ] = _lv_ms ;
}
2024-11-04 07:18:27 +00:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-10-20 04:59:23 +00:00
return _out ;
}
struct miqt_string QsciAbstractAPIs_Tr2 ( const char * s , const char * c ) {
QString _ret = QsciAbstractAPIs : : tr ( s , c ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
struct miqt_string QsciAbstractAPIs_Tr3 ( const char * s , const char * c , int n ) {
QString _ret = QsciAbstractAPIs : : tr ( s , c , static_cast < int > ( n ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
struct miqt_string QsciAbstractAPIs_TrUtf82 ( const char * s , const char * c ) {
QString _ret = QsciAbstractAPIs : : trUtf8 ( s , c ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
struct miqt_string QsciAbstractAPIs_TrUtf83 ( const char * s , const char * c , int n ) {
QString _ret = QsciAbstractAPIs : : trUtf8 ( s , c , static_cast < int > ( n ) ) ;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray _b = _ret . toUtf8 ( ) ;
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
}
2024-11-23 06:34:52 +00:00
void QsciAbstractAPIs_override_virtual_UpdateAutoCompletionList ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__UpdateAutoCompletionList = slot ;
}
void QsciAbstractAPIs_override_virtual_AutoCompletionSelected ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__AutoCompletionSelected = slot ;
}
void QsciAbstractAPIs_virtualbase_AutoCompletionSelected ( void * self , struct miqt_string selection ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_AutoCompletionSelected ( selection ) ;
}
void QsciAbstractAPIs_override_virtual_CallTips ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__CallTips = slot ;
}
void QsciAbstractAPIs_override_virtual_Event ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__Event = slot ;
}
bool QsciAbstractAPIs_virtualbase_Event ( void * self , QEvent * event ) {
return ( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_Event ( event ) ;
}
void QsciAbstractAPIs_override_virtual_EventFilter ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__EventFilter = slot ;
}
bool QsciAbstractAPIs_virtualbase_EventFilter ( void * self , QObject * watched , QEvent * event ) {
return ( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_EventFilter ( watched , event ) ;
}
void QsciAbstractAPIs_override_virtual_TimerEvent ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__TimerEvent = slot ;
}
void QsciAbstractAPIs_virtualbase_TimerEvent ( void * self , QTimerEvent * event ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_TimerEvent ( event ) ;
}
void QsciAbstractAPIs_override_virtual_ChildEvent ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__ChildEvent = slot ;
}
void QsciAbstractAPIs_virtualbase_ChildEvent ( void * self , QChildEvent * event ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_ChildEvent ( event ) ;
}
void QsciAbstractAPIs_override_virtual_CustomEvent ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__CustomEvent = slot ;
}
void QsciAbstractAPIs_virtualbase_CustomEvent ( void * self , QEvent * event ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_CustomEvent ( event ) ;
}
void QsciAbstractAPIs_override_virtual_ConnectNotify ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__ConnectNotify = slot ;
}
void QsciAbstractAPIs_virtualbase_ConnectNotify ( void * self , QMetaMethod * signal ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_ConnectNotify ( signal ) ;
}
void QsciAbstractAPIs_override_virtual_DisconnectNotify ( void * self , intptr_t slot ) {
dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( ( QsciAbstractAPIs * ) ( self ) ) - > handle__DisconnectNotify = slot ;
}
void QsciAbstractAPIs_virtualbase_DisconnectNotify ( void * self , QMetaMethod * signal ) {
( ( MiqtVirtualQsciAbstractAPIs * ) ( self ) ) - > virtualbase_DisconnectNotify ( signal ) ;
}
2024-11-19 06:29:06 +00:00
void QsciAbstractAPIs_Delete ( QsciAbstractAPIs * self , bool isSubclass ) {
if ( isSubclass ) {
2024-11-23 06:34:52 +00:00
delete dynamic_cast < MiqtVirtualQsciAbstractAPIs * > ( self ) ;
2024-11-19 06:29:06 +00:00
} else {
delete self ;
}
2024-10-20 04:59:23 +00:00
}