#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qscilexerbash.h" #ifdef __cplusplus extern "C" { #endif void miqt_exec_callback_QsciLexerBash_setFoldComments(QsciLexerBash*, intptr_t, bool); void miqt_exec_callback_QsciLexerBash_setFoldCompact(QsciLexerBash*, intptr_t, bool); const char* miqt_exec_callback_QsciLexerBash_language(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_lexer(const QsciLexerBash*, intptr_t); int miqt_exec_callback_QsciLexerBash_lexerId(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_autoCompletionFillups(const QsciLexerBash*, intptr_t); struct miqt_array /* of struct miqt_string */ miqt_exec_callback_QsciLexerBash_autoCompletionWordSeparators(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_blockEnd(const QsciLexerBash*, intptr_t, int*); int miqt_exec_callback_QsciLexerBash_blockLookback(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_blockStart(const QsciLexerBash*, intptr_t, int*); const char* miqt_exec_callback_QsciLexerBash_blockStartKeyword(const QsciLexerBash*, intptr_t, int*); int miqt_exec_callback_QsciLexerBash_braceStyle(const QsciLexerBash*, intptr_t); bool miqt_exec_callback_QsciLexerBash_caseSensitive(const QsciLexerBash*, intptr_t); QColor* miqt_exec_callback_QsciLexerBash_color(const QsciLexerBash*, intptr_t, int); bool miqt_exec_callback_QsciLexerBash_eolFill(const QsciLexerBash*, intptr_t, int); QFont* miqt_exec_callback_QsciLexerBash_font(const QsciLexerBash*, intptr_t, int); int miqt_exec_callback_QsciLexerBash_indentationGuideView(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_keywords(const QsciLexerBash*, intptr_t, int); int miqt_exec_callback_QsciLexerBash_defaultStyle(const QsciLexerBash*, intptr_t); struct miqt_string miqt_exec_callback_QsciLexerBash_description(const QsciLexerBash*, intptr_t, int); QColor* miqt_exec_callback_QsciLexerBash_paper(const QsciLexerBash*, intptr_t, int); QColor* miqt_exec_callback_QsciLexerBash_defaultColorWithStyle(const QsciLexerBash*, intptr_t, int); bool miqt_exec_callback_QsciLexerBash_defaultEolFill(const QsciLexerBash*, intptr_t, int); QFont* miqt_exec_callback_QsciLexerBash_defaultFontWithStyle(const QsciLexerBash*, intptr_t, int); QColor* miqt_exec_callback_QsciLexerBash_defaultPaperWithStyle(const QsciLexerBash*, intptr_t, int); void miqt_exec_callback_QsciLexerBash_setEditor(QsciLexerBash*, intptr_t, QsciScintilla*); void miqt_exec_callback_QsciLexerBash_refreshProperties(QsciLexerBash*, intptr_t); int miqt_exec_callback_QsciLexerBash_styleBitsNeeded(const QsciLexerBash*, intptr_t); const char* miqt_exec_callback_QsciLexerBash_wordCharacters(const QsciLexerBash*, intptr_t); void miqt_exec_callback_QsciLexerBash_setAutoIndentStyle(QsciLexerBash*, intptr_t, int); void miqt_exec_callback_QsciLexerBash_setColor(QsciLexerBash*, intptr_t, QColor*, int); void miqt_exec_callback_QsciLexerBash_setEolFill(QsciLexerBash*, intptr_t, bool, int); void miqt_exec_callback_QsciLexerBash_setFont(QsciLexerBash*, intptr_t, QFont*, int); void miqt_exec_callback_QsciLexerBash_setPaper(QsciLexerBash*, intptr_t, QColor*, int); bool miqt_exec_callback_QsciLexerBash_readProperties(QsciLexerBash*, intptr_t, QSettings*, struct miqt_string); bool miqt_exec_callback_QsciLexerBash_writeProperties(const QsciLexerBash*, intptr_t, QSettings*, struct miqt_string); bool miqt_exec_callback_QsciLexerBash_event(QsciLexerBash*, intptr_t, QEvent*); bool miqt_exec_callback_QsciLexerBash_eventFilter(QsciLexerBash*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QsciLexerBash_timerEvent(QsciLexerBash*, intptr_t, QTimerEvent*); void miqt_exec_callback_QsciLexerBash_childEvent(QsciLexerBash*, intptr_t, QChildEvent*); void miqt_exec_callback_QsciLexerBash_customEvent(QsciLexerBash*, intptr_t, QEvent*); void miqt_exec_callback_QsciLexerBash_connectNotify(QsciLexerBash*, intptr_t, QMetaMethod*); void miqt_exec_callback_QsciLexerBash_disconnectNotify(QsciLexerBash*, intptr_t, QMetaMethod*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQsciLexerBash final : public QsciLexerBash { public: MiqtVirtualQsciLexerBash(): QsciLexerBash() {}; MiqtVirtualQsciLexerBash(QObject* parent): QsciLexerBash(parent) {}; virtual ~MiqtVirtualQsciLexerBash() override = default; // cgo.Handle value for overwritten implementation intptr_t handle__setFoldComments = 0; // Subclass to allow providing a Go implementation virtual void setFoldComments(bool fold) override { if (handle__setFoldComments == 0) { QsciLexerBash::setFoldComments(fold); return; } bool sigval1 = fold; miqt_exec_callback_QsciLexerBash_setFoldComments(this, handle__setFoldComments, sigval1); } friend void QsciLexerBash_virtualbase_setFoldComments(void* self, bool fold); // cgo.Handle value for overwritten implementation intptr_t handle__setFoldCompact = 0; // Subclass to allow providing a Go implementation virtual void setFoldCompact(bool fold) override { if (handle__setFoldCompact == 0) { QsciLexerBash::setFoldCompact(fold); return; } bool sigval1 = fold; miqt_exec_callback_QsciLexerBash_setFoldCompact(this, handle__setFoldCompact, sigval1); } friend void QsciLexerBash_virtualbase_setFoldCompact(void* self, bool fold); // cgo.Handle value for overwritten implementation intptr_t handle__language = 0; // Subclass to allow providing a Go implementation virtual const char* language() const override { if (handle__language == 0) { return nullptr; // Pure virtual, there is no base we can call } const char* callback_return_value = miqt_exec_callback_QsciLexerBash_language(this, handle__language); return callback_return_value; } // cgo.Handle value for overwritten implementation intptr_t handle__lexer = 0; // Subclass to allow providing a Go implementation virtual const char* lexer() const override { if (handle__lexer == 0) { return QsciLexerBash::lexer(); } const char* callback_return_value = miqt_exec_callback_QsciLexerBash_lexer(this, handle__lexer); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_lexer(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__lexerId = 0; // Subclass to allow providing a Go implementation virtual int lexerId() const override { if (handle__lexerId == 0) { return QsciLexerBash::lexerId(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_lexerId(this, handle__lexerId); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_lexerId(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__autoCompletionFillups = 0; // Subclass to allow providing a Go implementation virtual const char* autoCompletionFillups() const override { if (handle__autoCompletionFillups == 0) { return QsciLexerBash::autoCompletionFillups(); } const char* callback_return_value = miqt_exec_callback_QsciLexerBash_autoCompletionFillups(this, handle__autoCompletionFillups); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_autoCompletionFillups(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__autoCompletionWordSeparators = 0; // Subclass to allow providing a Go implementation virtual QStringList autoCompletionWordSeparators() const override { if (handle__autoCompletionWordSeparators == 0) { return QsciLexerBash::autoCompletionWordSeparators(); } struct miqt_array /* of struct miqt_string */ callback_return_value = miqt_exec_callback_QsciLexerBash_autoCompletionWordSeparators(this, handle__autoCompletionWordSeparators); QStringList callback_return_value_QList; callback_return_value_QList.reserve(callback_return_value.len); struct miqt_string* callback_return_value_arr = static_cast(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; } friend struct miqt_array /* of struct miqt_string */ QsciLexerBash_virtualbase_autoCompletionWordSeparators(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__blockEnd = 0; // Subclass to allow providing a Go implementation virtual const char* blockEnd(int* style) const override { if (handle__blockEnd == 0) { return QsciLexerBash::blockEnd(style); } int* sigval1 = style; const char* callback_return_value = miqt_exec_callback_QsciLexerBash_blockEnd(this, handle__blockEnd, sigval1); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_blockEnd(const void* self, int* style); // cgo.Handle value for overwritten implementation intptr_t handle__blockLookback = 0; // Subclass to allow providing a Go implementation virtual int blockLookback() const override { if (handle__blockLookback == 0) { return QsciLexerBash::blockLookback(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_blockLookback(this, handle__blockLookback); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_blockLookback(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__blockStart = 0; // Subclass to allow providing a Go implementation virtual const char* blockStart(int* style) const override { if (handle__blockStart == 0) { return QsciLexerBash::blockStart(style); } int* sigval1 = style; const char* callback_return_value = miqt_exec_callback_QsciLexerBash_blockStart(this, handle__blockStart, sigval1); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_blockStart(const void* self, int* style); // cgo.Handle value for overwritten implementation intptr_t handle__blockStartKeyword = 0; // Subclass to allow providing a Go implementation virtual const char* blockStartKeyword(int* style) const override { if (handle__blockStartKeyword == 0) { return QsciLexerBash::blockStartKeyword(style); } int* sigval1 = style; const char* callback_return_value = miqt_exec_callback_QsciLexerBash_blockStartKeyword(this, handle__blockStartKeyword, sigval1); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_blockStartKeyword(const void* self, int* style); // cgo.Handle value for overwritten implementation intptr_t handle__braceStyle = 0; // Subclass to allow providing a Go implementation virtual int braceStyle() const override { if (handle__braceStyle == 0) { return QsciLexerBash::braceStyle(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_braceStyle(this, handle__braceStyle); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_braceStyle(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__caseSensitive = 0; // Subclass to allow providing a Go implementation virtual bool caseSensitive() const override { if (handle__caseSensitive == 0) { return QsciLexerBash::caseSensitive(); } bool callback_return_value = miqt_exec_callback_QsciLexerBash_caseSensitive(this, handle__caseSensitive); return callback_return_value; } friend bool QsciLexerBash_virtualbase_caseSensitive(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__color = 0; // Subclass to allow providing a Go implementation virtual QColor color(int style) const override { if (handle__color == 0) { return QsciLexerBash::color(style); } int sigval1 = style; QColor* callback_return_value = miqt_exec_callback_QsciLexerBash_color(this, handle__color, sigval1); return *callback_return_value; } friend QColor* QsciLexerBash_virtualbase_color(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__eolFill = 0; // Subclass to allow providing a Go implementation virtual bool eolFill(int style) const override { if (handle__eolFill == 0) { return QsciLexerBash::eolFill(style); } int sigval1 = style; bool callback_return_value = miqt_exec_callback_QsciLexerBash_eolFill(this, handle__eolFill, sigval1); return callback_return_value; } friend bool QsciLexerBash_virtualbase_eolFill(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__font = 0; // Subclass to allow providing a Go implementation virtual QFont font(int style) const override { if (handle__font == 0) { return QsciLexerBash::font(style); } int sigval1 = style; QFont* callback_return_value = miqt_exec_callback_QsciLexerBash_font(this, handle__font, sigval1); return *callback_return_value; } friend QFont* QsciLexerBash_virtualbase_font(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__indentationGuideView = 0; // Subclass to allow providing a Go implementation virtual int indentationGuideView() const override { if (handle__indentationGuideView == 0) { return QsciLexerBash::indentationGuideView(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_indentationGuideView(this, handle__indentationGuideView); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_indentationGuideView(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__keywords = 0; // Subclass to allow providing a Go implementation virtual const char* keywords(int set) const override { if (handle__keywords == 0) { return QsciLexerBash::keywords(set); } int sigval1 = set; const char* callback_return_value = miqt_exec_callback_QsciLexerBash_keywords(this, handle__keywords, sigval1); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_keywords(const void* self, int set); // cgo.Handle value for overwritten implementation intptr_t handle__defaultStyle = 0; // Subclass to allow providing a Go implementation virtual int defaultStyle() const override { if (handle__defaultStyle == 0) { return QsciLexerBash::defaultStyle(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_defaultStyle(this, handle__defaultStyle); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_defaultStyle(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__description = 0; // Subclass to allow providing a Go implementation virtual QString description(int style) const override { if (handle__description == 0) { return QString(); // Pure virtual, there is no base we can call } int sigval1 = style; struct miqt_string callback_return_value = miqt_exec_callback_QsciLexerBash_description(this, handle__description, sigval1); QString callback_return_value_QString = QString::fromUtf8(callback_return_value.data, callback_return_value.len); return callback_return_value_QString; } // cgo.Handle value for overwritten implementation intptr_t handle__paper = 0; // Subclass to allow providing a Go implementation virtual QColor paper(int style) const override { if (handle__paper == 0) { return QsciLexerBash::paper(style); } int sigval1 = style; QColor* callback_return_value = miqt_exec_callback_QsciLexerBash_paper(this, handle__paper, sigval1); return *callback_return_value; } friend QColor* QsciLexerBash_virtualbase_paper(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__defaultColorWithStyle = 0; // Subclass to allow providing a Go implementation virtual QColor defaultColor(int style) const override { if (handle__defaultColorWithStyle == 0) { return QsciLexerBash::defaultColor(style); } int sigval1 = style; QColor* callback_return_value = miqt_exec_callback_QsciLexerBash_defaultColorWithStyle(this, handle__defaultColorWithStyle, sigval1); return *callback_return_value; } friend QColor* QsciLexerBash_virtualbase_defaultColorWithStyle(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__defaultEolFill = 0; // Subclass to allow providing a Go implementation virtual bool defaultEolFill(int style) const override { if (handle__defaultEolFill == 0) { return QsciLexerBash::defaultEolFill(style); } int sigval1 = style; bool callback_return_value = miqt_exec_callback_QsciLexerBash_defaultEolFill(this, handle__defaultEolFill, sigval1); return callback_return_value; } friend bool QsciLexerBash_virtualbase_defaultEolFill(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__defaultFontWithStyle = 0; // Subclass to allow providing a Go implementation virtual QFont defaultFont(int style) const override { if (handle__defaultFontWithStyle == 0) { return QsciLexerBash::defaultFont(style); } int sigval1 = style; QFont* callback_return_value = miqt_exec_callback_QsciLexerBash_defaultFontWithStyle(this, handle__defaultFontWithStyle, sigval1); return *callback_return_value; } friend QFont* QsciLexerBash_virtualbase_defaultFontWithStyle(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__defaultPaperWithStyle = 0; // Subclass to allow providing a Go implementation virtual QColor defaultPaper(int style) const override { if (handle__defaultPaperWithStyle == 0) { return QsciLexerBash::defaultPaper(style); } int sigval1 = style; QColor* callback_return_value = miqt_exec_callback_QsciLexerBash_defaultPaperWithStyle(this, handle__defaultPaperWithStyle, sigval1); return *callback_return_value; } friend QColor* QsciLexerBash_virtualbase_defaultPaperWithStyle(const void* self, int style); // cgo.Handle value for overwritten implementation intptr_t handle__setEditor = 0; // Subclass to allow providing a Go implementation virtual void setEditor(QsciScintilla* editor) override { if (handle__setEditor == 0) { QsciLexerBash::setEditor(editor); return; } QsciScintilla* sigval1 = editor; miqt_exec_callback_QsciLexerBash_setEditor(this, handle__setEditor, sigval1); } friend void QsciLexerBash_virtualbase_setEditor(void* self, QsciScintilla* editor); // cgo.Handle value for overwritten implementation intptr_t handle__refreshProperties = 0; // Subclass to allow providing a Go implementation virtual void refreshProperties() override { if (handle__refreshProperties == 0) { QsciLexerBash::refreshProperties(); return; } miqt_exec_callback_QsciLexerBash_refreshProperties(this, handle__refreshProperties); } friend void QsciLexerBash_virtualbase_refreshProperties(void* self); // cgo.Handle value for overwritten implementation intptr_t handle__styleBitsNeeded = 0; // Subclass to allow providing a Go implementation virtual int styleBitsNeeded() const override { if (handle__styleBitsNeeded == 0) { return QsciLexerBash::styleBitsNeeded(); } int callback_return_value = miqt_exec_callback_QsciLexerBash_styleBitsNeeded(this, handle__styleBitsNeeded); return static_cast(callback_return_value); } friend int QsciLexerBash_virtualbase_styleBitsNeeded(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__wordCharacters = 0; // Subclass to allow providing a Go implementation virtual const char* wordCharacters() const override { if (handle__wordCharacters == 0) { return QsciLexerBash::wordCharacters(); } const char* callback_return_value = miqt_exec_callback_QsciLexerBash_wordCharacters(this, handle__wordCharacters); return callback_return_value; } friend const char* QsciLexerBash_virtualbase_wordCharacters(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__setAutoIndentStyle = 0; // Subclass to allow providing a Go implementation virtual void setAutoIndentStyle(int autoindentstyle) override { if (handle__setAutoIndentStyle == 0) { QsciLexerBash::setAutoIndentStyle(autoindentstyle); return; } int sigval1 = autoindentstyle; miqt_exec_callback_QsciLexerBash_setAutoIndentStyle(this, handle__setAutoIndentStyle, sigval1); } friend void QsciLexerBash_virtualbase_setAutoIndentStyle(void* self, int autoindentstyle); // cgo.Handle value for overwritten implementation intptr_t handle__setColor = 0; // Subclass to allow providing a Go implementation virtual void setColor(const QColor& c, int style) override { if (handle__setColor == 0) { QsciLexerBash::setColor(c, style); return; } const QColor& c_ret = c; // Cast returned reference into pointer QColor* sigval1 = const_cast(&c_ret); int sigval2 = style; miqt_exec_callback_QsciLexerBash_setColor(this, handle__setColor, sigval1, sigval2); } friend void QsciLexerBash_virtualbase_setColor(void* self, QColor* c, int style); // cgo.Handle value for overwritten implementation intptr_t handle__setEolFill = 0; // Subclass to allow providing a Go implementation virtual void setEolFill(bool eoffill, int style) override { if (handle__setEolFill == 0) { QsciLexerBash::setEolFill(eoffill, style); return; } bool sigval1 = eoffill; int sigval2 = style; miqt_exec_callback_QsciLexerBash_setEolFill(this, handle__setEolFill, sigval1, sigval2); } friend void QsciLexerBash_virtualbase_setEolFill(void* self, bool eoffill, int style); // cgo.Handle value for overwritten implementation intptr_t handle__setFont = 0; // Subclass to allow providing a Go implementation virtual void setFont(const QFont& f, int style) override { if (handle__setFont == 0) { QsciLexerBash::setFont(f, style); return; } const QFont& f_ret = f; // Cast returned reference into pointer QFont* sigval1 = const_cast(&f_ret); int sigval2 = style; miqt_exec_callback_QsciLexerBash_setFont(this, handle__setFont, sigval1, sigval2); } friend void QsciLexerBash_virtualbase_setFont(void* self, QFont* f, int style); // cgo.Handle value for overwritten implementation intptr_t handle__setPaper = 0; // Subclass to allow providing a Go implementation virtual void setPaper(const QColor& c, int style) override { if (handle__setPaper == 0) { QsciLexerBash::setPaper(c, style); return; } const QColor& c_ret = c; // Cast returned reference into pointer QColor* sigval1 = const_cast(&c_ret); int sigval2 = style; miqt_exec_callback_QsciLexerBash_setPaper(this, handle__setPaper, sigval1, sigval2); } friend void QsciLexerBash_virtualbase_setPaper(void* self, QColor* c, int style); // cgo.Handle value for overwritten implementation intptr_t handle__readProperties = 0; // Subclass to allow providing a Go implementation virtual bool readProperties(QSettings& qs, const QString& prefix) override { if (handle__readProperties == 0) { return QsciLexerBash::readProperties(qs, prefix); } QSettings& qs_ret = qs; // Cast returned reference into pointer QSettings* sigval1 = &qs_ret; const QString prefix_ret = prefix; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray prefix_b = prefix_ret.toUtf8(); struct miqt_string prefix_ms; prefix_ms.len = prefix_b.length(); prefix_ms.data = static_cast(malloc(prefix_ms.len)); memcpy(prefix_ms.data, prefix_b.data(), prefix_ms.len); struct miqt_string sigval2 = prefix_ms; bool callback_return_value = miqt_exec_callback_QsciLexerBash_readProperties(this, handle__readProperties, sigval1, sigval2); return callback_return_value; } friend bool QsciLexerBash_virtualbase_readProperties(void* self, QSettings* qs, struct miqt_string prefix); // cgo.Handle value for overwritten implementation intptr_t handle__writeProperties = 0; // Subclass to allow providing a Go implementation virtual bool writeProperties(QSettings& qs, const QString& prefix) const override { if (handle__writeProperties == 0) { return QsciLexerBash::writeProperties(qs, prefix); } QSettings& qs_ret = qs; // Cast returned reference into pointer QSettings* sigval1 = &qs_ret; const QString prefix_ret = prefix; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray prefix_b = prefix_ret.toUtf8(); struct miqt_string prefix_ms; prefix_ms.len = prefix_b.length(); prefix_ms.data = static_cast(malloc(prefix_ms.len)); memcpy(prefix_ms.data, prefix_b.data(), prefix_ms.len); struct miqt_string sigval2 = prefix_ms; bool callback_return_value = miqt_exec_callback_QsciLexerBash_writeProperties(this, handle__writeProperties, sigval1, sigval2); return callback_return_value; } friend bool QsciLexerBash_virtualbase_writeProperties(const void* self, QSettings* qs, struct miqt_string prefix); // 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 QsciLexerBash::event(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QsciLexerBash_event(this, handle__event, sigval1); return callback_return_value; } friend bool QsciLexerBash_virtualbase_event(void* self, QEvent* 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 QsciLexerBash::eventFilter(watched, event); } QObject* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QsciLexerBash_eventFilter(this, handle__eventFilter, sigval1, sigval2); return callback_return_value; } friend bool QsciLexerBash_virtualbase_eventFilter(void* self, QObject* watched, QEvent* 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) { QsciLexerBash::timerEvent(event); return; } QTimerEvent* sigval1 = event; miqt_exec_callback_QsciLexerBash_timerEvent(this, handle__timerEvent, sigval1); } friend void QsciLexerBash_virtualbase_timerEvent(void* self, QTimerEvent* 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) { QsciLexerBash::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QsciLexerBash_childEvent(this, handle__childEvent, sigval1); } friend void QsciLexerBash_virtualbase_childEvent(void* self, QChildEvent* 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) { QsciLexerBash::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QsciLexerBash_customEvent(this, handle__customEvent, sigval1); } friend void QsciLexerBash_virtualbase_customEvent(void* self, QEvent* 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) { QsciLexerBash::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QsciLexerBash_connectNotify(this, handle__connectNotify, sigval1); } friend void QsciLexerBash_virtualbase_connectNotify(void* self, QMetaMethod* 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) { QsciLexerBash::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QsciLexerBash_disconnectNotify(this, handle__disconnectNotify, sigval1); } friend void QsciLexerBash_virtualbase_disconnectNotify(void* self, QMetaMethod* signal); // Wrappers to allow calling protected methods: friend bool QsciLexerBash_protectedbase_readProperties(bool* _dynamic_cast_ok, void* self, QSettings* qs, struct miqt_string prefix); friend bool QsciLexerBash_protectedbase_writeProperties(bool* _dynamic_cast_ok, const void* self, QSettings* qs, struct miqt_string prefix); friend QObject* QsciLexerBash_protectedbase_sender(bool* _dynamic_cast_ok, const void* self); friend int QsciLexerBash_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self); friend int QsciLexerBash_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal); friend bool QsciLexerBash_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal); }; QsciLexerBash* QsciLexerBash_new() { return new MiqtVirtualQsciLexerBash(); } QsciLexerBash* QsciLexerBash_new2(QObject* parent) { return new MiqtVirtualQsciLexerBash(parent); } void QsciLexerBash_virtbase(QsciLexerBash* src, QsciLexer** outptr_QsciLexer) { *outptr_QsciLexer = static_cast(src); } QMetaObject* QsciLexerBash_metaObject(const QsciLexerBash* self) { return (QMetaObject*) self->metaObject(); } void* QsciLexerBash_metacast(QsciLexerBash* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QsciLexerBash_tr(const char* s) { QString _ret = QsciLexerBash::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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QsciLexerBash_trUtf8(const char* s) { QString _ret = QsciLexerBash::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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } const char* QsciLexerBash_language(const QsciLexerBash* self) { return (const char*) self->language(); } const char* QsciLexerBash_lexer(const QsciLexerBash* self) { return (const char*) self->lexer(); } int QsciLexerBash_braceStyle(const QsciLexerBash* self) { return self->braceStyle(); } const char* QsciLexerBash_wordCharacters(const QsciLexerBash* self) { return (const char*) self->wordCharacters(); } QColor* QsciLexerBash_defaultColor(const QsciLexerBash* self, int style) { return new QColor(self->defaultColor(static_cast(style))); } bool QsciLexerBash_defaultEolFill(const QsciLexerBash* self, int style) { return self->defaultEolFill(static_cast(style)); } QFont* QsciLexerBash_defaultFont(const QsciLexerBash* self, int style) { return new QFont(self->defaultFont(static_cast(style))); } QColor* QsciLexerBash_defaultPaper(const QsciLexerBash* self, int style) { return new QColor(self->defaultPaper(static_cast(style))); } const char* QsciLexerBash_keywords(const QsciLexerBash* self, int set) { return (const char*) self->keywords(static_cast(set)); } struct miqt_string QsciLexerBash_description(const QsciLexerBash* self, int style) { QString _ret = self->description(static_cast(style)); // 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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } void QsciLexerBash_refreshProperties(QsciLexerBash* self) { self->refreshProperties(); } bool QsciLexerBash_foldComments(const QsciLexerBash* self) { return self->foldComments(); } bool QsciLexerBash_foldCompact(const QsciLexerBash* self) { return self->foldCompact(); } void QsciLexerBash_setFoldComments(QsciLexerBash* self, bool fold) { self->setFoldComments(fold); } void QsciLexerBash_setFoldCompact(QsciLexerBash* self, bool fold) { self->setFoldCompact(fold); } struct miqt_string QsciLexerBash_tr2(const char* s, const char* c) { QString _ret = QsciLexerBash::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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QsciLexerBash_tr3(const char* s, const char* c, int n) { QString _ret = QsciLexerBash::tr(s, c, static_cast(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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QsciLexerBash_trUtf82(const char* s, const char* c) { QString _ret = QsciLexerBash::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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QsciLexerBash_trUtf83(const char* s, const char* c, int n) { QString _ret = QsciLexerBash::trUtf8(s, c, static_cast(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(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } bool QsciLexerBash_override_virtual_setFoldComments(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setFoldComments = slot; return true; } void QsciLexerBash_virtualbase_setFoldComments(void* self, bool fold) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setFoldComments(fold); } bool QsciLexerBash_override_virtual_setFoldCompact(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setFoldCompact = slot; return true; } void QsciLexerBash_virtualbase_setFoldCompact(void* self, bool fold) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setFoldCompact(fold); } bool QsciLexerBash_override_virtual_language(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__language = slot; return true; } bool QsciLexerBash_override_virtual_lexer(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__lexer = slot; return true; } const char* QsciLexerBash_virtualbase_lexer(const void* self) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::lexer(); } bool QsciLexerBash_override_virtual_lexerId(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__lexerId = slot; return true; } int QsciLexerBash_virtualbase_lexerId(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::lexerId(); } bool QsciLexerBash_override_virtual_autoCompletionFillups(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__autoCompletionFillups = slot; return true; } const char* QsciLexerBash_virtualbase_autoCompletionFillups(const void* self) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::autoCompletionFillups(); } bool QsciLexerBash_override_virtual_autoCompletionWordSeparators(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__autoCompletionWordSeparators = slot; return true; } struct miqt_array /* of struct miqt_string */ QsciLexerBash_virtualbase_autoCompletionWordSeparators(const void* self) { QStringList _ret = ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::autoCompletionWordSeparators(); // Convert QList<> from C++ memory to manually-managed C memory struct miqt_string* _arr = static_cast(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(malloc(_lv_ms.len)); memcpy(_lv_ms.data, _lv_b.data(), _lv_ms.len); _arr[i] = _lv_ms; } struct miqt_array _out; _out.len = _ret.length(); _out.data = static_cast(_arr); return _out; } bool QsciLexerBash_override_virtual_blockEnd(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__blockEnd = slot; return true; } const char* QsciLexerBash_virtualbase_blockEnd(const void* self, int* style) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::blockEnd(static_cast(style)); } bool QsciLexerBash_override_virtual_blockLookback(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__blockLookback = slot; return true; } int QsciLexerBash_virtualbase_blockLookback(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::blockLookback(); } bool QsciLexerBash_override_virtual_blockStart(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__blockStart = slot; return true; } const char* QsciLexerBash_virtualbase_blockStart(const void* self, int* style) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::blockStart(static_cast(style)); } bool QsciLexerBash_override_virtual_blockStartKeyword(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__blockStartKeyword = slot; return true; } const char* QsciLexerBash_virtualbase_blockStartKeyword(const void* self, int* style) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::blockStartKeyword(static_cast(style)); } bool QsciLexerBash_override_virtual_braceStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__braceStyle = slot; return true; } int QsciLexerBash_virtualbase_braceStyle(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::braceStyle(); } bool QsciLexerBash_override_virtual_caseSensitive(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__caseSensitive = slot; return true; } bool QsciLexerBash_virtualbase_caseSensitive(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::caseSensitive(); } bool QsciLexerBash_override_virtual_color(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__color = slot; return true; } QColor* QsciLexerBash_virtualbase_color(const void* self, int style) { return new QColor(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::color(static_cast(style))); } bool QsciLexerBash_override_virtual_eolFill(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eolFill = slot; return true; } bool QsciLexerBash_virtualbase_eolFill(const void* self, int style) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::eolFill(static_cast(style)); } bool QsciLexerBash_override_virtual_font(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__font = slot; return true; } QFont* QsciLexerBash_virtualbase_font(const void* self, int style) { return new QFont(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::font(static_cast(style))); } bool QsciLexerBash_override_virtual_indentationGuideView(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__indentationGuideView = slot; return true; } int QsciLexerBash_virtualbase_indentationGuideView(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::indentationGuideView(); } bool QsciLexerBash_override_virtual_keywords(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keywords = slot; return true; } const char* QsciLexerBash_virtualbase_keywords(const void* self, int set) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::keywords(static_cast(set)); } bool QsciLexerBash_override_virtual_defaultStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__defaultStyle = slot; return true; } int QsciLexerBash_virtualbase_defaultStyle(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::defaultStyle(); } bool QsciLexerBash_override_virtual_description(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__description = slot; return true; } bool QsciLexerBash_override_virtual_paper(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paper = slot; return true; } QColor* QsciLexerBash_virtualbase_paper(const void* self, int style) { return new QColor(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::paper(static_cast(style))); } bool QsciLexerBash_override_virtual_defaultColorWithStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__defaultColorWithStyle = slot; return true; } QColor* QsciLexerBash_virtualbase_defaultColorWithStyle(const void* self, int style) { return new QColor(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::defaultColor(static_cast(style))); } bool QsciLexerBash_override_virtual_defaultEolFill(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__defaultEolFill = slot; return true; } bool QsciLexerBash_virtualbase_defaultEolFill(const void* self, int style) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::defaultEolFill(static_cast(style)); } bool QsciLexerBash_override_virtual_defaultFontWithStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__defaultFontWithStyle = slot; return true; } QFont* QsciLexerBash_virtualbase_defaultFontWithStyle(const void* self, int style) { return new QFont(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::defaultFont(static_cast(style))); } bool QsciLexerBash_override_virtual_defaultPaperWithStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__defaultPaperWithStyle = slot; return true; } QColor* QsciLexerBash_virtualbase_defaultPaperWithStyle(const void* self, int style) { return new QColor(( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::defaultPaper(static_cast(style))); } bool QsciLexerBash_override_virtual_setEditor(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setEditor = slot; return true; } void QsciLexerBash_virtualbase_setEditor(void* self, QsciScintilla* editor) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setEditor(editor); } bool QsciLexerBash_override_virtual_refreshProperties(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__refreshProperties = slot; return true; } void QsciLexerBash_virtualbase_refreshProperties(void* self) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::refreshProperties(); } bool QsciLexerBash_override_virtual_styleBitsNeeded(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__styleBitsNeeded = slot; return true; } int QsciLexerBash_virtualbase_styleBitsNeeded(const void* self) { return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::styleBitsNeeded(); } bool QsciLexerBash_override_virtual_wordCharacters(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__wordCharacters = slot; return true; } const char* QsciLexerBash_virtualbase_wordCharacters(const void* self) { return (const char*) ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::wordCharacters(); } bool QsciLexerBash_override_virtual_setAutoIndentStyle(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setAutoIndentStyle = slot; return true; } void QsciLexerBash_virtualbase_setAutoIndentStyle(void* self, int autoindentstyle) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setAutoIndentStyle(static_cast(autoindentstyle)); } bool QsciLexerBash_override_virtual_setColor(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setColor = slot; return true; } void QsciLexerBash_virtualbase_setColor(void* self, QColor* c, int style) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setColor(*c, static_cast(style)); } bool QsciLexerBash_override_virtual_setEolFill(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setEolFill = slot; return true; } void QsciLexerBash_virtualbase_setEolFill(void* self, bool eoffill, int style) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setEolFill(eoffill, static_cast(style)); } bool QsciLexerBash_override_virtual_setFont(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setFont = slot; return true; } void QsciLexerBash_virtualbase_setFont(void* self, QFont* f, int style) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setFont(*f, static_cast(style)); } bool QsciLexerBash_override_virtual_setPaper(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setPaper = slot; return true; } void QsciLexerBash_virtualbase_setPaper(void* self, QColor* c, int style) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::setPaper(*c, static_cast(style)); } bool QsciLexerBash_override_virtual_readProperties(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__readProperties = slot; return true; } bool QsciLexerBash_virtualbase_readProperties(void* self, QSettings* qs, struct miqt_string prefix) { QString prefix_QString = QString::fromUtf8(prefix.data, prefix.len); return ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::readProperties(*qs, prefix_QString); } bool QsciLexerBash_override_virtual_writeProperties(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__writeProperties = slot; return true; } bool QsciLexerBash_virtualbase_writeProperties(const void* self, QSettings* qs, struct miqt_string prefix) { QString prefix_QString = QString::fromUtf8(prefix.data, prefix.len); return ( (const MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::writeProperties(*qs, prefix_QString); } bool QsciLexerBash_override_virtual_event(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__event = slot; return true; } bool QsciLexerBash_virtualbase_event(void* self, QEvent* event) { return ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::event(event); } bool QsciLexerBash_override_virtual_eventFilter(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eventFilter = slot; return true; } bool QsciLexerBash_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) { return ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::eventFilter(watched, event); } bool QsciLexerBash_override_virtual_timerEvent(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__timerEvent = slot; return true; } void QsciLexerBash_virtualbase_timerEvent(void* self, QTimerEvent* event) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::timerEvent(event); } bool QsciLexerBash_override_virtual_childEvent(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__childEvent = slot; return true; } void QsciLexerBash_virtualbase_childEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::childEvent(event); } bool QsciLexerBash_override_virtual_customEvent(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__customEvent = slot; return true; } void QsciLexerBash_virtualbase_customEvent(void* self, QEvent* event) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::customEvent(event); } bool QsciLexerBash_override_virtual_connectNotify(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__connectNotify = slot; return true; } void QsciLexerBash_virtualbase_connectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::connectNotify(*signal); } bool QsciLexerBash_override_virtual_disconnectNotify(void* self, intptr_t slot) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__disconnectNotify = slot; return true; } void QsciLexerBash_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQsciLexerBash*)(self) )->MiqtVirtualQsciLexerBash::disconnectNotify(*signal); } bool QsciLexerBash_protectedbase_readProperties(bool* _dynamic_cast_ok, void* self, QSettings* qs, struct miqt_string prefix) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; QString prefix_QString = QString::fromUtf8(prefix.data, prefix.len); return self_cast->readProperties(*qs, prefix_QString); } bool QsciLexerBash_protectedbase_writeProperties(bool* _dynamic_cast_ok, const void* self, QSettings* qs, struct miqt_string prefix) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; QString prefix_QString = QString::fromUtf8(prefix.data, prefix.len); return self_cast->writeProperties(*qs, prefix_QString); } QObject* QsciLexerBash_protectedbase_sender(bool* _dynamic_cast_ok, const void* self) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return nullptr; } *_dynamic_cast_ok = true; return self_cast->sender(); } int QsciLexerBash_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return 0; } *_dynamic_cast_ok = true; return self_cast->senderSignalIndex(); } int QsciLexerBash_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return 0; } *_dynamic_cast_ok = true; return self_cast->receivers(signal); } bool QsciLexerBash_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal) { MiqtVirtualQsciLexerBash* self_cast = dynamic_cast( (QsciLexerBash*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; return self_cast->isSignalConnected(*signal); } void QsciLexerBash_delete(QsciLexerBash* self) { delete self; }