/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * 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 "sipAPIQtCore.h"

#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qfilesystemwatcher.sip"
#include <qfilesystemwatcher.h>
#line 29 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 36 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 47 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 59 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 65 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 68 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 73 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 76 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 79 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 82 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.3.1/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 85 "/build/pyqt6/src/PyQt6-6.3.1/build/QtCore/sipQtCoreQFileSystemWatcher.cpp"


class sipQFileSystemWatcher : public  ::QFileSystemWatcher
{
public:
    sipQFileSystemWatcher( ::QObject*);
    sipQFileSystemWatcher(const  ::QStringList&, ::QObject*);
    virtual ~sipQFileSystemWatcher();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFileSystemWatcher(const sipQFileSystemWatcher &);
    sipQFileSystemWatcher &operator = (const sipQFileSystemWatcher &);

    char sipPyMethods[7];
};

sipQFileSystemWatcher::sipQFileSystemWatcher( ::QObject*a0):  ::QFileSystemWatcher(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSystemWatcher::sipQFileSystemWatcher(const  ::QStringList& a0, ::QObject*a1):  ::QFileSystemWatcher(a0,a1), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSystemWatcher::~sipQFileSystemWatcher()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQFileSystemWatcher::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtCore_qt_metaobject(sipPySelf,sipType_QFileSystemWatcher);

    return  ::QFileSystemWatcher::metaObject();
}

int sipQFileSystemWatcher::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QFileSystemWatcher::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtCore_qt_metacall(sipPySelf,sipType_QFileSystemWatcher,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQFileSystemWatcher::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtCore_qt_metacast(sipPySelf, sipType_QFileSystemWatcher, _clname, &sipCpp) ? sipCpp :  ::QFileSystemWatcher::qt_metacast(_clname));
}

bool sipQFileSystemWatcher::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QFileSystemWatcher::event(a0);

    extern bool sipVH_QtCore_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtCore_0(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}

bool sipQFileSystemWatcher::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QFileSystemWatcher::eventFilter(a0,a1);

    extern bool sipVH_QtCore_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtCore_1(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0, a1);
}

void sipQFileSystemWatcher::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::timerEvent(a0);
        return;
    }

    extern void sipVH_QtCore_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtCore_2(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::childEvent(a0);
        return;
    }

    extern void sipVH_QtCore_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtCore_3(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::customEvent(a0);
        return;
    }

    extern void sipVH_QtCore_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtCore_4(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::connectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}

void sipQFileSystemWatcher::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QFileSystemWatcher::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtCore_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtCore_5(sipGILState, sipVEH_QtCore_PyQt6, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QFileSystemWatcher_addPath, "addPath(self, str) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->addPath(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_addPath, doc_QFileSystemWatcher_addPath);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_addPaths, "addPaths(self, Iterable[str]) -> List[str]");

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

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QStringList, &a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->addPaths(*a0));
            sipReleaseType(const_cast< ::QStringList *>(a0), sipType_QStringList, a0State);

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

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_addPaths, doc_QFileSystemWatcher_addPaths);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_directories, "directories(self) -> List[str]");

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

    {
        const  ::QFileSystemWatcher *sipCpp;

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

            sipRes = new  ::QStringList(sipCpp->directories());

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

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_directories, doc_QFileSystemWatcher_directories);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_files, "files(self) -> List[str]");

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

    {
        const  ::QFileSystemWatcher *sipCpp;

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

            sipRes = new  ::QStringList(sipCpp->files());

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

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_files, doc_QFileSystemWatcher_files);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_removePath, "removePath(self, str) -> bool");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->removePath(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_removePath, doc_QFileSystemWatcher_removePath);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QFileSystemWatcher_removePaths, "removePaths(self, Iterable[str]) -> List[str]");

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

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QFileSystemWatcher *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemWatcher, &sipCpp, sipType_QStringList, &a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->removePaths(*a0));
            sipReleaseType(const_cast< ::QStringList *>(a0), sipType_QStringList, a0State);

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

    sipNoMethod(sipParseErr, sipName_QFileSystemWatcher, sipName_removePaths, doc_QFileSystemWatcher_removePaths);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QFileSystemWatcher)
        return sipCppV;

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

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileSystemWatcher(void *, int);}
static void release_QFileSystemWatcher(void *sipCppV, int)
{
     ::QFileSystemWatcher *sipCpp = reinterpret_cast< ::QFileSystemWatcher *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QFileSystemWatcher(Py_ssize_t);}
