本文整理汇总了C++中sipReleaseType函数的典型用法代码示例。如果您正苦于以下问题:C++ sipReleaseType函数的具体用法?C++ sipReleaseType怎么用?C++ sipReleaseType使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了sipReleaseType函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: Py_INCREF
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeatures)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QStyleOptionToolButton::ToolButtonFeatures * a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
{
Py_BEGIN_ALLOW_THREADS
sipCpp->QStyleOptionToolButton::ToolButtonFeatures::operator^=(*a0);
Py_END_ALLOW_THREADS
sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:ClydeMojura,项目名称:android-python27,代码行数:41,代码来源:sipQtGuiQStyleOptionToolButtonToolButtonFeatures.cpp
示例2: Py_INCREF
static PyObject *slot_QAbstractSocket_BindMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractSocket_BindMode)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QAbstractSocket::BindMode *sipCpp = reinterpret_cast<QAbstractSocket::BindMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSocket_BindMode));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QAbstractSocket::BindMode* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractSocket_BindMode, &a0, &a0State))
{
Py_BEGIN_ALLOW_THREADS
sipCpp->QAbstractSocket::BindMode::operator|=(*a0);
Py_END_ALLOW_THREADS
sipReleaseType(a0,sipType_QAbstractSocket_BindMode,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:annelida,项目名称:stuff,代码行数:41,代码来源:sipQtNetworkQAbstractSocketBindMode.cpp
示例3: Py_INCREF
static PyObject *slot_QNetworkConfigurationManager_Capabilities___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QNetworkConfigurationManager_Capabilities)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QNetworkConfigurationManager::Capabilities *sipCpp = reinterpret_cast<QNetworkConfigurationManager::Capabilities *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QNetworkConfigurationManager_Capabilities));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QNetworkConfigurationManager::Capabilities* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QNetworkConfigurationManager_Capabilities, &a0, &a0State))
{
Py_BEGIN_ALLOW_THREADS
sipCpp->QNetworkConfigurationManager::Capabilities::operator|=(*a0);
Py_END_ALLOW_THREADS
sipReleaseType(a0,sipType_QNetworkConfigurationManager_Capabilities,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:kunwijik,项目名称:Spectroscopy_paper,代码行数:41,代码来源:sipQtNetworkQNetworkConfigurationManagerCapabilities.cpp
示例4: Py_INCREF
static PyObject *slot_QPinchGesture_ChangeFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlags)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QPinchGesture::ChangeFlags* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
{
Py_BEGIN_ALLOW_THREADS
sipCpp->QPinchGesture::ChangeFlags::operator|=(*a0);
Py_END_ALLOW_THREADS
sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:41,代码来源:sipQtGuiQPinchGestureChangeFlags.cpp
示例5: Py_INCREF
static PyObject *slot_QDesignerFormWindowInterface_Feature___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDesignerFormWindowInterface_Feature)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QDesignerFormWindowInterface::Feature *sipCpp = reinterpret_cast<QDesignerFormWindowInterface::Feature *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDesignerFormWindowInterface_Feature));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QDesignerFormWindowInterface::Feature* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDesignerFormWindowInterface_Feature, &a0, &a0State))
{
Py_BEGIN_ALLOW_THREADS
sipCpp->QDesignerFormWindowInterface::Feature::operator^=(*a0);
Py_END_ALLOW_THREADS
sipReleaseType(a0,sipType_QDesignerFormWindowInterface_Feature,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:PLJV,项目名称:commodity_crop_dev_suitability_model,代码行数:41,代码来源:sipQtDesignerQDesignerFormWindowInterfaceFeature.cpp
示例6: QPointF
static PyObject *meth_QPolygonF_value(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = NULL;
{
int a0;
const QPolygonF *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPolygonF, &sipCpp, &a0))
{
QPointF*sipRes;
sipRes = new QPointF(sipCpp->value(a0));
return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
}
}
{
int a0;
const QPointF* a1;
int a1State = 0;
const QPolygonF *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QPolygonF, &sipCpp, &a0, sipType_QPointF, &a1, &a1State))
{
QPointF*sipRes;
sipRes = new QPointF(sipCpp->value(a0,*a1));
sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);
return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
}
}
/* Raise an exception if the arguments couldn't be parsed. */
sipNoMethod(sipParseErr, sipName_QPolygonF, sipName_value, doc_QPolygonF_value);
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:40,代码来源:sipQtGuiQPolygonF.cpp
示例7: QPolygonF
static PyObject *meth_QPolygonF_translated(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = NULL;
{
const QPointF* a0;
int a0State = 0;
const QPolygonF *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPolygonF, &sipCpp, sipType_QPointF, &a0, &a0State))
{
QPolygonF*sipRes;
sipRes = new QPolygonF(sipCpp->translated(*a0));
sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
}
}
{
qreal a0;
qreal a1;
const QPolygonF *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QPolygonF, &sipCpp, &a0, &a1))
{
QPolygonF*sipRes;
sipRes = new QPolygonF(sipCpp->translated(a0,a1));
return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
}
}
/* Raise an exception if the arguments couldn't be parsed. */
sipNoMethod(sipParseErr, sipName_QPolygonF, sipName_translated, doc_QPolygonF_translated);
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:40,代码来源:sipQtGuiQPolygonF.cpp
示例8: Py_INCREF
static PyObject *slot_QPolygonF___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
QPolygonF *sipCpp = reinterpret_cast<QPolygonF *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPolygonF));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
const QPolygonF* a0;
if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QPolygonF, &a0))
{
sipCpp->QPolygonF::operator+=(*a0);
Py_INCREF(sipSelf);
return sipSelf;
}
}
{
const QPointF* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPointF, &a0, &a0State))
{
sipCpp->QPolygonF::operator+=(*a0);
sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
/* Raise an exception if the argument couldn't be parsed. */
sipBadOperatorArg(sipSelf,sipArg,iconcat_slot);
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:40,代码来源:sipQtGuiQPolygonF.cpp
示例9: sipReleaseType
static void *init_type_QBluetoothDeviceInfo_CoreConfigurations(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QBluetoothDeviceInfo::CoreConfigurations *sipCpp = 0;
{
const QBluetoothDeviceInfo::CoreConfigurations* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QBluetoothDeviceInfo_CoreConfigurations, &a0, &a0State))
{
sipCpp = new QBluetoothDeviceInfo::CoreConfigurations(*a0);
sipReleaseType(const_cast<QBluetoothDeviceInfo::CoreConfigurations *>(a0),sipType_QBluetoothDeviceInfo_CoreConfigurations,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QBluetoothDeviceInfo::CoreConfigurations(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QBluetoothDeviceInfo::CoreConfigurations();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtBluetoothQBluetoothDeviceInfoCoreConfigurations.cpp
示例10: Py_INCREF
static PyObject *slot_QWebEnginePage_FindFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWebEnginePage_FindFlags)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QWebEnginePage::FindFlags *sipCpp = reinterpret_cast<QWebEnginePage::FindFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebEnginePage_FindFlags));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QWebEnginePage::FindFlags* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWebEnginePage_FindFlags, &a0, &a0State))
{
sipCpp->QWebEnginePage::FindFlags::operator|=(*a0);
sipReleaseType(a0,sipType_QWebEnginePage_FindFlags,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtWebEngineWidgetsQWebEnginePageFindFlags.cpp
示例11: Py_INCREF
static PyObject *slot_QFontComboBox_FontFilters___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilters)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QFontComboBox::FontFilters* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
{
sipCpp->QFontComboBox::FontFilters::operator^=(*a0);
sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtWidgetsQFontComboBoxFontFilters.cpp
示例12: sipReleaseType
static void *init_type_QOpenGLDebugMessage_Types(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QOpenGLDebugMessage::Types *sipCpp = 0;
{
const QOpenGLDebugMessage::Types* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QOpenGLDebugMessage_Types, &a0, &a0State))
{
sipCpp = new QOpenGLDebugMessage::Types(*a0);
sipReleaseType(const_cast<QOpenGLDebugMessage::Types *>(a0),sipType_QOpenGLDebugMessage_Types,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QOpenGLDebugMessage::Types(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QOpenGLDebugMessage::Types();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtGuiQOpenGLDebugMessageTypes.cpp
示例13: Py_INCREF
static PyObject *slot_QIODevice_OpenMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QIODevice_OpenMode)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QIODevice::OpenMode *sipCpp = reinterpret_cast<QIODevice::OpenMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QIODevice_OpenMode));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QIODevice::OpenMode* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QIODevice_OpenMode, &a0, &a0State))
{
sipCpp->QIODevice::OpenMode::operator|=(*a0);
sipReleaseType(a0,sipType_QIODevice_OpenMode,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtCoreQIODeviceOpenMode.cpp
示例14: sipReleaseType
static void *init_type_QItemSelectionModel_SelectionFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QItemSelectionModel::SelectionFlags *sipCpp = 0;
{
const QItemSelectionModel::SelectionFlags* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QItemSelectionModel_SelectionFlags, &a0, &a0State))
{
sipCpp = new QItemSelectionModel::SelectionFlags(*a0);
sipReleaseType(const_cast<QItemSelectionModel::SelectionFlags *>(a0),sipType_QItemSelectionModel_SelectionFlags,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QItemSelectionModel::SelectionFlags(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QItemSelectionModel::SelectionFlags();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtCoreQItemSelectionModelSelectionFlags.cpp
示例15: sipAbstractMethod
static PyObject *meth_QXmlReader_property(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
PyObject *sipParseErr = NULL;
PyObject *sipOrigSelf = sipSelf;
{
const QString* a0;
int a0State = 0;
bool a1;
const QXmlReader *sipCpp;
static const char *sipKwdList[] = {
NULL,
};
if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString,&a0, &a0State))
{
void*sipRes;
if (!sipOrigSelf)
{
sipAbstractMethod(sipName_QXmlReader, sipName_property);
return NULL;
}
Py_BEGIN_ALLOW_THREADS
sipRes = sipCpp->property(*a0,&a1);
Py_END_ALLOW_THREADS
sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
return sipBuildResult(0,"(Vb)",sipRes,a1);
}
}
/* Raise an exception if the arguments couldn't be parsed. */
sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_property, doc_QXmlReader_property);
return NULL;
}
开发者ID:annelida,项目名称:stuff,代码行数:39,代码来源:sipQtXmlQXmlReader.cpp
示例16: Py_INCREF
static PyObject *slot_QBluetoothDeviceInfo_CoreConfigurations___ior__(PyObject *sipSelf,PyObject *sipArg)
{
if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QBluetoothDeviceInfo_CoreConfigurations)))
{
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
QBluetoothDeviceInfo::CoreConfigurations *sipCpp = reinterpret_cast<QBluetoothDeviceInfo::CoreConfigurations *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QBluetoothDeviceInfo_CoreConfigurations));
if (!sipCpp)
return 0;
PyObject *sipParseErr = NULL;
{
QBluetoothDeviceInfo::CoreConfigurations* a0;
int a0State = 0;
if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QBluetoothDeviceInfo_CoreConfigurations, &a0, &a0State))
{
sipCpp->QBluetoothDeviceInfo::CoreConfigurations::operator|=(*a0);
sipReleaseType(a0,sipType_QBluetoothDeviceInfo_CoreConfigurations,a0State);
Py_INCREF(sipSelf);
return sipSelf;
}
}
Py_XDECREF(sipParseErr);
if (sipParseErr == Py_None)
return NULL;
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtBluetoothQBluetoothDeviceInfoCoreConfigurations.cpp
示例17: sipReleaseType
static void *init_type_QAbstractSocket_PauseModes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QAbstractSocket::PauseModes *sipCpp = 0;
{
const QAbstractSocket::PauseModes* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QAbstractSocket_PauseModes, &a0, &a0State))
{
sipCpp = new QAbstractSocket::PauseModes(*a0);
sipReleaseType(const_cast<QAbstractSocket::PauseModes *>(a0),sipType_QAbstractSocket_PauseModes,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QAbstractSocket::PauseModes(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QAbstractSocket::PauseModes();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtNetworkQAbstractSocketPauseModes.cpp
示例18: sipReleaseType
static void *init_type_QTreeWidgetItemIterator_IteratorFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QTreeWidgetItemIterator::IteratorFlags *sipCpp = 0;
{
const QTreeWidgetItemIterator::IteratorFlags* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
{
sipCpp = new QTreeWidgetItemIterator::IteratorFlags(*a0);
sipReleaseType(const_cast<QTreeWidgetItemIterator::IteratorFlags *>(a0),sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QTreeWidgetItemIterator::IteratorFlags(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QTreeWidgetItemIterator::IteratorFlags();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtWidgetsQTreeWidgetItemIteratorIteratorFlags.cpp
示例19: sipReleaseType
static void *init_type_QCameraImageCapture_CaptureDestinations(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
QCameraImageCapture::CaptureDestinations *sipCpp = 0;
{
const QCameraImageCapture::CaptureDestinations* a0;
int a0State = 0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QCameraImageCapture_CaptureDestinations, &a0, &a0State))
{
sipCpp = new QCameraImageCapture::CaptureDestinations(*a0);
sipReleaseType(const_cast<QCameraImageCapture::CaptureDestinations *>(a0),sipType_QCameraImageCapture_CaptureDestinations,a0State);
return sipCpp;
}
}
{
int a0;
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
{
sipCpp = new QCameraImageCapture::CaptureDestinations(a0);
return sipCpp;
}
}
{
if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
{
sipCpp = new QCameraImageCapture::CaptureDestinations();
return sipCpp;
}
}
return NULL;
}
开发者ID:rff255,项目名称:python-qt5,代码行数:39,代码来源:sipQtMultimediaQCameraImageCaptureCaptureDestinations.cpp
示例20: sipReleaseType
static PyObject *meth_tlp_GlComposite_deleteGlEntity(PyObject *sipSelf, PyObject *sipArgs)
{
PyObject *sipParseErr = NULL;
{
const std::string * a0;
int a0State = 0;
bool a1 = 1;
tlp::GlComposite *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BJ1|b", &sipSelf, sipType_tlp_GlComposite, &sipCpp, sipType_std_string,&a0, &a0State, &a1))
{
sipCpp->deleteGlEntity(*a0,a1);
sipReleaseType(const_cast<std::string *>(a0),sipType_std_string,a0State);
Py_INCREF(Py_None);
return Py_None;
}
}
{
tlp::GlSimpleEntity * a0;
bool a1 = 1;
tlp::GlComposite *sipCpp;
if (sipParseArgs(&sipParseErr, sipArgs, "BJ8|b", &sipSelf, sipType_tlp_GlComposite, &sipCpp, sipType_tlp_GlSimpleEntity, &a0, &a1))
{
sipCpp->deleteGlEntity(a0,a1);
Py_INCREF(Py_None);
return Py_None;
}
}
/* Raise an exception if the arguments couldn't be parsed. */
sipNoMethod(sipParseErr, sipName_GlComposite, sipName_deleteGlEntity, doc_tlp_GlComposite_deleteGlEntity);
return NULL;
}
开发者ID:kdbanman,项目名称:browseRDF,代码行数:39,代码来源:siptulipogltlpGlComposite.cpp
注:本文中的sipReleaseType函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论