/*
 * Interface wrapper code.
 *
 * Generated by SIP 4.19.6
 */

#include "sipAPIKWidgetsAddons.h"

#include <kmimetypeeditor.h>

#include <qstring.h>
#include <qwidget.h>


extern "C" {static PyObject *meth_KMimeTypeEditor_editMimeType(PyObject *, PyObject *);}
static PyObject *meth_KMimeTypeEditor_editMimeType(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1J8", sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
             ::KMimeTypeEditor::editMimeType(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_editMimeType, NULL);

    return NULL;
}


static PyMethodDef methods_KMimeTypeEditor[] = {
    {SIP_MLNAME_CAST(sipName_editMimeType), meth_KMimeTypeEditor_editMimeType, METH_VARARGS, NULL}
};


static pyqt5ClassPluginDef plugin_KMimeTypeEditor = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_KWidgetsAddons_KMimeTypeEditor = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_NAMESPACE,
        sipNameNr_KMimeTypeEditor,
        {0},
        &plugin_KMimeTypeEditor
    },
    {
        sipNameNr_KMimeTypeEditor,
        {0, 0, 1},
        1, methods_KMimeTypeEditor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};
