/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.3
 *
 * Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6-WebEngine.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtWebEngineCore.h"

#line 71 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginehistory.sip"
#include <qwebenginehistory.h>
#line 29 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"

#line 47 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginehistory.sip"
#include <qwebenginehistory.h>
#line 33 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/sip/QtWebEngineCore/qwebenginehistory.sip"
#include <qwebenginehistory.h>
#line 36 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 39 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 47 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 59 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 62 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 65 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 71 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 74 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 79 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 82 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 85 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 88 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 91 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 94 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"


PyDoc_STRVAR(doc_QWebEngineHistory_clear, "clear(self)");

extern "C" {static PyObject *meth_QWebEngineHistory_clear(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_clear, doc_QWebEngineHistory_clear);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_items, "items(self) -> list[QWebEngineHistoryItem]");

extern "C" {static PyObject *meth_QWebEngineHistory_items(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_items(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            QList< ::QWebEngineHistoryItem>*sipRes;

            sipRes = new QList< ::QWebEngineHistoryItem>(sipCpp->items());

            return sipConvertFromNewType(sipRes, sipType_QList_0100QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_items, doc_QWebEngineHistory_items);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_backItems, "backItems(self, maxItems: int) -> list[QWebEngineHistoryItem]");

extern "C" {static PyObject *meth_QWebEngineHistory_backItems(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_backItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebEngineHistory, &sipCpp, &a0))
        {
            QList< ::QWebEngineHistoryItem>*sipRes;

            sipRes = new QList< ::QWebEngineHistoryItem>(sipCpp->backItems(a0));

            return sipConvertFromNewType(sipRes, sipType_QList_0100QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_backItems, doc_QWebEngineHistory_backItems);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_forwardItems, "forwardItems(self, maxItems: int) -> list[QWebEngineHistoryItem]");

extern "C" {static PyObject *meth_QWebEngineHistory_forwardItems(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_forwardItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebEngineHistory, &sipCpp, &a0))
        {
            QList< ::QWebEngineHistoryItem>*sipRes;

            sipRes = new QList< ::QWebEngineHistoryItem>(sipCpp->forwardItems(a0));

            return sipConvertFromNewType(sipRes, sipType_QList_0100QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_forwardItems, doc_QWebEngineHistory_forwardItems);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_canGoBack, "canGoBack(self) -> bool");

extern "C" {static PyObject *meth_QWebEngineHistory_canGoBack(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_canGoBack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canGoBack();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_canGoBack, doc_QWebEngineHistory_canGoBack);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_canGoForward, "canGoForward(self) -> bool");

extern "C" {static PyObject *meth_QWebEngineHistory_canGoForward(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_canGoForward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canGoForward();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_canGoForward, doc_QWebEngineHistory_canGoForward);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_back, "back(self)");

extern "C" {static PyObject *meth_QWebEngineHistory_back(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            sipCpp->back();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_back, doc_QWebEngineHistory_back);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_forward, "forward(self)");

extern "C" {static PyObject *meth_QWebEngineHistory_forward(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_forward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            sipCpp->forward();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_forward, doc_QWebEngineHistory_forward);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_goToItem, "goToItem(self, item: QWebEngineHistoryItem)");

extern "C" {static PyObject *meth_QWebEngineHistory_goToItem(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_goToItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistoryItem* a0;
        ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebEngineHistory, &sipCpp, sipType_QWebEngineHistoryItem, &a0))
        {
            sipCpp->goToItem(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_goToItem, doc_QWebEngineHistory_goToItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_backItem, "backItem(self) -> QWebEngineHistoryItem");

extern "C" {static PyObject *meth_QWebEngineHistory_backItem(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_backItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryItem*sipRes;

            sipRes = new ::QWebEngineHistoryItem(sipCpp->backItem());

            return sipConvertFromNewType(sipRes, sipType_QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_backItem, doc_QWebEngineHistory_backItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_currentItem, "currentItem(self) -> QWebEngineHistoryItem");

extern "C" {static PyObject *meth_QWebEngineHistory_currentItem(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryItem*sipRes;

            sipRes = new ::QWebEngineHistoryItem(sipCpp->currentItem());

            return sipConvertFromNewType(sipRes, sipType_QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_currentItem, doc_QWebEngineHistory_currentItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_forwardItem, "forwardItem(self) -> QWebEngineHistoryItem");

extern "C" {static PyObject *meth_QWebEngineHistory_forwardItem(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_forwardItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryItem*sipRes;

            sipRes = new ::QWebEngineHistoryItem(sipCpp->forwardItem());

            return sipConvertFromNewType(sipRes, sipType_QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_forwardItem, doc_QWebEngineHistory_forwardItem);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_itemAt, "itemAt(self, i: int) -> QWebEngineHistoryItem");

extern "C" {static PyObject *meth_QWebEngineHistory_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        int a0;
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebEngineHistory, &sipCpp, &a0))
        {
            ::QWebEngineHistoryItem*sipRes;

            sipRes = new ::QWebEngineHistoryItem(sipCpp->itemAt(a0));

            return sipConvertFromNewType(sipRes, sipType_QWebEngineHistoryItem, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_itemAt, doc_QWebEngineHistory_itemAt);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_currentItemIndex, "currentItemIndex(self) -> int");

extern "C" {static PyObject *meth_QWebEngineHistory_currentItemIndex(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_currentItemIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentItemIndex();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_currentItemIndex, doc_QWebEngineHistory_currentItemIndex);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_count, "count(self) -> int");

extern "C" {static PyObject *meth_QWebEngineHistory_count(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_count, doc_QWebEngineHistory_count);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_itemsModel, "itemsModel(self) -> QWebEngineHistoryModel|None");

extern "C" {static PyObject *meth_QWebEngineHistory_itemsModel(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_itemsModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryModel*sipRes;

            sipRes = sipCpp->itemsModel();

            return sipConvertFromType(sipRes, sipType_QWebEngineHistoryModel, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_itemsModel, doc_QWebEngineHistory_itemsModel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_backItemsModel, "backItemsModel(self) -> QWebEngineHistoryModel|None");

extern "C" {static PyObject *meth_QWebEngineHistory_backItemsModel(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_backItemsModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryModel*sipRes;

            sipRes = sipCpp->backItemsModel();

            return sipConvertFromType(sipRes, sipType_QWebEngineHistoryModel, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_backItemsModel, doc_QWebEngineHistory_backItemsModel);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QWebEngineHistory_forwardItemsModel, "forwardItemsModel(self) -> QWebEngineHistoryModel|None");

extern "C" {static PyObject *meth_QWebEngineHistory_forwardItemsModel(PyObject *, PyObject *);}
static PyObject *meth_QWebEngineHistory_forwardItemsModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QWebEngineHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebEngineHistory, &sipCpp))
        {
            ::QWebEngineHistoryModel*sipRes;

            sipRes = sipCpp->forwardItemsModel();

            return sipConvertFromType(sipRes, sipType_QWebEngineHistoryModel, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QWebEngineHistory, sipName_forwardItemsModel, doc_QWebEngineHistory_forwardItemsModel);

    return SIP_NULLPTR;
}


extern "C" {static Py_ssize_t slot_QWebEngineHistory___len__(PyObject *);}
static Py_ssize_t slot_QWebEngineHistory___len__(PyObject *sipSelf)
{
    ::QWebEngineHistory *sipCpp = reinterpret_cast< ::QWebEngineHistory *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf, sipType_QWebEngineHistory));

    if (!sipCpp)
        return 0;


    {
        {
            Py_ssize_t sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (Py_ssize_t)sipCpp->count();
#line 580 "/build/pyqt6-webengine/src/pyqt6_webengine-6.11.0/build/QtWebEngineCore/sipQtWebEngineCoreQWebEngineHistory.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QWebEngineHistory(void *, const sipTypeDef *);}
static void *cast_QWebEngineHistory(void *sipCppV, const sipTypeDef *targetType)
{
    ::QWebEngineHistory *sipCpp = reinterpret_cast< ::QWebEngineHistory *>(sipCppV);

    if (targetType == sipType_QWebEngineHistory)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebEngineHistory(void *, int);}
static void release_QWebEngineHistory(void *, int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWebEngineHistory[] = {{22, 0, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebEngineHistory[] = {
    {(void *)slot_QWebEngineHistory___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QWebEngineHistory[] = {
    {sipName_back, meth_QWebEngineHistory_back, METH_VARARGS, doc_QWebEngineHistory_back},
    {sipName_backItem, meth_QWebEngineHistory_backItem, METH_VARARGS, doc_QWebEngineHistory_backItem},
    {sipName_backItems, meth_QWebEngineHistory_backItems, METH_VARARGS, doc_QWebEngineHistory_backItems},
    {sipName_backItemsModel, meth_QWebEngineHistory_backItemsModel, METH_VARARGS, doc_QWebEngineHistory_backItemsModel},
    {sipName_canGoBack, meth_QWebEngineHistory_canGoBack, METH_VARARGS, doc_QWebEngineHistory_canGoBack},
    {sipName_canGoForward, meth_QWebEngineHistory_canGoForward, METH_VARARGS, doc_QWebEngineHistory_canGoForward},
    {sipName_clear, meth_QWebEngineHistory_clear, METH_VARARGS, doc_QWebEngineHistory_clear},
    {sipName_count, meth_QWebEngineHistory_count, METH_VARARGS, doc_QWebEngineHistory_count},
    {sipName_currentItem, meth_QWebEngineHistory_currentItem, METH_VARARGS, doc_QWebEngineHistory_currentItem},
    {sipName_currentItemIndex, meth_QWebEngineHistory_currentItemIndex, METH_VARARGS, doc_QWebEngineHistory_currentItemIndex},
    {sipName_forward, meth_QWebEngineHistory_forward, METH_VARARGS, doc_QWebEngineHistory_forward},
    {sipName_forwardItem, meth_QWebEngineHistory_forwardItem, METH_VARARGS, doc_QWebEngineHistory_forwardItem},
    {sipName_forwardItems, meth_QWebEngineHistory_forwardItems, METH_VARARGS, doc_QWebEngineHistory_forwardItems},
    {sipName_forwardItemsModel, meth_QWebEngineHistory_forwardItemsModel, METH_VARARGS, doc_QWebEngineHistory_forwardItemsModel},
    {sipName_goToItem, meth_QWebEngineHistory_goToItem, METH_VARARGS, doc_QWebEngineHistory_goToItem},
    {sipName_itemAt, meth_QWebEngineHistory_itemAt, METH_VARARGS, doc_QWebEngineHistory_itemAt},
    {sipName_items, meth_QWebEngineHistory_items, METH_VARARGS, doc_QWebEngineHistory_items},
    {sipName_itemsModel, meth_QWebEngineHistory_itemsModel, METH_VARARGS, doc_QWebEngineHistory_itemsModel}
};


static pyqt6ClassPluginDef plugin_QWebEngineHistory = {
    &::QWebEngineHistory::staticMetaObject,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtWebEngineCore_QWebEngineHistory = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebEngineHistory,
        SIP_NULLPTR,
        &plugin_QWebEngineHistory,
    },
    {
        sipNameNr_QWebEngineHistory,
        {0, 0, 1},
        18, methods_QWebEngineHistory,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QWebEngineHistory,
    slots_QWebEngineHistory,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QWebEngineHistory,
    cast_QWebEngineHistory,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    0,
};