static void *array_QFileSystemWatcher(Py_ssize_t sipNrElem)
{
    return new  ::QFileSystemWatcher[sipNrElem];
}


extern "C" {static void array_delete_QFileSystemWatcher(void *);}
static void array_delete_QFileSystemWatcher(void *sipCpp)
{
    delete[] reinterpret_cast< ::QFileSystemWatcher *>(sipCpp);
}


extern "C" {static void dealloc_QFileSystemWatcher(sipSimpleWrapper *);}
static void dealloc_QFileSystemWatcher(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQFileSystemWatcher *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QFileSystemWatcher(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QFileSystemWatcher(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileSystemWatcher(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFileSystemWatcher *sipCpp = SIP_NULLPTR;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQFileSystemWatcher(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const  ::QStringList* a0;
        int a0State = 0;
         ::QObject* a1 = 0;

        static const char *sipKwdList[] = {
            SIP_NULLPTR,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QStringList, &a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQFileSystemWatcher(*a0,a1);
            sipReleaseType(const_cast< ::QStringList *>(a0), sipType_QStringList, a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileSystemWatcher[] = {{230, 255, 1}};


static PyMethodDef methods_QFileSystemWatcher[] = {
    {sipName_addPath, meth_QFileSystemWatcher_addPath, METH_VARARGS, doc_QFileSystemWatcher_addPath},
    {sipName_addPaths, meth_QFileSystemWatcher_addPaths, METH_VARARGS, doc_QFileSystemWatcher_addPaths},
    {sipName_directories, meth_QFileSystemWatcher_directories, METH_VARARGS, doc_QFileSystemWatcher_directories},
    {sipName_files, meth_QFileSystemWatcher_files, METH_VARARGS, doc_QFileSystemWatcher_files},
    {sipName_removePath, meth_QFileSystemWatcher_removePath, METH_VARARGS, doc_QFileSystemWatcher_removePath},
    {sipName_removePaths, meth_QFileSystemWatcher_removePaths, METH_VARARGS, doc_QFileSystemWatcher_removePaths}
};

PyDoc_STRVAR(doc_QFileSystemWatcher, "\1QFileSystemWatcher(parent: QObject = None)\n"
"QFileSystemWatcher(Iterable[str], parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QFileSystemWatcher[] = {
    {"fileChanged(QString)", "\1fileChanged(self, str)", SIP_NULLPTR, SIP_NULLPTR},
    {"directoryChanged(QString)", "\1directoryChanged(self, str)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QFileSystemWatcher = {
    & ::QFileSystemWatcher::staticMetaObject,
    signals_QFileSystemWatcher,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtCore_QFileSystemWatcher = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemWatcher,
        SIP_NULLPTR,
        &plugin_QFileSystemWatcher
    },
    {
        sipNameNr_QFileSystemWatcher,
        {0, 0, 1},
        6, methods_QFileSystemWatcher,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QFileSystemWatcher,
    -1,
    -1,
    supers_QFileSystemWatcher,
    SIP_NULLPTR,
    init_type_QFileSystemWatcher,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QFileSystemWatcher,
    SIP_NULLPTR,
    array_QFileSystemWatcher,
    SIP_NULLPTR,
    release_QFileSystemWatcher,
    cast_QFileSystemWatcher,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QFileSystemWatcher,
    sizeof ( ::QFileSystemWatcher),
};
