diff --git a/Building.html b/Building.html index 01f6dd08a..dc7106825 100644 --- a/Building.html +++ b/Building.html @@ -82,7 +82,7 @@

diff --git a/Developer.html b/Developer.html index 8886d3284..07de693fb 100644 --- a/Developer.html +++ b/Developer.html @@ -276,7 +276,7 @@

diff --git a/Download.html b/Download.html index 8fe49d0d2..525bf3ac4 100644 --- a/Download.html +++ b/Download.html @@ -49,7 +49,7 @@ diff --git a/Examples.html b/Examples.html index 97b52b7aa..ffd2a29b6 100644 --- a/Examples.html +++ b/Examples.html @@ -82,7 +82,7 @@ diff --git a/Features.html b/Features.html index 638f09634..1d0f22a34 100644 --- a/Features.html +++ b/Features.html @@ -115,7 +115,7 @@

diff --git a/License.html b/License.html index fb761261d..13f798279 100644 --- a/License.html +++ b/License.html @@ -51,7 +51,7 @@ diff --git a/PythonQtBoolResult_8h.html b/PythonQtBoolResult_8h.html index 77dd636af..313c5b931 100644 --- a/PythonQtBoolResult_8h.html +++ b/PythonQtBoolResult_8h.html @@ -119,7 +119,7 @@

diff --git a/PythonQtBoolResult_8h_source.html b/PythonQtBoolResult_8h_source.html index 2674cbb6e..cbb56526b 100644 --- a/PythonQtBoolResult_8h_source.html +++ b/PythonQtBoolResult_8h_source.html @@ -109,7 +109,7 @@ diff --git a/PythonQtClassInfo_8h.html b/PythonQtClassInfo_8h.html index 0625ecc4e..dfde6729a 100644 --- a/PythonQtClassInfo_8h.html +++ b/PythonQtClassInfo_8h.html @@ -74,7 +74,7 @@ diff --git a/PythonQtClassInfo_8h_source.html b/PythonQtClassInfo_8h_source.html index e916b9cc2..68bc55c63 100644 --- a/PythonQtClassInfo_8h_source.html +++ b/PythonQtClassInfo_8h_source.html @@ -385,7 +385,7 @@ diff --git a/PythonQtClassWrapper_8h.html b/PythonQtClassWrapper_8h.html index 8ee863353..88e8ae283 100644 --- a/PythonQtClassWrapper_8h.html +++ b/PythonQtClassWrapper_8h.html @@ -105,7 +105,7 @@

diff --git a/PythonQtClassWrapper_8h_source.html b/PythonQtClassWrapper_8h_source.html index 0211634f2..08f9b834d 100644 --- a/PythonQtClassWrapper_8h_source.html +++ b/PythonQtClassWrapper_8h_source.html @@ -127,7 +127,7 @@ diff --git a/PythonQtConversion_8h.html b/PythonQtConversion_8h.html index e6b54ecc7..4f8440863 100644 --- a/PythonQtConversion_8h.html +++ b/PythonQtConversion_8h.html @@ -164,8 +164,8 @@

PythonQtConv::registerPythonToMetaTypeConverter(typeId, PythonQtConvertPythonToIntegerMap<type<int, innertype >, innertype>); \
}
-
PyObject * PythonQtConvertIntegerMapToPython(const void *inMap, int metaTypeId)
-
bool PythonQtConvertPythonToIntegerMap(PyObject *val, void *outMap, int metaTypeId, bool)
+
PyObject * PythonQtConvertIntegerMapToPython(const void *inMap, int metaTypeId)
+
bool PythonQtConvertPythonToIntegerMap(PyObject *val, void *outMap, int metaTypeId, bool)
static void registerPythonToMetaTypeConverter(int metaTypeId, PythonQtConvertPythonToMetaTypeCB *cb)
register a converter callback from python to cpp for given metatype
static void registerMetaTypeToPythonConverter(int metaTypeId, PythonQtConvertMetaTypeToPythonCB *cb)
register a converter callback from cpp to python for given metatype
@@ -202,8 +202,8 @@

PythonQtConv::registerPythonToMetaTypeConverter(typeId, PythonQtConvertPythonListToListOfValueType<type<innertype >, innertype>); \
}
-
PyObject * PythonQtConvertListOfValueTypeToPythonList(const void *inList, int metaTypeId)
-
bool PythonQtConvertPythonListToListOfValueType(PyObject *obj, void *outList, int metaTypeId, bool)
+
PyObject * PythonQtConvertListOfValueTypeToPythonList(const void *inList, int metaTypeId)
+
bool PythonQtConvertPythonListToListOfValueType(PyObject *obj, void *outList, int metaTypeId, bool)

Definition at line 58 of file PythonQtConversion.h.

@@ -238,8 +238,8 @@

PythonQtConv::registerPythonToMetaTypeConverter(typeId, PythonQtConvertPythonListToListOfKnownClass<type<innertype >, innertype>); \
}
-
PyObject * PythonQtConvertListOfKnownClassToPythonList(const void *inList, int metaTypeId)
-
bool PythonQtConvertPythonListToListOfKnownClass(PyObject *obj, void *outList, int metaTypeId, bool)
+
PyObject * PythonQtConvertListOfKnownClassToPythonList(const void *inList, int metaTypeId)
+
bool PythonQtConvertPythonListToListOfKnownClass(PyObject *obj, void *outList, int metaTypeId, bool)

Definition at line 64 of file PythonQtConversion.h.

@@ -282,8 +282,8 @@

PythonQtConv::registerPythonToMetaTypeConverter(typeId, PythonQtConvertPythonListToListOfPair<listtype<QPair<type1, type2> >, type1, type2>); \
PythonQtConv::registerMetaTypeToPythonConverter(typeId, PythonQtConvertListOfPairToPythonList<listtype<QPair<type1, type2> >, type1, type2>); \
}
-
bool PythonQtConvertPythonListToListOfPair(PyObject *obj, void *outList, int metaTypeId, bool)
-
PyObject * PythonQtConvertListOfPairToPythonList(const void *inList, int metaTypeId)
+
bool PythonQtConvertPythonListToListOfPair(PyObject *obj, void *outList, int metaTypeId, bool)
+
PyObject * PythonQtConvertListOfPairToPythonList(const void *inList, int metaTypeId)

Definition at line 82 of file PythonQtConversion.h.

@@ -449,32 +449,32 @@

-

Definition at line 452 of file PythonQtConversion.h.

-
453 {
-
454  MapType* map = (MapType*)inMap;
-
455  static int innerType = -1;
-
456  if (innerType == -1) {
-
457  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
458  QList<QByteArray> names = innerTypes.split(',');
-
459  innerType = QMetaType::type(names.at(1).trimmed());
-
460  }
-
461  if (innerType == QVariant::Invalid) {
-
462  std::cerr << "PythonQtConvertIntegerMapToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
463  }
-
464 
-
465  PyObject* result = PyDict_New();
-
466  typename MapType::const_iterator t = map->constBegin();
-
467  PyObject* key;
-
468  PyObject* val;
-
469  for (; t != map->constEnd(); t++) {
-
470  key = PyInt_FromLong(t.key());
-
471  val = PythonQtConv::convertQtValueToPythonInternal(innerType, &t.value());
-
472  PyDict_SetItem(result, key, val);
-
473  Py_DECREF(key);
-
474  Py_DECREF(val);
+

Definition at line 464 of file PythonQtConversion.h.

+
465 {
+
466  MapType* map = (MapType*)inMap;
+
467  static int innerType = -1;
+
468  if (innerType == -1) {
+
469  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
470  QList<QByteArray> names = innerTypes.split(',');
+
471  innerType = QMetaType::type(names.at(1).trimmed());
+
472  }
+
473  if (innerType == QVariant::Invalid) {
+
474  std::cerr << "PythonQtConvertIntegerMapToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
475  }
-
476  return result;
-
477 }
+
476 
+
477  PyObject* result = PyDict_New();
+
478  typename MapType::const_iterator t = map->constBegin();
+
479  PyObject* key;
+
480  PyObject* val;
+
481  for (; t != map->constEnd(); t++) {
+
482  key = PyInt_FromLong(t.key());
+
483  val = PythonQtConv::convertQtValueToPythonInternal(innerType, &t.value());
+
484  PyDict_SetItem(result, key, val);
+
485  Py_DECREF(key);
+
486  Py_DECREF(val);
+
487  }
+
488  return result;
+
489 }
struct _object PyObject
static PyObject * convertQtValueToPythonInternal(int type, const void *data)
converts the Qt parameter given in data, interpreting it as a type registered qvariant/meta type,...
static QByteArray getInnerTemplateTypeName(const QByteArray &typeName)
returns the inner type name of a simple template of the form SomeObject<InnerType>
@@ -512,24 +512,24 @@

-

Definition at line 271 of file PythonQtConversion.h.

-
272 {
-
273  ListType* list = (ListType*)inList;
- -
275  if (innerType == nullptr) {
-
276  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
-
277  }
-
278  PyObject* result = PyTuple_New(list->size());
-
279  int i = 0;
-
280  Q_FOREACH(const T& value, *list) {
-
281  T* newObject = new T(value);
- -
283  wrap->_ownedByPythonQt = true;
-
284  PyTuple_SET_ITEM(result, i, (PyObject*)wrap);
-
285  i++;
-
286  }
-
287  return result;
-
288 }
+

Definition at line 283 of file PythonQtConversion.h.

+
284 {
+
285  ListType* list = (ListType*)inList;
+ +
287  if (innerType == nullptr) {
+
288  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
+
289  }
+
290  PyObject* result = PyTuple_New(list->size());
+
291  int i = 0;
+
292  Q_FOREACH(const T& value, *list) {
+
293  T* newObject = new T(value);
+ +
295  wrap->_ownedByPythonQt = true;
+
296  PyTuple_SET_ITEM(result, i, (PyObject*)wrap);
+
297  i++;
+
298  }
+
299  return result;
+
300 }
a class that stores all required information about a Qt object (and an optional associated C++ class ...
const QByteArray & className() const
get the classname (either of the QObject or of the wrapped CPP object)
static QByteArray getInnerListTypeName(const QByteArray &typeName)
returns the inner type name of a simple template or the typename without appended "List".
@@ -571,23 +571,23 @@

-

Definition at line 400 of file PythonQtConversion.h.

-
401 {
-
402  ListType* list = (ListType*)inList;
-
403  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
404  if (innerType == QVariant::Invalid) {
-
405  std::cerr << "PythonQtConvertListOfPairToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
406  }
-
407  PyObject* result = PyTuple_New(list->size());
-
408  int i = 0;
-
409  typedef const QPair<T1, T2> Pair;
-
410  Q_FOREACH(Pair& value, *list) {
-
411  PyObject* object = PythonQtConvertPairToPython<T1, T2>(&value, innerType);
-
412  PyTuple_SET_ITEM(result, i, object);
-
413  i++;
-
414  }
-
415  return result;
-
416 }
+

Definition at line 412 of file PythonQtConversion.h.

+
413 {
+
414  ListType* list = (ListType*)inList;
+
415  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
416  if (innerType == QVariant::Invalid) {
+
417  std::cerr << "PythonQtConvertListOfPairToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
418  }
+
419  PyObject* result = PyTuple_New(list->size());
+
420  int i = 0;
+
421  typedef const QPair<T1, T2> Pair;
+
422  Q_FOREACH(Pair& value, *list) {
+
423  PyObject* object = PythonQtConvertPairToPython<T1, T2>(&value, innerType);
+
424  PyTuple_SET_ITEM(result, i, object);
+
425  i++;
+
426  }
+
427  return result;
+
428 }
static int getInnerTemplateMetaType(const QByteArray &typeName)
returns the inner type id of a simple template of the form SomeObject<InnerType>

References PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtUtils::typeName().

@@ -622,21 +622,21 @@

-

Definition at line 221 of file PythonQtConversion.h.

-
222 {
-
223  ListType* list = (ListType*)inList;
-
224  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
225  if (innerType == QVariant::Invalid) {
-
226  std::cerr << "PythonQtConvertListOfValueTypeToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
227  }
-
228  PyObject* result = PyTuple_New(list->size());
-
229  int i = 0;
-
230  Q_FOREACH (const T& value, *list) {
-
231  PyTuple_SET_ITEM(result, i, PythonQtConv::convertQtValueToPythonInternal(innerType, &value));
-
232  i++;
-
233  }
-
234  return result;
-
235 }
+

Definition at line 233 of file PythonQtConversion.h.

+
234 {
+
235  ListType* list = (ListType*)inList;
+
236  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
237  if (innerType == QVariant::Invalid) {
+
238  std::cerr << "PythonQtConvertListOfValueTypeToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
239  }
+
240  PyObject* result = PyTuple_New(list->size());
+
241  int i = 0;
+
242  Q_FOREACH (const T& value, *list) {
+
243  PyTuple_SET_ITEM(result, i, PythonQtConv::convertQtValueToPythonInternal(innerType, &value));
+
244  i++;
+
245  }
+
246  return result;
+
247 }

References PythonQtConv::convertQtValueToPythonInternal(), PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtUtils::typeName().

@@ -670,25 +670,25 @@

-

Definition at line 331 of file PythonQtConversion.h.

-
332 {
-
333  QPair<T1, T2>* pair = (QPair<T1, T2>*)inPair;
-
334  static int innerType1 = -1;
-
335  static int innerType2 = -1;
-
336  if (innerType1==-1) {
-
337  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
338  QList<QByteArray> names = innerTypes.split(',');
-
339  innerType1 = QMetaType::type(names.at(0).trimmed());
-
340  innerType2 = QMetaType::type(names.at(1).trimmed());
-
341  }
-
342  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
-
343  std::cerr << "PythonQtConvertPairToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
344  }
-
345  PyObject* result = PyTuple_New(2);
-
346  PyTuple_SET_ITEM(result, 0, PythonQtConv::convertQtValueToPythonInternal(innerType1, &pair->first));
-
347  PyTuple_SET_ITEM(result, 1, PythonQtConv::convertQtValueToPythonInternal(innerType2, &pair->second));
-
348  return result;
-
349 }
+

Definition at line 343 of file PythonQtConversion.h.

+
344 {
+
345  QPair<T1, T2>* pair = (QPair<T1, T2>*)inPair;
+
346  static int innerType1 = -1;
+
347  static int innerType2 = -1;
+
348  if (innerType1==-1) {
+
349  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
350  QList<QByteArray> names = innerTypes.split(',');
+
351  innerType1 = QMetaType::type(names.at(0).trimmed());
+
352  innerType2 = QMetaType::type(names.at(1).trimmed());
+
353  }
+
354  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
+
355  std::cerr << "PythonQtConvertPairToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
356  }
+
357  PyObject* result = PyTuple_New(2);
+
358  PyTuple_SET_ITEM(result, 0, PythonQtConv::convertQtValueToPythonInternal(innerType1, &pair->first));
+
359  PyTuple_SET_ITEM(result, 1, PythonQtConv::convertQtValueToPythonInternal(innerType2, &pair->second));
+
360  return result;
+
361 }

References PythonQtConv::convertQtValueToPythonInternal(), PythonQtMethodInfo::getInnerTemplateTypeName(), and PythonQtUtils::typeName().

@@ -734,42 +734,42 @@

-

Definition at line 291 of file PythonQtConversion.h.

-
292 {
-
293  ListType* list = (ListType*)outList;
- -
295  if (innerType == nullptr) {
-
296  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
-
297  }
-
298  bool result = false;
-
299  if (PySequence_Check(obj)) {
-
300  int count = PySequence_Size(obj);
-
301  if (count >= 0) {
-
302  result = true;
-
303  PyObject* value;
-
304  for (int i = 0; i < count; i++) {
-
305  value = PySequence_GetItem(obj, i);
-
306  if (PyObject_TypeCheck(value, &PythonQtInstanceWrapper_Type)) {
- -
308  bool ok;
-
309  T* object = (T*)PythonQtConv::castWrapperTo(wrap, innerType->className(), ok);
-
310  Py_XDECREF(value);
-
311  if (ok) {
-
312  list->push_back(*object);
-
313  } else {
-
314  result = false;
-
315  break;
-
316  }
-
317  } else {
-
318  Py_XDECREF(value);
-
319  result = false;
-
320  break;
-
321  }
-
322  }
-
323  }
-
324  }
-
325  return result;
-
326 }
+

Definition at line 303 of file PythonQtConversion.h.

+
304 {
+
305  ListType* list = (ListType*)outList;
+ +
307  if (innerType == nullptr) {
+
308  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
+
309  }
+
310  bool result = false;
+
311  if (PySequence_Check(obj)) {
+
312  int count = PySequence_Size(obj);
+
313  if (count >= 0) {
+
314  result = true;
+
315  PyObject* value;
+
316  for (int i = 0; i < count; i++) {
+
317  value = PySequence_GetItem(obj, i);
+
318  if (PyObject_TypeCheck(value, &PythonQtInstanceWrapper_Type)) {
+ +
320  bool ok;
+
321  T* object = (T*)PythonQtConv::castWrapperTo(wrap, innerType->className(), ok);
+
322  Py_XDECREF(value);
+
323  if (ok) {
+
324  list->push_back(*object);
+
325  } else {
+
326  result = false;
+
327  break;
+
328  }
+
329  } else {
+
330  Py_XDECREF(value);
+
331  result = false;
+
332  break;
+
333  }
+
334  }
+
335  }
+
336  }
+
337  return result;
+
338 }
PYTHONQT_EXPORT PyTypeObject PythonQtInstanceWrapper_Type
static void * castWrapperTo(PythonQtInstanceWrapper *wrapper, const QByteArray &className, bool &ok)
cast wrapper to given className if possible
@@ -817,35 +817,35 @@

-

Definition at line 419 of file PythonQtConversion.h.

-
420 {
-
421  ListType* list = (ListType*)outList;
-
422  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
423  if (innerType == QVariant::Invalid) {
-
424  std::cerr << "PythonQtConvertPythonListToListOfPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
425  }
-
426  bool result = false;
-
427  if (PySequence_Check(obj)) {
-
428  int count = PySequence_Size(obj);
-
429  if (count >= 0) {
-
430  result = true;
-
431  PyObject* value;
-
432  for (int i = 0; i < count; i++) {
-
433  QPair<T1, T2> pair;
-
434  value = PySequence_GetItem(obj, i);
-
435  if (PythonQtConvertPythonToPair<T1,T2>(value, &pair, innerType, false)) {
-
436  Py_XDECREF(value);
-
437  list->push_back(pair);
-
438  } else {
-
439  Py_XDECREF(value);
-
440  result = false;
-
441  break;
-
442  }
-
443  }
-
444  }
-
445  }
-
446  return result;
-
447 }
+

Definition at line 431 of file PythonQtConversion.h.

+
432 {
+
433  ListType* list = (ListType*)outList;
+
434  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
435  if (innerType == QVariant::Invalid) {
+
436  std::cerr << "PythonQtConvertPythonListToListOfPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
437  }
+
438  bool result = false;
+
439  if (PySequence_Check(obj)) {
+
440  int count = PySequence_Size(obj);
+
441  if (count >= 0) {
+
442  result = true;
+
443  PyObject* value;
+
444  for (int i = 0; i < count; i++) {
+
445  QPair<T1, T2> pair;
+
446  value = PySequence_GetItem(obj, i);
+
447  if (PythonQtConvertPythonToPair<T1,T2>(value, &pair, innerType, false)) {
+
448  Py_XDECREF(value);
+
449  list->push_back(pair);
+
450  } else {
+
451  Py_XDECREF(value);
+
452  result = false;
+
453  break;
+
454  }
+
455  }
+
456  }
+
457  }
+
458  return result;
+
459 }

References PythonQtMethodInfo::getInnerTemplateMetaType(), and PythonQtUtils::typeName().

@@ -891,35 +891,35 @@

-

Definition at line 238 of file PythonQtConversion.h.

-
239 {
-
240  ListType* list = (ListType*)outList;
-
241  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
242  if (innerType == QVariant::Invalid) {
-
243  std::cerr << "PythonQtConvertPythonListToListOfValueType: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
244  }
-
245  bool result = false;
-
246  if (PySequence_Check(obj)) {
-
247  int count = PySequence_Size(obj);
-
248  if (count >= 0) {
-
249  result = true;
-
250  PyObject* value;
-
251  for (int i = 0;i<count;i++) {
-
252  value = PySequence_GetItem(obj,i);
-
253  // this is quite some overhead, but it avoids having another large switch...
-
254  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
-
255  Py_XDECREF(value);
-
256  if (v.isValid()) {
-
257  list->push_back(qvariant_cast<T>(v));
-
258  } else {
-
259  result = false;
-
260  break;
-
261  }
-
262  }
-
263  }
-
264  }
-
265  return result;
-
266 }
+

Definition at line 250 of file PythonQtConversion.h.

+
251 {
+
252  ListType* list = (ListType*)outList;
+
253  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
254  if (innerType == QVariant::Invalid) {
+
255  std::cerr << "PythonQtConvertPythonListToListOfValueType: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
256  }
+
257  bool result = false;
+
258  if (PySequence_Check(obj)) {
+
259  int count = PySequence_Size(obj);
+
260  if (count >= 0) {
+
261  result = true;
+
262  PyObject* value;
+
263  for (int i = 0;i<count;i++) {
+
264  value = PySequence_GetItem(obj,i);
+
265  // this is quite some overhead, but it avoids having another large switch...
+
266  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
+
267  Py_XDECREF(value);
+
268  if (v.isValid()) {
+
269  list->push_back(qvariant_cast<T>(v));
+
270  } else {
+
271  result = false;
+
272  break;
+
273  }
+
274  }
+
275  }
+
276  }
+
277  return result;
+
278 }
static QVariant PyObjToQVariant(PyObject *val, int type=-1)

References PythonQtMethodInfo::getInnerTemplateMetaType(), PythonQtConv::PyObjToQVariant(), and PythonQtUtils::typeName().

@@ -966,48 +966,48 @@

-

Definition at line 480 of file PythonQtConversion.h.

-
481 {
-
482  MapType* map = (MapType*)outMap;
-
483  static int innerType = -1;
-
484  if (innerType == -1) {
-
485  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
486  QList<QByteArray> names = innerTypes.split(',');
-
487  innerType = QMetaType::type(names.at(1).trimmed());
-
488  }
-
489  if (innerType == QVariant::Invalid) {
-
490  std::cerr << "PythonQtConvertPythonToIntegerMap: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
491  }
-
492  bool result = false;
-
493  if (PyMapping_Check(val)) {
-
494  result = true;
-
495  PyObject* items = PyMapping_Items(val);
-
496  if (items) {
-
497  int count = PyList_Size(items);
-
498  PyObject* value;
-
499  PyObject* key;
-
500  PyObject* tuple;
-
501  for (int i = 0; i < count; i++) {
-
502  tuple = PyList_GetItem(items, i);
-
503  key = PyTuple_GetItem(tuple, 0);
-
504  value = PyTuple_GetItem(tuple, 1);
-
505 
-
506  bool ok;
-
507  int intKey = PythonQtConv::PyObjGetInt(key, false, ok);
-
508  // this is quite some overhead, but it avoids having another large switch...
-
509  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
-
510  if (v.isValid() && ok) {
-
511  map->insert(intKey, qvariant_cast<T>(v));
-
512  } else {
-
513  result = false;
-
514  break;
-
515  }
-
516  }
-
517  Py_DECREF(items);
-
518  }
-
519  }
-
520  return result;
-
521 }
+

Definition at line 492 of file PythonQtConversion.h.

+
493 {
+
494  MapType* map = (MapType*)outMap;
+
495  static int innerType = -1;
+
496  if (innerType == -1) {
+
497  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
498  QList<QByteArray> names = innerTypes.split(',');
+
499  innerType = QMetaType::type(names.at(1).trimmed());
+
500  }
+
501  if (innerType == QVariant::Invalid) {
+
502  std::cerr << "PythonQtConvertPythonToIntegerMap: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
503  }
+
504  bool result = false;
+
505  if (PyMapping_Check(val)) {
+
506  result = true;
+
507  PyObject* items = PyMapping_Items(val);
+
508  if (items) {
+
509  int count = PyList_Size(items);
+
510  PyObject* value;
+
511  PyObject* key;
+
512  PyObject* tuple;
+
513  for (int i = 0; i < count; i++) {
+
514  tuple = PyList_GetItem(items, i);
+
515  key = PyTuple_GetItem(tuple, 0);
+
516  value = PyTuple_GetItem(tuple, 1);
+
517 
+
518  bool ok;
+
519  int intKey = PythonQtConv::PyObjGetInt(key, false, ok);
+
520  // this is quite some overhead, but it avoids having another large switch...
+
521  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
+
522  if (v.isValid() && ok) {
+
523  map->insert(intKey, qvariant_cast<T>(v));
+
524  } else {
+
525  result = false;
+
526  break;
+
527  }
+
528  }
+
529  Py_DECREF(items);
+
530  }
+
531  }
+
532  return result;
+
533 }
static int PyObjGetInt(PyObject *val, bool strict, bool &ok)
get int from py object

References PythonQtMethodInfo::getInnerTemplateTypeName(), PythonQtConv::PyObjGetInt(), PythonQtConv::PyObjToQVariant(), and PythonQtUtils::typeName().

@@ -1054,50 +1054,50 @@

-

Definition at line 352 of file PythonQtConversion.h.

-
353 {
-
354  QPair<T1, T2>* pair = (QPair<T1, T2>*)outPair;
-
355  static int innerType1 = -1;
-
356  static int innerType2 = -1;
-
357  if (innerType1 == -1) {
-
358  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
359  QList<QByteArray> names = innerTypes.split(',');
-
360  innerType1 = QMetaType::type(names.at(0).trimmed());
-
361  innerType2 = QMetaType::type(names.at(1).trimmed());
-
362  }
-
363  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
-
364  std::cerr << "PythonQtConvertPythonToPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
365  }
-
366  bool result = false;
-
367  if (PySequence_Check(obj)) {
-
368  int count = PySequence_Size(obj);
-
369  if (count == 2) {
-
370  result = true;
-
371  PyObject* value;
-
372 
-
373  value = PySequence_GetItem(obj, 0);
-
374  // this is quite some overhead, but it avoids having another large switch...
-
375  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType1);
-
376  Py_XDECREF(value);
-
377  if (v.isValid()) {
-
378  pair->first = qvariant_cast<T1>(v);
-
379  } else {
-
380  return false;
-
381  }
-
382 
-
383  value = PySequence_GetItem(obj, 1);
-
384  // this is quite some overhead, but it avoids having another large switch...
-
385  v = PythonQtConv::PyObjToQVariant(value, innerType2);
-
386  Py_XDECREF(value);
-
387  if (v.isValid()) {
-
388  pair->second = qvariant_cast<T2>(v);
-
389  } else {
-
390  return false;
-
391  }
-
392  }
-
393  }
-
394  return result;
-
395 }
+

Definition at line 364 of file PythonQtConversion.h.

+
365 {
+
366  QPair<T1, T2>* pair = (QPair<T1, T2>*)outPair;
+
367  static int innerType1 = -1;
+
368  static int innerType2 = -1;
+
369  if (innerType1 == -1) {
+
370  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
371  QList<QByteArray> names = innerTypes.split(',');
+
372  innerType1 = QMetaType::type(names.at(0).trimmed());
+
373  innerType2 = QMetaType::type(names.at(1).trimmed());
+
374  }
+
375  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
+
376  std::cerr << "PythonQtConvertPythonToPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
377  }
+
378  bool result = false;
+
379  if (PySequence_Check(obj)) {
+
380  int count = PySequence_Size(obj);
+
381  if (count == 2) {
+
382  result = true;
+
383  PyObject* value;
+
384 
+
385  value = PySequence_GetItem(obj, 0);
+
386  // this is quite some overhead, but it avoids having another large switch...
+
387  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType1);
+
388  Py_XDECREF(value);
+
389  if (v.isValid()) {
+
390  pair->first = qvariant_cast<T1>(v);
+
391  } else {
+
392  return false;
+
393  }
+
394 
+
395  value = PySequence_GetItem(obj, 1);
+
396  // this is quite some overhead, but it avoids having another large switch...
+
397  v = PythonQtConv::PyObjToQVariant(value, innerType2);
+
398  Py_XDECREF(value);
+
399  if (v.isValid()) {
+
400  pair->second = qvariant_cast<T2>(v);
+
401  } else {
+
402  return false;
+
403  }
+
404  }
+
405  }
+
406  return result;
+
407 }

References PythonQtMethodInfo::getInnerTemplateTypeName(), PythonQtConv::PyObjToQVariant(), and PythonQtUtils::typeName().

@@ -1106,7 +1106,7 @@

diff --git a/PythonQtConversion_8h_source.html b/PythonQtConversion_8h_source.html index 6f8df6d2a..115152c8a 100644 --- a/PythonQtConversion_8h_source.html +++ b/PythonQtConversion_8h_source.html @@ -200,348 +200,359 @@
187  static PyObject* convertFromQListOfPythonQtObjectPtr(const void* /* QList<PythonQtObjectPtr>* */ inObject, int /*metaTypeId*/);
188 #if QT_VERSION < 0x060000
189  static PyObject* convertFromStringRef(const void* inObject, int /*metaTypeId*/);
-
190 #endif
-
191 
-
193  static QByteArray getCPPTypeName(PyObject* type);
+
190 #else
+
191  static PyObject* convertFromStringView(const void* inObject, int /*metaTypeId*/);
+
192  static PyObject* convertFromAnyStringView(const void* inObject, int /*metaTypeId*/);
+
193 #endif
194 
-
196  static bool isStringType(PyTypeObject* type);
+
196  static QByteArray getCPPTypeName(PyObject* type);
197 
-
198 protected:
-
199  static QHash<int, PythonQtConvertMetaTypeToPythonCB*> _metaTypeToPythonConverters;
-
200  static QHash<int, PythonQtConvertPythonToMetaTypeCB*> _pythonToMetaTypeConverters;
- -
202 
-
204  static void* handlePythonToQtAutoConversion(int typeId, PyObject* obj, void* alreadyAllocatedCPPObject, PythonQtArgumentFrame* frame);
-
205 
- -
209  static bool ConvertPythonListToQListOfPointerType(PyObject* obj, QList<void*>* list, const PythonQtMethodInfo::ParameterInfo& info, bool strict);
-
210 
-
212  template <typename Map>
-
213  static void pythonToMapVariant(PyObject* val, QVariant& result);
-
215  template <typename Map>
-
216  static PyObject* mapToPython (const Map& m);
-
217 
-
218 };
-
219 
-
220 template<class ListType, class T>
-
221 PyObject* PythonQtConvertListOfValueTypeToPythonList(const void* /*QList<T>* */ inList, int metaTypeId)
-
222 {
-
223  ListType* list = (ListType*)inList;
-
224  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
225  if (innerType == QVariant::Invalid) {
-
226  std::cerr << "PythonQtConvertListOfValueTypeToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
227  }
-
228  PyObject* result = PyTuple_New(list->size());
-
229  int i = 0;
-
230  Q_FOREACH (const T& value, *list) {
-
231  PyTuple_SET_ITEM(result, i, PythonQtConv::convertQtValueToPythonInternal(innerType, &value));
-
232  i++;
-
233  }
-
234  return result;
-
235 }
-
236 
-
237 template<class ListType, class T>
-
238 bool PythonQtConvertPythonListToListOfValueType(PyObject* obj, void* /*QList<T>* */ outList, int metaTypeId, bool /*strict*/)
-
239 {
-
240  ListType* list = (ListType*)outList;
-
241  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
242  if (innerType == QVariant::Invalid) {
-
243  std::cerr << "PythonQtConvertPythonListToListOfValueType: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
244  }
-
245  bool result = false;
-
246  if (PySequence_Check(obj)) {
-
247  int count = PySequence_Size(obj);
-
248  if (count >= 0) {
-
249  result = true;
-
250  PyObject* value;
-
251  for (int i = 0;i<count;i++) {
-
252  value = PySequence_GetItem(obj,i);
-
253  // this is quite some overhead, but it avoids having another large switch...
-
254  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
-
255  Py_XDECREF(value);
-
256  if (v.isValid()) {
-
257  list->push_back(qvariant_cast<T>(v));
-
258  } else {
-
259  result = false;
-
260  break;
-
261  }
-
262  }
-
263  }
-
264  }
-
265  return result;
-
266 }
-
267 
-
268 //--------------------------------------------------------------------------------------------------------------------
-
269 
-
270 template<class ListType, class T>
-
271 PyObject* PythonQtConvertListOfKnownClassToPythonList(const void* /*QList<T>* */ inList, int metaTypeId)
-
272 {
-
273  ListType* list = (ListType*)inList;
- -
275  if (innerType == nullptr) {
-
276  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
-
277  }
-
278  PyObject* result = PyTuple_New(list->size());
-
279  int i = 0;
-
280  Q_FOREACH(const T& value, *list) {
-
281  T* newObject = new T(value);
- -
283  wrap->_ownedByPythonQt = true;
-
284  PyTuple_SET_ITEM(result, i, (PyObject*)wrap);
-
285  i++;
-
286  }
-
287  return result;
-
288 }
-
289 
-
290 template<class ListType, class T>
-
291 bool PythonQtConvertPythonListToListOfKnownClass(PyObject* obj, void* /*QList<T>* */ outList, int metaTypeId, bool /*strict*/)
-
292 {
-
293  ListType* list = (ListType*)outList;
- -
295  if (innerType == nullptr) {
-
296  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
-
297  }
-
298  bool result = false;
-
299  if (PySequence_Check(obj)) {
-
300  int count = PySequence_Size(obj);
-
301  if (count >= 0) {
-
302  result = true;
-
303  PyObject* value;
-
304  for (int i = 0; i < count; i++) {
-
305  value = PySequence_GetItem(obj, i);
-
306  if (PyObject_TypeCheck(value, &PythonQtInstanceWrapper_Type)) {
- -
308  bool ok;
-
309  T* object = (T*)PythonQtConv::castWrapperTo(wrap, innerType->className(), ok);
-
310  Py_XDECREF(value);
-
311  if (ok) {
-
312  list->push_back(*object);
-
313  } else {
-
314  result = false;
-
315  break;
-
316  }
-
317  } else {
-
318  Py_XDECREF(value);
-
319  result = false;
-
320  break;
-
321  }
-
322  }
-
323  }
-
324  }
-
325  return result;
-
326 }
-
327 
-
328 //--------------------------------------------------------------------------------------------------------------------
-
329 
-
330 template<class T1, class T2>
-
331 PyObject* PythonQtConvertPairToPython(const void* /*QPair<T1,T2>* */ inPair, int metaTypeId)
-
332 {
-
333  QPair<T1, T2>* pair = (QPair<T1, T2>*)inPair;
-
334  static int innerType1 = -1;
-
335  static int innerType2 = -1;
-
336  if (innerType1==-1) {
-
337  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
338  QList<QByteArray> names = innerTypes.split(',');
-
339  innerType1 = QMetaType::type(names.at(0).trimmed());
-
340  innerType2 = QMetaType::type(names.at(1).trimmed());
-
341  }
-
342  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
-
343  std::cerr << "PythonQtConvertPairToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
344  }
-
345  PyObject* result = PyTuple_New(2);
-
346  PyTuple_SET_ITEM(result, 0, PythonQtConv::convertQtValueToPythonInternal(innerType1, &pair->first));
-
347  PyTuple_SET_ITEM(result, 1, PythonQtConv::convertQtValueToPythonInternal(innerType2, &pair->second));
-
348  return result;
-
349 }
-
350 
-
351 template<class T1, class T2>
-
352 bool PythonQtConvertPythonToPair(PyObject* obj, void* /*QPair<T1,T2>* */ outPair, int metaTypeId, bool /*strict*/)
-
353 {
-
354  QPair<T1, T2>* pair = (QPair<T1, T2>*)outPair;
-
355  static int innerType1 = -1;
-
356  static int innerType2 = -1;
-
357  if (innerType1 == -1) {
-
358  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
359  QList<QByteArray> names = innerTypes.split(',');
-
360  innerType1 = QMetaType::type(names.at(0).trimmed());
-
361  innerType2 = QMetaType::type(names.at(1).trimmed());
-
362  }
-
363  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
-
364  std::cerr << "PythonQtConvertPythonToPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
365  }
-
366  bool result = false;
-
367  if (PySequence_Check(obj)) {
-
368  int count = PySequence_Size(obj);
-
369  if (count == 2) {
-
370  result = true;
-
371  PyObject* value;
-
372 
-
373  value = PySequence_GetItem(obj, 0);
-
374  // this is quite some overhead, but it avoids having another large switch...
-
375  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType1);
-
376  Py_XDECREF(value);
-
377  if (v.isValid()) {
-
378  pair->first = qvariant_cast<T1>(v);
-
379  } else {
-
380  return false;
-
381  }
-
382 
-
383  value = PySequence_GetItem(obj, 1);
-
384  // this is quite some overhead, but it avoids having another large switch...
-
385  v = PythonQtConv::PyObjToQVariant(value, innerType2);
-
386  Py_XDECREF(value);
-
387  if (v.isValid()) {
-
388  pair->second = qvariant_cast<T2>(v);
-
389  } else {
-
390  return false;
-
391  }
-
392  }
-
393  }
-
394  return result;
-
395 }
-
396 
-
397 //--------------------------------------------------------------------------------------------------------------------
-
398 
-
399 template<class ListType, class T1, class T2>
-
400 PyObject* PythonQtConvertListOfPairToPythonList(const void* /*QList<QPair<T1,T2> >* */ inList, int metaTypeId)
-
401 {
-
402  ListType* list = (ListType*)inList;
-
403  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
404  if (innerType == QVariant::Invalid) {
-
405  std::cerr << "PythonQtConvertListOfPairToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
406  }
-
407  PyObject* result = PyTuple_New(list->size());
-
408  int i = 0;
-
409  typedef const QPair<T1, T2> Pair;
-
410  Q_FOREACH(Pair& value, *list) {
-
411  PyObject* object = PythonQtConvertPairToPython<T1, T2>(&value, innerType);
-
412  PyTuple_SET_ITEM(result, i, object);
-
413  i++;
-
414  }
-
415  return result;
-
416 }
-
417 
-
418 template<class ListType, class T1, class T2>
-
419 bool PythonQtConvertPythonListToListOfPair(PyObject* obj, void* /*QList<QPair<T1,T2> >* */ outList, int metaTypeId, bool /*strict*/)
-
420 {
-
421  ListType* list = (ListType*)outList;
-
422  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
-
423  if (innerType == QVariant::Invalid) {
-
424  std::cerr << "PythonQtConvertPythonListToListOfPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
425  }
-
426  bool result = false;
-
427  if (PySequence_Check(obj)) {
-
428  int count = PySequence_Size(obj);
-
429  if (count >= 0) {
-
430  result = true;
-
431  PyObject* value;
-
432  for (int i = 0; i < count; i++) {
-
433  QPair<T1, T2> pair;
-
434  value = PySequence_GetItem(obj, i);
-
435  if (PythonQtConvertPythonToPair<T1,T2>(value, &pair, innerType, false)) {
-
436  Py_XDECREF(value);
-
437  list->push_back(pair);
-
438  } else {
-
439  Py_XDECREF(value);
-
440  result = false;
-
441  break;
-
442  }
-
443  }
-
444  }
-
445  }
-
446  return result;
-
447 }
-
448 
-
449 //--------------------------------------------------------------------------------------------------------------------
-
450 
-
451 template<class MapType, class T>
-
452 PyObject* PythonQtConvertIntegerMapToPython(const void* /*QMap<int, T>* */ inMap, int metaTypeId)
-
453 {
-
454  MapType* map = (MapType*)inMap;
-
455  static int innerType = -1;
-
456  if (innerType == -1) {
-
457  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
458  QList<QByteArray> names = innerTypes.split(',');
-
459  innerType = QMetaType::type(names.at(1).trimmed());
-
460  }
-
461  if (innerType == QVariant::Invalid) {
-
462  std::cerr << "PythonQtConvertIntegerMapToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
463  }
-
464 
-
465  PyObject* result = PyDict_New();
-
466  typename MapType::const_iterator t = map->constBegin();
-
467  PyObject* key;
-
468  PyObject* val;
-
469  for (; t != map->constEnd(); t++) {
-
470  key = PyInt_FromLong(t.key());
-
471  val = PythonQtConv::convertQtValueToPythonInternal(innerType, &t.value());
-
472  PyDict_SetItem(result, key, val);
-
473  Py_DECREF(key);
-
474  Py_DECREF(val);
+
199  static bool isStringType(PyTypeObject* type);
+
200 
+
202  static void registerStringViewTypes();
+
203 
+
204 protected:
+
205  static QHash<int, PythonQtConvertMetaTypeToPythonCB*> _metaTypeToPythonConverters;
+
206  static QHash<int, PythonQtConvertPythonToMetaTypeCB*> _pythonToMetaTypeConverters;
+ +
208 
+
210  static void* handlePythonToQtAutoConversion(int typeId, PyObject* obj, void* alreadyAllocatedCPPObject, PythonQtArgumentFrame* frame);
+
211 
+ +
215  static bool ConvertPythonListToQListOfPointerType(PyObject* obj, QList<void*>* list, const PythonQtMethodInfo::ParameterInfo& info, bool strict);
+
216 
+
218  template <typename Map>
+
219  static void pythonToMapVariant(PyObject* val, QVariant& result);
+
221  template <typename Map>
+
222  static PyObject* mapToPython (const Map& m);
+
223 
+
224 #if QT_VERSION < 0x060000
+
225  static int stringRefTypeId;
+
226 #else
+
227  static int stringViewTypeId;
+
228  static int anyStringViewTypeId;
+
229 #endif
+
230 };
+
231 
+
232 template<class ListType, class T>
+
233 PyObject* PythonQtConvertListOfValueTypeToPythonList(const void* /*QList<T>* */ inList, int metaTypeId)
+
234 {
+
235  ListType* list = (ListType*)inList;
+
236  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
237  if (innerType == QVariant::Invalid) {
+
238  std::cerr << "PythonQtConvertListOfValueTypeToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
239  }
+
240  PyObject* result = PyTuple_New(list->size());
+
241  int i = 0;
+
242  Q_FOREACH (const T& value, *list) {
+
243  PyTuple_SET_ITEM(result, i, PythonQtConv::convertQtValueToPythonInternal(innerType, &value));
+
244  i++;
+
245  }
+
246  return result;
+
247 }
+
248 
+
249 template<class ListType, class T>
+
250 bool PythonQtConvertPythonListToListOfValueType(PyObject* obj, void* /*QList<T>* */ outList, int metaTypeId, bool /*strict*/)
+
251 {
+
252  ListType* list = (ListType*)outList;
+
253  static const int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
254  if (innerType == QVariant::Invalid) {
+
255  std::cerr << "PythonQtConvertPythonListToListOfValueType: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
256  }
+
257  bool result = false;
+
258  if (PySequence_Check(obj)) {
+
259  int count = PySequence_Size(obj);
+
260  if (count >= 0) {
+
261  result = true;
+
262  PyObject* value;
+
263  for (int i = 0;i<count;i++) {
+
264  value = PySequence_GetItem(obj,i);
+
265  // this is quite some overhead, but it avoids having another large switch...
+
266  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
+
267  Py_XDECREF(value);
+
268  if (v.isValid()) {
+
269  list->push_back(qvariant_cast<T>(v));
+
270  } else {
+
271  result = false;
+
272  break;
+
273  }
+
274  }
+
275  }
+
276  }
+
277  return result;
+
278 }
+
279 
+
280 //--------------------------------------------------------------------------------------------------------------------
+
281 
+
282 template<class ListType, class T>
+
283 PyObject* PythonQtConvertListOfKnownClassToPythonList(const void* /*QList<T>* */ inList, int metaTypeId)
+
284 {
+
285  ListType* list = (ListType*)inList;
+ +
287  if (innerType == nullptr) {
+
288  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
+
289  }
+
290  PyObject* result = PyTuple_New(list->size());
+
291  int i = 0;
+
292  Q_FOREACH(const T& value, *list) {
+
293  T* newObject = new T(value);
+ +
295  wrap->_ownedByPythonQt = true;
+
296  PyTuple_SET_ITEM(result, i, (PyObject*)wrap);
+
297  i++;
+
298  }
+
299  return result;
+
300 }
+
301 
+
302 template<class ListType, class T>
+
303 bool PythonQtConvertPythonListToListOfKnownClass(PyObject* obj, void* /*QList<T>* */ outList, int metaTypeId, bool /*strict*/)
+
304 {
+
305  ListType* list = (ListType*)outList;
+ +
307  if (innerType == nullptr) {
+
308  std::cerr << "PythonQtConvertListOfKnownClassToPythonList: unknown inner type " << innerType->className().constData() << std::endl;
+
309  }
+
310  bool result = false;
+
311  if (PySequence_Check(obj)) {
+
312  int count = PySequence_Size(obj);
+
313  if (count >= 0) {
+
314  result = true;
+
315  PyObject* value;
+
316  for (int i = 0; i < count; i++) {
+
317  value = PySequence_GetItem(obj, i);
+
318  if (PyObject_TypeCheck(value, &PythonQtInstanceWrapper_Type)) {
+ +
320  bool ok;
+
321  T* object = (T*)PythonQtConv::castWrapperTo(wrap, innerType->className(), ok);
+
322  Py_XDECREF(value);
+
323  if (ok) {
+
324  list->push_back(*object);
+
325  } else {
+
326  result = false;
+
327  break;
+
328  }
+
329  } else {
+
330  Py_XDECREF(value);
+
331  result = false;
+
332  break;
+
333  }
+
334  }
+
335  }
+
336  }
+
337  return result;
+
338 }
+
339 
+
340 //--------------------------------------------------------------------------------------------------------------------
+
341 
+
342 template<class T1, class T2>
+
343 PyObject* PythonQtConvertPairToPython(const void* /*QPair<T1,T2>* */ inPair, int metaTypeId)
+
344 {
+
345  QPair<T1, T2>* pair = (QPair<T1, T2>*)inPair;
+
346  static int innerType1 = -1;
+
347  static int innerType2 = -1;
+
348  if (innerType1==-1) {
+
349  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
350  QList<QByteArray> names = innerTypes.split(',');
+
351  innerType1 = QMetaType::type(names.at(0).trimmed());
+
352  innerType2 = QMetaType::type(names.at(1).trimmed());
+
353  }
+
354  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
+
355  std::cerr << "PythonQtConvertPairToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
356  }
+
357  PyObject* result = PyTuple_New(2);
+
358  PyTuple_SET_ITEM(result, 0, PythonQtConv::convertQtValueToPythonInternal(innerType1, &pair->first));
+
359  PyTuple_SET_ITEM(result, 1, PythonQtConv::convertQtValueToPythonInternal(innerType2, &pair->second));
+
360  return result;
+
361 }
+
362 
+
363 template<class T1, class T2>
+
364 bool PythonQtConvertPythonToPair(PyObject* obj, void* /*QPair<T1,T2>* */ outPair, int metaTypeId, bool /*strict*/)
+
365 {
+
366  QPair<T1, T2>* pair = (QPair<T1, T2>*)outPair;
+
367  static int innerType1 = -1;
+
368  static int innerType2 = -1;
+
369  if (innerType1 == -1) {
+
370  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
371  QList<QByteArray> names = innerTypes.split(',');
+
372  innerType1 = QMetaType::type(names.at(0).trimmed());
+
373  innerType2 = QMetaType::type(names.at(1).trimmed());
+
374  }
+
375  if (innerType1 == QVariant::Invalid || innerType2 == QVariant::Invalid) {
+
376  std::cerr << "PythonQtConvertPythonToPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
377  }
+
378  bool result = false;
+
379  if (PySequence_Check(obj)) {
+
380  int count = PySequence_Size(obj);
+
381  if (count == 2) {
+
382  result = true;
+
383  PyObject* value;
+
384 
+
385  value = PySequence_GetItem(obj, 0);
+
386  // this is quite some overhead, but it avoids having another large switch...
+
387  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType1);
+
388  Py_XDECREF(value);
+
389  if (v.isValid()) {
+
390  pair->first = qvariant_cast<T1>(v);
+
391  } else {
+
392  return false;
+
393  }
+
394 
+
395  value = PySequence_GetItem(obj, 1);
+
396  // this is quite some overhead, but it avoids having another large switch...
+
397  v = PythonQtConv::PyObjToQVariant(value, innerType2);
+
398  Py_XDECREF(value);
+
399  if (v.isValid()) {
+
400  pair->second = qvariant_cast<T2>(v);
+
401  } else {
+
402  return false;
+
403  }
+
404  }
+
405  }
+
406  return result;
+
407 }
+
408 
+
409 //--------------------------------------------------------------------------------------------------------------------
+
410 
+
411 template<class ListType, class T1, class T2>
+
412 PyObject* PythonQtConvertListOfPairToPythonList(const void* /*QList<QPair<T1,T2> >* */ inList, int metaTypeId)
+
413 {
+
414  ListType* list = (ListType*)inList;
+
415  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
416  if (innerType == QVariant::Invalid) {
+
417  std::cerr << "PythonQtConvertListOfPairToPythonList: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
418  }
+
419  PyObject* result = PyTuple_New(list->size());
+
420  int i = 0;
+
421  typedef const QPair<T1, T2> Pair;
+
422  Q_FOREACH(Pair& value, *list) {
+
423  PyObject* object = PythonQtConvertPairToPython<T1, T2>(&value, innerType);
+
424  PyTuple_SET_ITEM(result, i, object);
+
425  i++;
+
426  }
+
427  return result;
+
428 }
+
429 
+
430 template<class ListType, class T1, class T2>
+
431 bool PythonQtConvertPythonListToListOfPair(PyObject* obj, void* /*QList<QPair<T1,T2> >* */ outList, int metaTypeId, bool /*strict*/)
+
432 {
+
433  ListType* list = (ListType*)outList;
+
434  static int innerType = PythonQtMethodInfo::getInnerTemplateMetaType(QByteArray(QMetaType::typeName(metaTypeId)));
+
435  if (innerType == QVariant::Invalid) {
+
436  std::cerr << "PythonQtConvertPythonListToListOfPair: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
437  }
+
438  bool result = false;
+
439  if (PySequence_Check(obj)) {
+
440  int count = PySequence_Size(obj);
+
441  if (count >= 0) {
+
442  result = true;
+
443  PyObject* value;
+
444  for (int i = 0; i < count; i++) {
+
445  QPair<T1, T2> pair;
+
446  value = PySequence_GetItem(obj, i);
+
447  if (PythonQtConvertPythonToPair<T1,T2>(value, &pair, innerType, false)) {
+
448  Py_XDECREF(value);
+
449  list->push_back(pair);
+
450  } else {
+
451  Py_XDECREF(value);
+
452  result = false;
+
453  break;
+
454  }
+
455  }
+
456  }
+
457  }
+
458  return result;
+
459 }
+
460 
+
461 //--------------------------------------------------------------------------------------------------------------------
+
462 
+
463 template<class MapType, class T>
+
464 PyObject* PythonQtConvertIntegerMapToPython(const void* /*QMap<int, T>* */ inMap, int metaTypeId)
+
465 {
+
466  MapType* map = (MapType*)inMap;
+
467  static int innerType = -1;
+
468  if (innerType == -1) {
+
469  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
470  QList<QByteArray> names = innerTypes.split(',');
+
471  innerType = QMetaType::type(names.at(1).trimmed());
+
472  }
+
473  if (innerType == QVariant::Invalid) {
+
474  std::cerr << "PythonQtConvertIntegerMapToPython: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
475  }
-
476  return result;
-
477 }
-
478 
-
479 template<class MapType, class T>
-
480 bool PythonQtConvertPythonToIntegerMap(PyObject* val, void* /*QMap<int, T>* */ outMap, int metaTypeId, bool /*strict*/)
-
481 {
-
482  MapType* map = (MapType*)outMap;
-
483  static int innerType = -1;
-
484  if (innerType == -1) {
-
485  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
-
486  QList<QByteArray> names = innerTypes.split(',');
-
487  innerType = QMetaType::type(names.at(1).trimmed());
-
488  }
-
489  if (innerType == QVariant::Invalid) {
-
490  std::cerr << "PythonQtConvertPythonToIntegerMap: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
-
491  }
-
492  bool result = false;
-
493  if (PyMapping_Check(val)) {
-
494  result = true;
-
495  PyObject* items = PyMapping_Items(val);
-
496  if (items) {
-
497  int count = PyList_Size(items);
-
498  PyObject* value;
-
499  PyObject* key;
-
500  PyObject* tuple;
-
501  for (int i = 0; i < count; i++) {
-
502  tuple = PyList_GetItem(items, i);
-
503  key = PyTuple_GetItem(tuple, 0);
-
504  value = PyTuple_GetItem(tuple, 1);
-
505 
-
506  bool ok;
-
507  int intKey = PythonQtConv::PyObjGetInt(key, false, ok);
-
508  // this is quite some overhead, but it avoids having another large switch...
-
509  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
-
510  if (v.isValid() && ok) {
-
511  map->insert(intKey, qvariant_cast<T>(v));
-
512  } else {
-
513  result = false;
-
514  break;
-
515  }
-
516  }
-
517  Py_DECREF(items);
-
518  }
-
519  }
-
520  return result;
-
521 }
-
522 
-
523 
-
524 #endif
+
476 
+
477  PyObject* result = PyDict_New();
+
478  typename MapType::const_iterator t = map->constBegin();
+
479  PyObject* key;
+
480  PyObject* val;
+
481  for (; t != map->constEnd(); t++) {
+
482  key = PyInt_FromLong(t.key());
+
483  val = PythonQtConv::convertQtValueToPythonInternal(innerType, &t.value());
+
484  PyDict_SetItem(result, key, val);
+
485  Py_DECREF(key);
+
486  Py_DECREF(val);
+
487  }
+
488  return result;
+
489 }
+
490 
+
491 template<class MapType, class T>
+
492 bool PythonQtConvertPythonToIntegerMap(PyObject* val, void* /*QMap<int, T>* */ outMap, int metaTypeId, bool /*strict*/)
+
493 {
+
494  MapType* map = (MapType*)outMap;
+
495  static int innerType = -1;
+
496  if (innerType == -1) {
+
497  QByteArray innerTypes = PythonQtMethodInfo::getInnerTemplateTypeName(QByteArray(QMetaType::typeName(metaTypeId)));
+
498  QList<QByteArray> names = innerTypes.split(',');
+
499  innerType = QMetaType::type(names.at(1).trimmed());
+
500  }
+
501  if (innerType == QVariant::Invalid) {
+
502  std::cerr << "PythonQtConvertPythonToIntegerMap: unknown inner type " << QMetaType::typeName(metaTypeId) << std::endl;
+
503  }
+
504  bool result = false;
+
505  if (PyMapping_Check(val)) {
+
506  result = true;
+
507  PyObject* items = PyMapping_Items(val);
+
508  if (items) {
+
509  int count = PyList_Size(items);
+
510  PyObject* value;
+
511  PyObject* key;
+
512  PyObject* tuple;
+
513  for (int i = 0; i < count; i++) {
+
514  tuple = PyList_GetItem(items, i);
+
515  key = PyTuple_GetItem(tuple, 0);
+
516  value = PyTuple_GetItem(tuple, 1);
+
517 
+
518  bool ok;
+
519  int intKey = PythonQtConv::PyObjGetInt(key, false, ok);
+
520  // this is quite some overhead, but it avoids having another large switch...
+
521  QVariant v = PythonQtConv::PyObjToQVariant(value, innerType);
+
522  if (v.isValid() && ok) {
+
523  map->insert(intKey, qvariant_cast<T>(v));
+
524  } else {
+
525  result = false;
+
526  break;
+
527  }
+
528  }
+
529  Py_DECREF(items);
+
530  }
+
531  }
+
532  return result;
+
533 }
+
534 
+
535 
+
536 #endif
QVariant PythonQtConvertPythonSequenceToQVariantListCB(PyObject *inObject)
-
PyObject * PythonQtConvertIntegerMapToPython(const void *inMap, int metaTypeId)
-
PyObject * PythonQtConvertListOfKnownClassToPythonList(const void *inList, int metaTypeId)
+
PyObject * PythonQtConvertIntegerMapToPython(const void *inMap, int metaTypeId)
+
PyObject * PythonQtConvertListOfKnownClassToPythonList(const void *inList, int metaTypeId)
PyObject * PythonQtConvertMetaTypeToPythonCB(const void *inObject, int metaTypeId)
-
bool PythonQtConvertPythonToIntegerMap(PyObject *val, void *outMap, int metaTypeId, bool)
-
PyObject * PythonQtConvertPairToPython(const void *inPair, int metaTypeId)
-
bool PythonQtConvertPythonListToListOfPair(PyObject *obj, void *outList, int metaTypeId, bool)
-
PyObject * PythonQtConvertListOfValueTypeToPythonList(const void *inList, int metaTypeId)
+
bool PythonQtConvertPythonToIntegerMap(PyObject *val, void *outMap, int metaTypeId, bool)
+
PyObject * PythonQtConvertPairToPython(const void *inPair, int metaTypeId)
+
bool PythonQtConvertPythonListToListOfPair(PyObject *obj, void *outList, int metaTypeId, bool)
+
PyObject * PythonQtConvertListOfValueTypeToPythonList(const void *inList, int metaTypeId)
bool PythonQtConvertPythonToMetaTypeCB(PyObject *inObject, void *outObject, int metaTypeId, bool strict)
-
bool PythonQtConvertPythonToPair(PyObject *obj, void *outPair, int metaTypeId, bool)
-
PyObject * PythonQtConvertListOfPairToPythonList(const void *inList, int metaTypeId)
-
bool PythonQtConvertPythonListToListOfKnownClass(PyObject *obj, void *outList, int metaTypeId, bool)
-
bool PythonQtConvertPythonListToListOfValueType(PyObject *obj, void *outList, int metaTypeId, bool)
+
bool PythonQtConvertPythonToPair(PyObject *obj, void *outPair, int metaTypeId, bool)
+
PyObject * PythonQtConvertListOfPairToPythonList(const void *inList, int metaTypeId)
+
bool PythonQtConvertPythonListToListOfKnownClass(PyObject *obj, void *outList, int metaTypeId, bool)
+
bool PythonQtConvertPythonListToListOfValueType(PyObject *obj, void *outList, int metaTypeId, bool)
PYTHONQT_EXPORT PyTypeObject PythonQtInstanceWrapper_Type
struct _object PyObject
@@ -561,7 +572,7 @@
static PyObject * convertFromPythonQtSafeObjectPtr(const void *inObject, int)
static qint64 PyObjGetLongLong(PyObject *val, bool strict, bool &ok)
get int64 from py object
static PyObject * createCopyFromMetaType(int type, const void *object)
creates a copy of given object, using the QMetaType
-
static QHash< int, PythonQtConvertPythonToMetaTypeCB * > _pythonToMetaTypeConverters
+
static QHash< int, PythonQtConvertPythonToMetaTypeCB * > _pythonToMetaTypeConverters
static bool convertToQListOfPythonQtObjectPtr(PyObject *obj, void *outList, int, bool)
static void setPythonSequenceToQVariantListCallback(PythonQtConvertPythonSequenceToQVariantListCB *cb)
static double PyObjGetDouble(PyObject *val, bool strict, bool &ok)
get double from py object
@@ -577,6 +588,7 @@
static PyObject * mapToPython(const Map &m)
helper template function for QVariantMapToPyObject/QVariantHashToPyObject
static QByteArray getCPPTypeName(PyObject *type)
Returns the name of the equivalent CPP type (for signals and slots)
static bool ConvertPythonListToQListOfPointerType(PyObject *obj, QList< void * > *list, const PythonQtMethodInfo::ParameterInfo &info, bool strict)
tries to convert the python object to a QList of pointers to type objects, returns true on success
+
static int stringRefTypeId
static PyObject * convertFromStringRef(const void *inObject, int)
static PyObject * QVariantHashToPyObject(const QVariantHash &m)
static PyObject * QStringToPyObject(const QString &str)
converts QString to Python string (unicode!)
@@ -591,14 +603,15 @@
static PyObject * ConvertQtValueToPython(const PythonQtMethodInfo::ParameterInfo &info, const void *data)
converts the Qt parameter given in data, interpreting it as a info parameter, into a Python object,
static PyObject * GetPyBool(bool val)
get a ref counted True or False Python object
static int PyObjGetInt(PyObject *val, bool strict, bool &ok)
get int from py object
-
static PythonQtConvertPythonSequenceToQVariantListCB * _pythonSequenceToQVariantListCB
+
static PythonQtConvertPythonSequenceToQVariantListCB * _pythonSequenceToQVariantListCB
static QString PyObjGetRepresentation(PyObject *val)
get string representation of py object
-
static QHash< int, PythonQtConvertMetaTypeToPythonCB * > _metaTypeToPythonConverters
+
static QHash< int, PythonQtConvertMetaTypeToPythonCB * > _metaTypeToPythonConverters
static void registerPythonToMetaTypeConverter(int metaTypeId, PythonQtConvertPythonToMetaTypeCB *cb)
register a converter callback from python to cpp for given metatype
static QStringList PyObjToStringList(PyObject *val, bool strict, bool &ok)
create a string list from python sequence
static PyObject * QStringListToPyObject(const QStringList &list)
converts QStringList to Python tuple
static void * ConvertPythonToQt(const PythonQtMethodInfo::ParameterInfo &info, PyObject *obj, bool strict, PythonQtClassInfo *classInfo, void *alreadyAllocatedCPPObject, PythonQtArgumentFrame *frame=nullptr)
convert python object to Qt (according to the given parameter) and if the conversion should be strict...
static void registerMetaTypeToPythonConverter(int metaTypeId, PythonQtConvertMetaTypeToPythonCB *cb)
register a converter callback from cpp to python for given metatype
+
static void registerStringViewTypes()
Register QStringView like types, that need to be handled specially.
static QByteArray getInnerTemplateTypeName(const QByteArray &typeName)
returns the inner type name of a simple template of the form SomeObject<InnerType>
static int getInnerTemplateMetaType(const QByteArray &typeName)
returns the inner type id of a simple template of the form SomeObject<InnerType>
static QByteArray getInnerListTypeName(const QByteArray &typeName)
returns the inner type name of a simple template or the typename without appended "List".
@@ -612,7 +625,7 @@

diff --git a/PythonQtCppWrapperFactory_8h.html b/PythonQtCppWrapperFactory_8h.html index a6103b9fc..58f21ee2d 100644 --- a/PythonQtCppWrapperFactory_8h.html +++ b/PythonQtCppWrapperFactory_8h.html @@ -74,7 +74,7 @@

diff --git a/PythonQtCppWrapperFactory_8h_source.html b/PythonQtCppWrapperFactory_8h_source.html index ee9f5f8b5..612862ab9 100644 --- a/PythonQtCppWrapperFactory_8h_source.html +++ b/PythonQtCppWrapperFactory_8h_source.html @@ -133,7 +133,7 @@

diff --git a/PythonQtDoc_8h.html b/PythonQtDoc_8h.html index 31c61e3eb..c5bfcc015 100644 --- a/PythonQtDoc_8h.html +++ b/PythonQtDoc_8h.html @@ -59,7 +59,7 @@

diff --git a/PythonQtDoc_8h_source.html b/PythonQtDoc_8h_source.html index 16bb91785..f785d3627 100644 --- a/PythonQtDoc_8h_source.html +++ b/PythonQtDoc_8h_source.html @@ -91,7 +91,7 @@

diff --git a/PythonQtImportFileInterface_8h.html b/PythonQtImportFileInterface_8h.html index 92faa8a2f..127ec3719 100644 --- a/PythonQtImportFileInterface_8h.html +++ b/PythonQtImportFileInterface_8h.html @@ -71,7 +71,7 @@

diff --git a/PythonQtImportFileInterface_8h_source.html b/PythonQtImportFileInterface_8h_source.html index 58c612227..b0cb4124f 100644 --- a/PythonQtImportFileInterface_8h_source.html +++ b/PythonQtImportFileInterface_8h_source.html @@ -128,7 +128,7 @@ diff --git a/PythonQtImporter_8h.html b/PythonQtImporter_8h.html index 6186e22cb..4f45f5cf5 100644 --- a/PythonQtImporter_8h.html +++ b/PythonQtImporter_8h.html @@ -81,7 +81,7 @@ diff --git a/PythonQtImporter_8h_source.html b/PythonQtImporter_8h_source.html index 3630ff356..4de8d448c 100644 --- a/PythonQtImporter_8h_source.html +++ b/PythonQtImporter_8h_source.html @@ -189,7 +189,7 @@ diff --git a/PythonQtInstanceWrapper_8h.html b/PythonQtInstanceWrapper_8h.html index c934a9de2..cf624a6da 100644 --- a/PythonQtInstanceWrapper_8h.html +++ b/PythonQtInstanceWrapper_8h.html @@ -160,14 +160,14 @@

-

Referenced by PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertPythonListToListOfKnownClass().

diff --git a/PythonQtInstanceWrapper_8h_source.html b/PythonQtInstanceWrapper_8h_source.html index bd7c1b665..97e067798 100644 --- a/PythonQtInstanceWrapper_8h_source.html +++ b/PythonQtInstanceWrapper_8h_source.html @@ -189,7 +189,7 @@ diff --git a/PythonQtMethodInfo_8h.html b/PythonQtMethodInfo_8h.html index d41d91dc6..f508d9752 100644 --- a/PythonQtMethodInfo_8h.html +++ b/PythonQtMethodInfo_8h.html @@ -103,7 +103,7 @@

diff --git a/PythonQtMethodInfo_8h_source.html b/PythonQtMethodInfo_8h_source.html index 28a0fd75c..c630d7ff4 100644 --- a/PythonQtMethodInfo_8h_source.html +++ b/PythonQtMethodInfo_8h_source.html @@ -328,7 +328,7 @@ diff --git a/PythonQtMisc_8h.html b/PythonQtMisc_8h.html index 1fb0bcac9..1c31f1770 100644 --- a/PythonQtMisc_8h.html +++ b/PythonQtMisc_8h.html @@ -370,7 +370,7 @@

diff --git a/PythonQtMisc_8h_source.html b/PythonQtMisc_8h_source.html index d03e5bcb2..0630414e1 100644 --- a/PythonQtMisc_8h_source.html +++ b/PythonQtMisc_8h_source.html @@ -177,7 +177,7 @@ diff --git a/PythonQtObjectPtr_8h.html b/PythonQtObjectPtr_8h.html index 058fbcdac..2d717766f 100644 --- a/PythonQtObjectPtr_8h.html +++ b/PythonQtObjectPtr_8h.html @@ -77,7 +77,7 @@ diff --git a/PythonQtObjectPtr_8h_source.html b/PythonQtObjectPtr_8h_source.html index d7bccfd44..17d9c0f79 100644 --- a/PythonQtObjectPtr_8h_source.html +++ b/PythonQtObjectPtr_8h_source.html @@ -388,7 +388,7 @@ diff --git a/PythonQtProperty_8h.html b/PythonQtProperty_8h.html index a9c309029..0cee2bb3f 100644 --- a/PythonQtProperty_8h.html +++ b/PythonQtProperty_8h.html @@ -122,7 +122,7 @@

diff --git a/PythonQtProperty_8h_source.html b/PythonQtProperty_8h_source.html index 298db7946..75e572778 100644 --- a/PythonQtProperty_8h_source.html +++ b/PythonQtProperty_8h_source.html @@ -162,7 +162,7 @@ diff --git a/PythonQtPythonInclude_8h.html b/PythonQtPythonInclude_8h.html index 48f52c99e..ba701d4f3 100644 --- a/PythonQtPythonInclude_8h.html +++ b/PythonQtPythonInclude_8h.html @@ -167,7 +167,7 @@

diff --git a/PythonQtPythonInclude_8h_source.html b/PythonQtPythonInclude_8h_source.html index 79e9e026f..01404ec84 100644 --- a/PythonQtPythonInclude_8h_source.html +++ b/PythonQtPythonInclude_8h_source.html @@ -160,7 +160,7 @@ diff --git a/PythonQtQFileImporter_8h.html b/PythonQtQFileImporter_8h.html index a1723c6cb..eef9f963e 100644 --- a/PythonQtQFileImporter_8h.html +++ b/PythonQtQFileImporter_8h.html @@ -70,7 +70,7 @@ diff --git a/PythonQtQFileImporter_8h_source.html b/PythonQtQFileImporter_8h_source.html index d595d47e6..47404b651 100644 --- a/PythonQtQFileImporter_8h_source.html +++ b/PythonQtQFileImporter_8h_source.html @@ -118,7 +118,7 @@ diff --git a/PythonQtSignalReceiver_8h.html b/PythonQtSignalReceiver_8h.html index 2dcea9798..d6399ec7e 100644 --- a/PythonQtSignalReceiver_8h.html +++ b/PythonQtSignalReceiver_8h.html @@ -77,7 +77,7 @@ diff --git a/PythonQtSignalReceiver_8h_source.html b/PythonQtSignalReceiver_8h_source.html index dbc677e91..049c2af80 100644 --- a/PythonQtSignalReceiver_8h_source.html +++ b/PythonQtSignalReceiver_8h_source.html @@ -197,7 +197,7 @@ diff --git a/PythonQtSignal_8h.html b/PythonQtSignal_8h.html index 0c5d927e0..19c58fe15 100644 --- a/PythonQtSignal_8h.html +++ b/PythonQtSignal_8h.html @@ -170,7 +170,7 @@

diff --git a/PythonQtSignal_8h_source.html b/PythonQtSignal_8h_source.html index 348f33ea5..cbd510875 100644 --- a/PythonQtSignal_8h_source.html +++ b/PythonQtSignal_8h_source.html @@ -132,7 +132,7 @@ diff --git a/PythonQtSlotDecorator_8h.html b/PythonQtSlotDecorator_8h.html index 16a53189a..d2af433d8 100644 --- a/PythonQtSlotDecorator_8h.html +++ b/PythonQtSlotDecorator_8h.html @@ -120,7 +120,7 @@

diff --git a/PythonQtSlotDecorator_8h_source.html b/PythonQtSlotDecorator_8h_source.html index b49dd22b0..fa7a3ba91 100644 --- a/PythonQtSlotDecorator_8h_source.html +++ b/PythonQtSlotDecorator_8h_source.html @@ -106,7 +106,7 @@ diff --git a/PythonQtSlot_8h.html b/PythonQtSlot_8h.html index 5f8bd9482..ab853305b 100644 --- a/PythonQtSlot_8h.html +++ b/PythonQtSlot_8h.html @@ -473,7 +473,7 @@

diff --git a/PythonQtSlot_8h_source.html b/PythonQtSlot_8h_source.html index 456922ed0..1a2995dc8 100644 --- a/PythonQtSlot_8h_source.html +++ b/PythonQtSlot_8h_source.html @@ -158,7 +158,7 @@ diff --git a/PythonQtStdDecorators_8h.html b/PythonQtStdDecorators_8h.html index 03082f068..b32a19ccc 100644 --- a/PythonQtStdDecorators_8h.html +++ b/PythonQtStdDecorators_8h.html @@ -91,7 +91,7 @@ diff --git a/PythonQtStdDecorators_8h_source.html b/PythonQtStdDecorators_8h_source.html index 6acae56d0..ee985a7e7 100644 --- a/PythonQtStdDecorators_8h_source.html +++ b/PythonQtStdDecorators_8h_source.html @@ -356,7 +356,7 @@ diff --git a/PythonQtStdIn_8h.html b/PythonQtStdIn_8h.html index 5bf3fdc26..c1b095343 100644 --- a/PythonQtStdIn_8h.html +++ b/PythonQtStdIn_8h.html @@ -129,7 +129,7 @@

diff --git a/PythonQtStdIn_8h_source.html b/PythonQtStdIn_8h_source.html index 2a1da1670..b5d7eff31 100644 --- a/PythonQtStdIn_8h_source.html +++ b/PythonQtStdIn_8h_source.html @@ -111,7 +111,7 @@ diff --git a/PythonQtStdOut_8h.html b/PythonQtStdOut_8h.html index f21eff48b..e952107d7 100644 --- a/PythonQtStdOut_8h.html +++ b/PythonQtStdOut_8h.html @@ -129,7 +129,7 @@

diff --git a/PythonQtStdOut_8h_source.html b/PythonQtStdOut_8h_source.html index 96d2ecc09..9d9f2088d 100644 --- a/PythonQtStdOut_8h_source.html +++ b/PythonQtStdOut_8h_source.html @@ -112,7 +112,7 @@ diff --git a/PythonQtSystem_8h.html b/PythonQtSystem_8h.html index c66a70d8f..74e3eb1d9 100644 --- a/PythonQtSystem_8h.html +++ b/PythonQtSystem_8h.html @@ -84,7 +84,7 @@

diff --git a/PythonQtSystem_8h_source.html b/PythonQtSystem_8h_source.html index 3ae91fe01..35aa42417 100644 --- a/PythonQtSystem_8h_source.html +++ b/PythonQtSystem_8h_source.html @@ -105,7 +105,7 @@ diff --git a/PythonQtThreadSupport_8h.html b/PythonQtThreadSupport_8h.html index 8ec8b93e9..b3ed2d7ae 100644 --- a/PythonQtThreadSupport_8h.html +++ b/PythonQtThreadSupport_8h.html @@ -164,7 +164,7 @@

diff --git a/PythonQtThreadSupport_8h_source.html b/PythonQtThreadSupport_8h_source.html index f9d3e2f95..fc6b4217d 100644 --- a/PythonQtThreadSupport_8h_source.html +++ b/PythonQtThreadSupport_8h_source.html @@ -190,7 +190,7 @@ diff --git a/PythonQtUtils_8h.html b/PythonQtUtils_8h.html index c3247781c..7db1fd142 100644 --- a/PythonQtUtils_8h.html +++ b/PythonQtUtils_8h.html @@ -84,7 +84,7 @@ diff --git a/PythonQtUtils_8h_source.html b/PythonQtUtils_8h_source.html index 6be162082..3b68ee6bd 100644 --- a/PythonQtUtils_8h_source.html +++ b/PythonQtUtils_8h_source.html @@ -147,7 +147,7 @@ diff --git a/PythonQtVariants_8h.html b/PythonQtVariants_8h.html index 780f5c519..881e02d25 100644 --- a/PythonQtVariants_8h.html +++ b/PythonQtVariants_8h.html @@ -87,7 +87,7 @@ diff --git a/PythonQtVariants_8h_source.html b/PythonQtVariants_8h_source.html index e91dd5129..595ad7b19 100644 --- a/PythonQtVariants_8h_source.html +++ b/PythonQtVariants_8h_source.html @@ -120,7 +120,7 @@ diff --git a/PythonQt_8h.html b/PythonQt_8h.html index 940da9c2d..97fea964f 100644 --- a/PythonQt_8h.html +++ b/PythonQt_8h.html @@ -404,7 +404,7 @@

diff --git a/PythonQt_8h_source.html b/PythonQt_8h_source.html index 711fae953..89761a262 100644 --- a/PythonQt_8h_source.html +++ b/PythonQt_8h_source.html @@ -810,7 +810,7 @@ diff --git a/annotated.html b/annotated.html index 1e3fe4212..dfe0b01d1 100644 --- a/annotated.html +++ b/annotated.html @@ -93,7 +93,7 @@ diff --git a/classPythonQt-members.html b/classPythonQt-members.html index 0782cb5d8..50c21d265 100644 --- a/classPythonQt-members.html +++ b/classPythonQt-members.html @@ -167,7 +167,7 @@ diff --git a/classPythonQt.html b/classPythonQt.html index c3eac512f..22542a619 100644 --- a/classPythonQt.html +++ b/classPythonQt.html @@ -1890,7 +1890,7 @@

Definition at line 557 of file PythonQt.h.

557 { return _self->_p; }
-

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

@@ -2642,7 +2642,7 @@

diff --git a/classPythonQtArgumentFrame-members.html b/classPythonQtArgumentFrame-members.html index 995243b23..37302596e 100644 --- a/classPythonQtArgumentFrame-members.html +++ b/classPythonQtArgumentFrame-members.html @@ -54,7 +54,7 @@ diff --git a/classPythonQtArgumentFrame.html b/classPythonQtArgumentFrame.html index f725b15f9..1879c9515 100644 --- a/classPythonQtArgumentFrame.html +++ b/classPythonQtArgumentFrame.html @@ -226,7 +226,7 @@

diff --git a/classPythonQtClassInfo-members.html b/classPythonQtClassInfo-members.html index b8e3d3f4a..c252525ec 100644 --- a/classPythonQtClassInfo-members.html +++ b/classPythonQtClassInfo-members.html @@ -94,7 +94,7 @@ diff --git a/classPythonQtClassInfo.html b/classPythonQtClassInfo.html index d76cb52f5..5a59b2cf3 100644 --- a/classPythonQtClassInfo.html +++ b/classPythonQtClassInfo.html @@ -436,7 +436,7 @@

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

@@ -1303,7 +1303,7 @@

diff --git a/classPythonQtConfigAPI-members.html b/classPythonQtConfigAPI-members.html index efcaed2eb..d82490e70 100644 --- a/classPythonQtConfigAPI-members.html +++ b/classPythonQtConfigAPI-members.html @@ -50,7 +50,7 @@ diff --git a/classPythonQtConfigAPI.html b/classPythonQtConfigAPI.html index 7c75cb4f5..23c255396 100644 --- a/classPythonQtConfigAPI.html +++ b/classPythonQtConfigAPI.html @@ -136,7 +136,7 @@

diff --git a/classPythonQtConv-members.html b/classPythonQtConv-members.html index 6a00fd435..336637c0b 100644 --- a/classPythonQtConv-members.html +++ b/classPythonQtConv-members.html @@ -90,11 +90,13 @@ QVariantToPyObject(const QVariant &v)PythonQtConvstatic registerMetaTypeToPythonConverter(int metaTypeId, PythonQtConvertMetaTypeToPythonCB *cb)PythonQtConvinlinestatic registerPythonToMetaTypeConverter(int metaTypeId, PythonQtConvertPythonToMetaTypeCB *cb)PythonQtConvinlinestatic - setPythonSequenceToQVariantListCallback(PythonQtConvertPythonSequenceToQVariantListCB *cb)PythonQtConvinlinestatic + registerStringViewTypes()PythonQtConvstatic + setPythonSequenceToQVariantListCallback(PythonQtConvertPythonSequenceToQVariantListCB *cb)PythonQtConvinlinestatic + stringRefTypeIdPythonQtConvprotectedstatic diff --git a/classPythonQtConv.html b/classPythonQtConv.html index 846a21927..69ede393f 100644 --- a/classPythonQtConv.html +++ b/classPythonQtConv.html @@ -157,6 +157,9 @@ static bool isStringType (PyTypeObject *type)  Returns if the given object is a string (or unicode string) More...
  +static void registerStringViewTypes () + Register QStringView like types, that need to be handled specially. More...
+  @@ -186,6 +189,8 @@ + +

Static Protected Member Functions

 
static PythonQtConvertPythonSequenceToQVariantListCB_pythonSequenceToQVariantListCB
 
static int stringRefTypeId
 

Detailed Description

a static class that offers methods for type conversion

@@ -234,7 +239,7 @@

Referenced by PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertPythonListToListOfKnownClass().

@@ -606,7 +611,7 @@

Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertListOfValueTypeToPythonList(), and PythonQtConvertPairToPython().

+

Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertListOfValueTypeToPythonList(), and PythonQtConvertPairToPython().

@@ -1206,7 +1211,7 @@

Referenced by PythonQtConvertPythonToIntegerMap().

+

Referenced by PythonQtConvertPythonToIntegerMap().

@@ -1441,7 +1446,7 @@

convert python object to qvariant, if type is given it will try to create a qvariant of that type, otherwise it will guess from the python type

-

Referenced by PythonQtConvertPythonListToListOfValueType(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

+

Referenced by PythonQtConvertPythonListToListOfValueType(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

@@ -1757,7 +1762,7 @@

Definition at line 167 of file PythonQtConversion.h.

167 { _metaTypeToPythonConverters.insert(metaTypeId, cb); }
-
static QHash< int, PythonQtConvertMetaTypeToPythonCB * > _metaTypeToPythonConverters
+
static QHash< int, PythonQtConvertMetaTypeToPythonCB * > _metaTypeToPythonConverters
@@ -1799,8 +1804,35 @@

Definition at line 164 of file PythonQtConversion.h.

164 { _pythonToMetaTypeConverters.insert(metaTypeId, cb); }
-
static QHash< int, PythonQtConvertPythonToMetaTypeCB * > _pythonToMetaTypeConverters
+
static QHash< int, PythonQtConvertPythonToMetaTypeCB * > _pythonToMetaTypeConverters
+ + + +

◆ registerStringViewTypes()

+ +
+
+ + + + + +
+ + + + + + + +
static void PythonQtConv::registerStringViewTypes ()
+
+static
+
+ +

Register QStringView like types, that need to be handled specially.

+
@@ -1830,7 +1862,7 @@

Definition at line 171 of file PythonQtConversion.h.

-
static PythonQtConvertPythonSequenceToQVariantListCB * _pythonSequenceToQVariantListCB
+
static PythonQtConvertPythonSequenceToQVariantListCB * _pythonSequenceToQVariantListCB
@@ -1855,7 +1887,7 @@

-

Definition at line 199 of file PythonQtConversion.h.

+

Definition at line 205 of file PythonQtConversion.h.

@@ -1879,7 +1911,7 @@

-

Definition at line 201 of file PythonQtConversion.h.

+

Definition at line 207 of file PythonQtConversion.h.

@@ -1903,7 +1935,31 @@

-

Definition at line 200 of file PythonQtConversion.h.

+

Definition at line 206 of file PythonQtConversion.h.

+ + + + +

◆ stringRefTypeId

+ +
+
+ + + + + +
+ + + + +
int PythonQtConv::stringRefTypeId
+
+staticprotected
+
+ +

Definition at line 225 of file PythonQtConversion.h.

@@ -1913,7 +1969,7 @@

diff --git a/classPythonQtCppWrapperFactory-members.html b/classPythonQtCppWrapperFactory-members.html index 6a2d4f64e..1588a9920 100644 --- a/classPythonQtCppWrapperFactory-members.html +++ b/classPythonQtCppWrapperFactory-members.html @@ -51,7 +51,7 @@ diff --git a/classPythonQtCppWrapperFactory.html b/classPythonQtCppWrapperFactory.html index cc6afc5bc..f3bf6c070 100644 --- a/classPythonQtCppWrapperFactory.html +++ b/classPythonQtCppWrapperFactory.html @@ -168,7 +168,7 @@

diff --git a/classPythonQtDebugAPI-members.html b/classPythonQtDebugAPI-members.html index 77dc35068..930adc9f4 100644 --- a/classPythonQtDebugAPI-members.html +++ b/classPythonQtDebugAPI-members.html @@ -56,7 +56,7 @@ diff --git a/classPythonQtDebugAPI.html b/classPythonQtDebugAPI.html index c8d62afde..104c9dc10 100644 --- a/classPythonQtDebugAPI.html +++ b/classPythonQtDebugAPI.html @@ -324,7 +324,7 @@

diff --git a/classPythonQtForeignWrapperFactory-members.html b/classPythonQtForeignWrapperFactory-members.html index 5f1026dcc..66a12ca87 100644 --- a/classPythonQtForeignWrapperFactory-members.html +++ b/classPythonQtForeignWrapperFactory-members.html @@ -52,7 +52,7 @@ diff --git a/classPythonQtForeignWrapperFactory.html b/classPythonQtForeignWrapperFactory.html index a1f21e0de..a44f0e35d 100644 --- a/classPythonQtForeignWrapperFactory.html +++ b/classPythonQtForeignWrapperFactory.html @@ -201,7 +201,7 @@

diff --git a/classPythonQtGILScope-members.html b/classPythonQtGILScope-members.html index 8fd03dac5..3f26cfb71 100644 --- a/classPythonQtGILScope-members.html +++ b/classPythonQtGILScope-members.html @@ -53,7 +53,7 @@ diff --git a/classPythonQtGILScope.html b/classPythonQtGILScope.html index 5c19caeb3..e9ab3ce85 100644 --- a/classPythonQtGILScope.html +++ b/classPythonQtGILScope.html @@ -183,7 +183,7 @@

diff --git a/classPythonQtImport-members.html b/classPythonQtImport-members.html index f157f1336..ed6cb203e 100644 --- a/classPythonQtImport-members.html +++ b/classPythonQtImport-members.html @@ -67,7 +67,7 @@ diff --git a/classPythonQtImport.html b/classPythonQtImport.html index 98decd9de..dd2038f4c 100644 --- a/classPythonQtImport.html +++ b/classPythonQtImport.html @@ -660,7 +660,7 @@

diff --git a/classPythonQtImportFileInterface-members.html b/classPythonQtImportFileInterface-members.html index 8747b0a59..2d114d3fc 100644 --- a/classPythonQtImportFileInterface-members.html +++ b/classPythonQtImportFileInterface-members.html @@ -57,7 +57,7 @@ diff --git a/classPythonQtImportFileInterface.html b/classPythonQtImportFileInterface.html index 0bfbbca4a..47d2394ea 100644 --- a/classPythonQtImportFileInterface.html +++ b/classPythonQtImportFileInterface.html @@ -366,7 +366,7 @@

diff --git a/classPythonQtMethodInfo-members.html b/classPythonQtMethodInfo-members.html index f3cb2b120..ac48228e3 100644 --- a/classPythonQtMethodInfo-members.html +++ b/classPythonQtMethodInfo-members.html @@ -76,7 +76,7 @@ diff --git a/classPythonQtMethodInfo.html b/classPythonQtMethodInfo.html index d47e2c25d..c7e06c3ab 100644 --- a/classPythonQtMethodInfo.html +++ b/classPythonQtMethodInfo.html @@ -549,7 +549,7 @@

-

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

@@ -579,7 +579,7 @@

Referenced by PythonQtConvertListOfPairToPythonList(), PythonQtConvertListOfValueTypeToPythonList(), PythonQtConvertPythonListToListOfPair(), and PythonQtConvertPythonListToListOfValueType().

+

Referenced by PythonQtConvertListOfPairToPythonList(), PythonQtConvertListOfValueTypeToPythonList(), PythonQtConvertPythonListToListOfPair(), and PythonQtConvertPythonListToListOfValueType().

@@ -609,7 +609,7 @@

Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertPairToPython(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

+

Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertPairToPython(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

@@ -944,7 +944,7 @@

diff --git a/classPythonQtNewOwnerOfThis-members.html b/classPythonQtNewOwnerOfThis-members.html index c90fdd86c..24a36dc81 100644 --- a/classPythonQtNewOwnerOfThis-members.html +++ b/classPythonQtNewOwnerOfThis-members.html @@ -51,7 +51,7 @@ diff --git a/classPythonQtNewOwnerOfThis.html b/classPythonQtNewOwnerOfThis.html index b48aedf6b..484f78c52 100644 --- a/classPythonQtNewOwnerOfThis.html +++ b/classPythonQtNewOwnerOfThis.html @@ -168,7 +168,7 @@

diff --git a/classPythonQtObjectPtr-members.html b/classPythonQtObjectPtr-members.html index 8b568eadf..cf6cd59ab 100644 --- a/classPythonQtObjectPtr-members.html +++ b/classPythonQtObjectPtr-members.html @@ -84,7 +84,7 @@ diff --git a/classPythonQtObjectPtr.html b/classPythonQtObjectPtr.html index 6a9bf1016..97f882754 100644 --- a/classPythonQtObjectPtr.html +++ b/classPythonQtObjectPtr.html @@ -1142,7 +1142,7 @@

diff --git a/classPythonQtPassOwnershipToCPP-members.html b/classPythonQtPassOwnershipToCPP-members.html index dd76a5029..ffb558a6f 100644 --- a/classPythonQtPassOwnershipToCPP-members.html +++ b/classPythonQtPassOwnershipToCPP-members.html @@ -51,7 +51,7 @@ diff --git a/classPythonQtPassOwnershipToCPP.html b/classPythonQtPassOwnershipToCPP.html index 3198a0669..c4eb67b48 100644 --- a/classPythonQtPassOwnershipToCPP.html +++ b/classPythonQtPassOwnershipToCPP.html @@ -168,7 +168,7 @@

diff --git a/classPythonQtPassOwnershipToPython-members.html b/classPythonQtPassOwnershipToPython-members.html index 97931cc06..84f7af82c 100644 --- a/classPythonQtPassOwnershipToPython-members.html +++ b/classPythonQtPassOwnershipToPython-members.html @@ -51,7 +51,7 @@ diff --git a/classPythonQtPassOwnershipToPython.html b/classPythonQtPassOwnershipToPython.html index ba91494c0..f00770b39 100644 --- a/classPythonQtPassOwnershipToPython.html +++ b/classPythonQtPassOwnershipToPython.html @@ -168,7 +168,7 @@

diff --git a/classPythonQtPrivate-members.html b/classPythonQtPrivate-members.html index 112248a71..1296bba60 100644 --- a/classPythonQtPrivate-members.html +++ b/classPythonQtPrivate-members.html @@ -100,7 +100,7 @@ diff --git a/classPythonQtPrivate.html b/classPythonQtPrivate.html index a203cf774..a06e1851d 100644 --- a/classPythonQtPrivate.html +++ b/classPythonQtPrivate.html @@ -789,7 +789,7 @@

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

+

Referenced by PythonQtConvertListOfKnownClassToPythonList(), and PythonQtConvertPythonListToListOfKnownClass().

@@ -1561,7 +1561,7 @@

wrap the given ptr into a Python object (or return existing wrapper!) if there is a known QObject of that name or a known wrapper in the factory. If passOwnership == true, the ownership is passed to PythonQt, so the object will be deleted by PythonQt when the Python wrapper goes away.

-

Referenced by PythonQtConvertListOfKnownClassToPythonList().

+

Referenced by PythonQtConvertListOfKnownClassToPythonList().

@@ -1616,7 +1616,7 @@

diff --git a/classPythonQtQFileImporter-members.html b/classPythonQtQFileImporter-members.html index f2cc9f318..78bbc99a3 100644 --- a/classPythonQtQFileImporter-members.html +++ b/classPythonQtQFileImporter-members.html @@ -59,7 +59,7 @@ diff --git a/classPythonQtQFileImporter.html b/classPythonQtQFileImporter.html index 069a0ccfc..612b690ce 100644 --- a/classPythonQtQFileImporter.html +++ b/classPythonQtQFileImporter.html @@ -301,7 +301,7 @@

diff --git a/classPythonQtSafeObjectPtr-members.html b/classPythonQtSafeObjectPtr-members.html index 125a3b151..a30edac24 100644 --- a/classPythonQtSafeObjectPtr-members.html +++ b/classPythonQtSafeObjectPtr-members.html @@ -72,7 +72,7 @@ diff --git a/classPythonQtSafeObjectPtr.html b/classPythonQtSafeObjectPtr.html index 9fc5eea2e..af8ee515a 100644 --- a/classPythonQtSafeObjectPtr.html +++ b/classPythonQtSafeObjectPtr.html @@ -852,7 +852,7 @@

diff --git a/classPythonQtSignalReceiver-members.html b/classPythonQtSignalReceiver-members.html index d7542787f..9128287fa 100644 --- a/classPythonQtSignalReceiver-members.html +++ b/classPythonQtSignalReceiver-members.html @@ -54,7 +54,7 @@ diff --git a/classPythonQtSignalReceiver.html b/classPythonQtSignalReceiver.html index a157b2919..e9551f425 100644 --- a/classPythonQtSignalReceiver.html +++ b/classPythonQtSignalReceiver.html @@ -239,7 +239,7 @@

diff --git a/classPythonQtSignalReceiverBase-members.html b/classPythonQtSignalReceiverBase-members.html index e014f0dd7..64b700cd1 100644 --- a/classPythonQtSignalReceiverBase-members.html +++ b/classPythonQtSignalReceiverBase-members.html @@ -49,7 +49,7 @@ diff --git a/classPythonQtSignalReceiverBase.html b/classPythonQtSignalReceiverBase.html index 8e7d16eb6..707694f78 100644 --- a/classPythonQtSignalReceiverBase.html +++ b/classPythonQtSignalReceiverBase.html @@ -105,7 +105,7 @@

diff --git a/classPythonQtSignalTarget-members.html b/classPythonQtSignalTarget-members.html index 5041e6cc0..903656d01 100644 --- a/classPythonQtSignalTarget-members.html +++ b/classPythonQtSignalTarget-members.html @@ -57,7 +57,7 @@ diff --git a/classPythonQtSignalTarget.html b/classPythonQtSignalTarget.html index 9ab5e9583..9274c5bdc 100644 --- a/classPythonQtSignalTarget.html +++ b/classPythonQtSignalTarget.html @@ -405,7 +405,7 @@

diff --git a/classPythonQtSingleShotTimer-members.html b/classPythonQtSingleShotTimer-members.html index 7c36bae05..de55ca2be 100644 --- a/classPythonQtSingleShotTimer-members.html +++ b/classPythonQtSingleShotTimer-members.html @@ -51,7 +51,7 @@ diff --git a/classPythonQtSingleShotTimer.html b/classPythonQtSingleShotTimer.html index 2e402fc38..2d1d5ca72 100644 --- a/classPythonQtSingleShotTimer.html +++ b/classPythonQtSingleShotTimer.html @@ -156,7 +156,7 @@

diff --git a/classPythonQtSlotInfo-members.html b/classPythonQtSlotInfo-members.html index 198cb222c..8e27bb8dd 100644 --- a/classPythonQtSlotInfo-members.html +++ b/classPythonQtSlotInfo-members.html @@ -101,7 +101,7 @@ diff --git a/classPythonQtSlotInfo.html b/classPythonQtSlotInfo.html index 2993d9c79..42f91e9b4 100644 --- a/classPythonQtSlotInfo.html +++ b/classPythonQtSlotInfo.html @@ -870,7 +870,7 @@

diff --git a/classPythonQtStdDecorators-members.html b/classPythonQtStdDecorators-members.html index d5838c56f..3af4f82e6 100644 --- a/classPythonQtStdDecorators-members.html +++ b/classPythonQtStdDecorators-members.html @@ -84,7 +84,7 @@ diff --git a/classPythonQtStdDecorators.html b/classPythonQtStdDecorators.html index 090b52162..dc9a0f262 100644 --- a/classPythonQtStdDecorators.html +++ b/classPythonQtStdDecorators.html @@ -1508,7 +1508,7 @@

diff --git a/classPythonQtThreadStateSaver-members.html b/classPythonQtThreadStateSaver-members.html index 17e9e4265..061a7d069 100644 --- a/classPythonQtThreadStateSaver-members.html +++ b/classPythonQtThreadStateSaver-members.html @@ -52,7 +52,7 @@ diff --git a/classPythonQtThreadStateSaver.html b/classPythonQtThreadStateSaver.html index 9c19799e4..75d92d618 100644 --- a/classPythonQtThreadStateSaver.html +++ b/classPythonQtThreadStateSaver.html @@ -204,7 +204,7 @@

diff --git a/classPythonQtWrapper__QMetaObject-members.html b/classPythonQtWrapper__QMetaObject-members.html index 89e1e9501..bd03938d4 100644 --- a/classPythonQtWrapper__QMetaObject-members.html +++ b/classPythonQtWrapper__QMetaObject-members.html @@ -75,7 +75,7 @@ diff --git a/classPythonQtWrapper__QMetaObject.html b/classPythonQtWrapper__QMetaObject.html index dc533ffc9..537d23503 100644 --- a/classPythonQtWrapper__QMetaObject.html +++ b/classPythonQtWrapper__QMetaObject.html @@ -1048,7 +1048,7 @@

diff --git a/classes.html b/classes.html index d2b2a7d23..90fa0f675 100644 --- a/classes.html +++ b/classes.html @@ -93,7 +93,7 @@ diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index b761dfc4a..38b44332a 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -107,7 +107,7 @@ diff --git a/files.html b/files.html index 005eb497e..b4876e257 100644 --- a/files.html +++ b/files.html @@ -76,7 +76,7 @@ diff --git a/functions.html b/functions.html index dc4fb9d75..2b3f6f30d 100644 --- a/functions.html +++ b/functions.html @@ -151,7 +151,7 @@

- _ -

    diff --git a/functions_a.html b/functions_a.html index a0aeec607..7e5be88c5 100644 --- a/functions_a.html +++ b/functions_a.html @@ -110,7 +110,7 @@

    - a -

      diff --git a/functions_b.html b/functions_b.html index ed22e74bb..fb49f58de 100644 --- a/functions_b.html +++ b/functions_b.html @@ -48,7 +48,7 @@

      - b -

        diff --git a/functions_c.html b/functions_c.html index 4ecc508a3..d7bf118de 100644 --- a/functions_c.html +++ b/functions_c.html @@ -236,7 +236,7 @@

        - c -

          diff --git a/functions_d.html b/functions_d.html index d8ea8649c..126963843 100644 --- a/functions_d.html +++ b/functions_d.html @@ -88,7 +88,7 @@

          - d -

            diff --git a/functions_e.html b/functions_e.html index 76287d2bd..56508f9c6 100644 --- a/functions_e.html +++ b/functions_e.html @@ -85,7 +85,7 @@

            - e -

              diff --git a/functions_enum.html b/functions_enum.html index 6fbea441d..6f591f1e3 100644 --- a/functions_enum.html +++ b/functions_enum.html @@ -68,7 +68,7 @@ diff --git a/functions_eval.html b/functions_eval.html index 3ce7c78d4..5c54d264a 100644 --- a/functions_eval.html +++ b/functions_eval.html @@ -282,7 +282,7 @@

              - v -

                diff --git a/functions_f.html b/functions_f.html index 000ee56f1..dad11686f 100644 --- a/functions_f.html +++ b/functions_f.html @@ -87,7 +87,7 @@

                - f -

                  diff --git a/functions_func.html b/functions_func.html index 162c4cdd4..a850714e7 100644 --- a/functions_func.html +++ b/functions_func.html @@ -101,7 +101,7 @@

                  - a -

                    diff --git a/functions_func_b.html b/functions_func_b.html index 2e03c5e9a..cfe6163cd 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -48,7 +48,7 @@

                    - b -

                      diff --git a/functions_func_c.html b/functions_func_c.html index cce6a9e50..f9d50ce12 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -215,7 +215,7 @@

                      - c -

                        diff --git a/functions_func_d.html b/functions_func_d.html index 6756828b2..64a2d113a 100644 --- a/functions_func_d.html +++ b/functions_func_d.html @@ -73,7 +73,7 @@

                        - d -

                          diff --git a/functions_func_e.html b/functions_func_e.html index d0d547e46..c5522041a 100644 --- a/functions_func_e.html +++ b/functions_func_e.html @@ -70,7 +70,7 @@

                          - e -

                            diff --git a/functions_func_f.html b/functions_func_f.html index f4a4b642a..bc370e682 100644 --- a/functions_func_f.html +++ b/functions_func_f.html @@ -66,7 +66,7 @@

                            - f -

                              diff --git a/functions_func_g.html b/functions_func_g.html index d8b271a86..5b551db29 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -142,7 +142,7 @@

                              - g -

                                diff --git a/functions_func_h.html b/functions_func_h.html index bb2eb8fc5..a07b522a2 100644 --- a/functions_func_h.html +++ b/functions_func_h.html @@ -69,7 +69,7 @@

                                - h -

                                  diff --git a/functions_func_i.html b/functions_func_i.html index dc90aeb1a..47b361521 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -156,7 +156,7 @@

                                  - i -

                                    diff --git a/functions_func_l.html b/functions_func_l.html index b523064bb..52d4c103b 100644 --- a/functions_func_l.html +++ b/functions_func_l.html @@ -58,7 +58,7 @@

                                    - l -

                                      diff --git a/functions_func_m.html b/functions_func_m.html index 3b9570a69..47caf849d 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -85,7 +85,7 @@

                                      - m -

                                        diff --git a/functions_func_n.html b/functions_func_n.html index 741510b48..68e5db147 100644 --- a/functions_func_n.html +++ b/functions_func_n.html @@ -66,7 +66,7 @@

                                        - n -

                                          diff --git a/functions_func_o.html b/functions_func_o.html index b69028f6e..25cb55ee1 100644 --- a/functions_func_o.html +++ b/functions_func_o.html @@ -87,7 +87,7 @@

                                          - o -

                                            diff --git a/functions_func_p.html b/functions_func_p.html index 7a61f40fa..530627c55 100644 --- a/functions_func_p.html +++ b/functions_func_p.html @@ -150,7 +150,7 @@

                                            - p -

                                              diff --git a/functions_func_q.html b/functions_func_q.html index 8d61cbab2..7d28e3247 100644 --- a/functions_func_q.html +++ b/functions_func_q.html @@ -78,7 +78,7 @@

                                              - q -

                                                diff --git a/functions_func_r.html b/functions_func_r.html index 52986a120..0d7ce584c 100644 --- a/functions_func_r.html +++ b/functions_func_r.html @@ -76,6 +76,9 @@

                                                - r -

                                                  : PythonQt , PythonQtPrivate +
                                                • registerStringViewTypes() +: PythonQtConv +
                                                • release() : PythonQtGILScope
                                                • @@ -112,7 +115,7 @@

                                                  - r -

                                                    diff --git a/functions_func_s.html b/functions_func_s.html index 9e0011b41..f8d288946 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -281,7 +281,7 @@

                                                    - s -

                                                      diff --git a/functions_func_t.html b/functions_func_t.html index 7c144600a..598d57437 100644 --- a/functions_func_t.html +++ b/functions_func_t.html @@ -64,7 +64,7 @@

                                                      - t -

                                                        diff --git a/functions_func_u.html b/functions_func_u.html index 5669270f1..cd008e30d 100644 --- a/functions_func_u.html +++ b/functions_func_u.html @@ -63,7 +63,7 @@

                                                        - u -

                                                          diff --git a/functions_func_w.html b/functions_func_w.html index 3acd6ad43..80a26f16e 100644 --- a/functions_func_w.html +++ b/functions_func_w.html @@ -60,7 +60,7 @@

                                                          - w -

                                                            diff --git a/functions_func_~.html b/functions_func_~.html index 77310ee56..2d920c7e5 100644 --- a/functions_func_~.html +++ b/functions_func_~.html @@ -90,7 +90,7 @@

                                                            - ~ -

                                                              diff --git a/functions_g.html b/functions_g.html index ea03908c0..1e303de88 100644 --- a/functions_g.html +++ b/functions_g.html @@ -142,7 +142,7 @@

                                                              - g -

                                                                diff --git a/functions_h.html b/functions_h.html index 9d683200f..5a3143ec3 100644 --- a/functions_h.html +++ b/functions_h.html @@ -69,7 +69,7 @@

                                                                - h -

                                                                  diff --git a/functions_i.html b/functions_i.html index 6b53a907a..230dbb2b9 100644 --- a/functions_i.html +++ b/functions_i.html @@ -184,7 +184,7 @@

                                                                  - i -

                                                                    diff --git a/functions_l.html b/functions_l.html index df63bf3dd..68dbd44fa 100644 --- a/functions_l.html +++ b/functions_l.html @@ -61,7 +61,7 @@

                                                                    - l -

                                                                      diff --git a/functions_m.html b/functions_m.html index 07fbacaed..5dd31f0da 100644 --- a/functions_m.html +++ b/functions_m.html @@ -112,7 +112,7 @@

                                                                      - m -

                                                                        : PythonQtImport
                                                                      • PythonQtMemberInfo() -: PythonQtMemberInfo +: PythonQtMemberInfo
                                                                      • PythonQtMethodInfo() : PythonQtMethodInfo @@ -121,7 +121,7 @@

                                                                        - m -

                                                                          diff --git a/functions_n.html b/functions_n.html index 3b4a0397e..3ba0706b6 100644 --- a/functions_n.html +++ b/functions_n.html @@ -82,7 +82,7 @@

                                                                          - n -

                                                                            diff --git a/functions_o.html b/functions_o.html index b0d3ee7a0..4fca48bf4 100644 --- a/functions_o.html +++ b/functions_o.html @@ -90,7 +90,7 @@

                                                                            - o -

                                                                              diff --git a/functions_p.html b/functions_p.html index 995cf2adb..c5c29a942 100644 --- a/functions_p.html +++ b/functions_p.html @@ -173,7 +173,7 @@

                                                                              - p -

                                                                                diff --git a/functions_q.html b/functions_q.html index dd8093157..34d2742fc 100644 --- a/functions_q.html +++ b/functions_q.html @@ -78,7 +78,7 @@

                                                                                - q -

                                                                                  diff --git a/functions_r.html b/functions_r.html index d1ef7d603..f2e35c694 100644 --- a/functions_r.html +++ b/functions_r.html @@ -79,6 +79,9 @@

                                                                                  - r -

                                                                                    : PythonQt , PythonQtPrivate +
                                                                                  • registerStringViewTypes() +: PythonQtConv +
                                                                                  • release() : PythonQtGILScope
                                                                                  • @@ -118,7 +121,7 @@

                                                                                    - r -

                                                                                      diff --git a/functions_rela.html b/functions_rela.html index 536da568e..767d1379d 100644 --- a/functions_rela.html +++ b/functions_rela.html @@ -46,7 +46,7 @@ diff --git a/functions_s.html b/functions_s.html index f7010c84e..10b7ce9c5 100644 --- a/functions_s.html +++ b/functions_s.html @@ -286,6 +286,9 @@

                                                                                      - s -

                                                                                      • stored : PythonQtPropertyData
                                                                                      • +
                                                                                      • stringRefTypeId +: PythonQtConv +
                                                                                      • superClass() : PythonQtWrapper_QMetaObject
                                                                                      • @@ -302,7 +305,7 @@

                                                                                        - s -

                                                                                          diff --git a/functions_t.html b/functions_t.html index 246c3a879..0ddf67bb4 100644 --- a/functions_t.html +++ b/functions_t.html @@ -158,7 +158,7 @@

                                                                                          - t -

                                                                                            diff --git a/functions_type.html b/functions_type.html index 30c138908..1ed4722e9 100644 --- a/functions_type.html +++ b/functions_type.html @@ -46,7 +46,7 @@ diff --git a/functions_u.html b/functions_u.html index d831febdb..979864542 100644 --- a/functions_u.html +++ b/functions_u.html @@ -69,7 +69,7 @@

                                                                                            - u -

                                                                                              diff --git a/functions_v.html b/functions_v.html index 24ec8edd3..1bdc348b8 100644 --- a/functions_v.html +++ b/functions_v.html @@ -51,7 +51,7 @@

                                                                                              - v -

                                                                                                diff --git a/functions_vars.html b/functions_vars.html index 5c9d5744a..e5ab121e3 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -297,6 +297,9 @@

                                                                                                - s -

                                                                                                @@ -318,7 +321,7 @@

                                                                                                - u -

                                                                                                  diff --git a/functions_w.html b/functions_w.html index 08800c027..6285d76e6 100644 --- a/functions_w.html +++ b/functions_w.html @@ -60,7 +60,7 @@

                                                                                                  - w -

                                                                                                    diff --git a/functions_~.html b/functions_~.html index f1b42afaa..501e673f8 100644 --- a/functions_~.html +++ b/functions_~.html @@ -90,7 +90,7 @@

                                                                                                    - ~ -

                                                                                                      diff --git a/globals.html b/globals.html index b4867c41d..21bd99741 100644 --- a/globals.html +++ b/globals.html @@ -347,7 +347,7 @@

                                                                                                      - v -

                                                                                                        diff --git a/globals_defs.html b/globals_defs.html index 263d423d1..94a045e13 100644 --- a/globals_defs.html +++ b/globals_defs.html @@ -170,7 +170,7 @@

                                                                                                        - s -

                                                                                                          diff --git a/globals_enum.html b/globals_enum.html index fa4c020c1..7eff6a38b 100644 --- a/globals_enum.html +++ b/globals_enum.html @@ -46,7 +46,7 @@ diff --git a/globals_eval.html b/globals_eval.html index 33c4eecbc..e8d3c8309 100644 --- a/globals_eval.html +++ b/globals_eval.html @@ -52,7 +52,7 @@ diff --git a/globals_func.html b/globals_func.html index f144358e0..a12ee6f63 100644 --- a/globals_func.html +++ b/globals_func.html @@ -118,7 +118,7 @@ diff --git a/globals_type.html b/globals_type.html index 5be635084..35a3d81d5 100644 --- a/globals_type.html +++ b/globals_type.html @@ -82,7 +82,7 @@ diff --git a/globals_vars.html b/globals_vars.html index 799477796..e686e6d3d 100644 --- a/globals_vars.html +++ b/globals_vars.html @@ -70,7 +70,7 @@ diff --git a/hierarchy.html b/hierarchy.html index c7a8a09f7..be6a1ee04 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -95,7 +95,7 @@ diff --git a/index.html b/index.html index 4d3568584..72940f91a 100644 --- a/index.html +++ b/index.html @@ -59,7 +59,7 @@

                                                                                                          diff --git a/namespacePythonQtUtils.html b/namespacePythonQtUtils.html index 63aa43662..72028bd20 100644 --- a/namespacePythonQtUtils.html +++ b/namespacePythonQtUtils.html @@ -207,14 +207,14 @@

                                                                                                          82 #endif
                                                                                                          83  }
                                                                                                          -

                                                                                                          Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertListOfKnownClassToPythonList(), PythonQtConvertListOfPairToPythonList(), PythonQtConvertListOfValueTypeToPythonList(), PythonQtConvertPairToPython(), PythonQtConvertPythonListToListOfKnownClass(), PythonQtConvertPythonListToListOfPair(), PythonQtConvertPythonListToListOfValueType(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

                                                                                                          +

                                                                                                          Referenced by PythonQtConvertIntegerMapToPython(), PythonQtConvertListOfKnownClassToPythonList(), PythonQtConvertListOfPairToPythonList(), PythonQtConvertListOfValueTypeToPythonList(), PythonQtConvertPairToPython(), PythonQtConvertPythonListToListOfKnownClass(), PythonQtConvertPythonListToListOfPair(), PythonQtConvertPythonListToListOfValueType(), PythonQtConvertPythonToIntegerMap(), and PythonQtConvertPythonToPair().

                                                                                                          diff --git a/namespacemembers.html b/namespacemembers.html index d3e060fe1..59bc6bd7b 100644 --- a/namespacemembers.html +++ b/namespacemembers.html @@ -55,7 +55,7 @@ diff --git a/namespacemembers_func.html b/namespacemembers_func.html index 72797fa06..b0e70b5cf 100644 --- a/namespacemembers_func.html +++ b/namespacemembers_func.html @@ -55,7 +55,7 @@ diff --git a/namespaces.html b/namespaces.html index c2b89ff5a..b4289221e 100644 --- a/namespaces.html +++ b/namespaces.html @@ -50,7 +50,7 @@ diff --git a/pages.html b/pages.html index 26071463c..6d7127720 100644 --- a/pages.html +++ b/pages.html @@ -55,7 +55,7 @@ diff --git a/structPythonQtBoolResultObject-members.html b/structPythonQtBoolResultObject-members.html index 5b5121a4e..616837467 100644 --- a/structPythonQtBoolResultObject-members.html +++ b/structPythonQtBoolResultObject-members.html @@ -49,7 +49,7 @@ diff --git a/structPythonQtBoolResultObject.html b/structPythonQtBoolResultObject.html index 3d38035da..800330216 100644 --- a/structPythonQtBoolResultObject.html +++ b/structPythonQtBoolResultObject.html @@ -83,7 +83,7 @@

                                                                                                          diff --git a/structPythonQtClassInfo_1_1ParentClassInfo-members.html b/structPythonQtClassInfo_1_1ParentClassInfo-members.html index 4e1154bda..fcbf789fc 100644 --- a/structPythonQtClassInfo_1_1ParentClassInfo-members.html +++ b/structPythonQtClassInfo_1_1ParentClassInfo-members.html @@ -55,7 +55,7 @@ diff --git a/structPythonQtClassInfo_1_1ParentClassInfo.html b/structPythonQtClassInfo_1_1ParentClassInfo.html index ff7625b3f..f787b4f96 100644 --- a/structPythonQtClassInfo_1_1ParentClassInfo.html +++ b/structPythonQtClassInfo_1_1ParentClassInfo.html @@ -154,7 +154,7 @@

                                                                                                          diff --git a/structPythonQtClassWrapper-members.html b/structPythonQtClassWrapper-members.html index 316830243..6cfd82e2b 100644 --- a/structPythonQtClassWrapper-members.html +++ b/structPythonQtClassWrapper-members.html @@ -52,7 +52,7 @@ diff --git a/structPythonQtClassWrapper.html b/structPythonQtClassWrapper.html index 7f3b375d2..ef8c285b2 100644 --- a/structPythonQtClassWrapper.html +++ b/structPythonQtClassWrapper.html @@ -162,7 +162,7 @@

                                                                                                          diff --git a/structPythonQtDynamicClassInfo-members.html b/structPythonQtDynamicClassInfo-members.html index a9cddb85b..f701749b5 100644 --- a/structPythonQtDynamicClassInfo-members.html +++ b/structPythonQtDynamicClassInfo-members.html @@ -52,7 +52,7 @@ diff --git a/structPythonQtDynamicClassInfo.html b/structPythonQtDynamicClassInfo.html index a4afa88bc..ec516f5d2 100644 --- a/structPythonQtDynamicClassInfo.html +++ b/structPythonQtDynamicClassInfo.html @@ -159,7 +159,7 @@

                                                                                                          diff --git a/structPythonQtDynamicSignalInfo-members.html b/structPythonQtDynamicSignalInfo-members.html index 23c9be71f..18e0a1796 100644 --- a/structPythonQtDynamicSignalInfo-members.html +++ b/structPythonQtDynamicSignalInfo-members.html @@ -50,7 +50,7 @@ diff --git a/structPythonQtDynamicSignalInfo.html b/structPythonQtDynamicSignalInfo.html index 591e984bd..031be0436 100644 --- a/structPythonQtDynamicSignalInfo.html +++ b/structPythonQtDynamicSignalInfo.html @@ -97,7 +97,7 @@

                                                                                                          diff --git a/structPythonQtImport_1_1ModuleInfo-members.html b/structPythonQtImport_1_1ModuleInfo-members.html index 7c827738f..a02999f6a 100644 --- a/structPythonQtImport_1_1ModuleInfo-members.html +++ b/structPythonQtImport_1_1ModuleInfo-members.html @@ -56,7 +56,7 @@ diff --git a/structPythonQtImport_1_1ModuleInfo.html b/structPythonQtImport_1_1ModuleInfo.html index decde5883..3356190e4 100644 --- a/structPythonQtImport_1_1ModuleInfo.html +++ b/structPythonQtImport_1_1ModuleInfo.html @@ -168,7 +168,7 @@

                                                                                                          diff --git a/structPythonQtImporter-members.html b/structPythonQtImporter-members.html index 33e31e71d..22aa552c6 100644 --- a/structPythonQtImporter-members.html +++ b/structPythonQtImporter-members.html @@ -49,7 +49,7 @@ diff --git a/structPythonQtImporter.html b/structPythonQtImporter.html index e9ace71ef..4739bd0fb 100644 --- a/structPythonQtImporter.html +++ b/structPythonQtImporter.html @@ -83,7 +83,7 @@

                                                                                                          diff --git a/structPythonQtInstanceWrapper-members.html b/structPythonQtInstanceWrapper-members.html index 23855431a..7f73189a1 100644 --- a/structPythonQtInstanceWrapper-members.html +++ b/structPythonQtInstanceWrapper-members.html @@ -60,7 +60,7 @@ diff --git a/structPythonQtInstanceWrapper.html b/structPythonQtInstanceWrapper.html index 2295350fd..0ded58edb 100644 --- a/structPythonQtInstanceWrapper.html +++ b/structPythonQtInstanceWrapper.html @@ -358,7 +358,7 @@

                                                                                                          Definition at line 117 of file PythonQtInstanceWrapper.h.

                                                                                                          -

                                                                                                          Referenced by passOwnershipToCPP(), passOwnershipToPython(), and PythonQtConvertListOfKnownClassToPythonList().

                                                                                                          +

                                                                                                          Referenced by passOwnershipToCPP(), passOwnershipToPython(), and PythonQtConvertListOfKnownClassToPythonList().

                                                                                                          @@ -424,7 +424,7 @@

                                                                                                          diff --git a/structPythonQtMemberInfo-members.html b/structPythonQtMemberInfo-members.html index 8de9e5d1f..bf0360c59 100644 --- a/structPythonQtMemberInfo-members.html +++ b/structPythonQtMemberInfo-members.html @@ -66,7 +66,7 @@ diff --git a/structPythonQtMemberInfo.html b/structPythonQtMemberInfo.html index cef570ccd..a73114b73 100644 --- a/structPythonQtMemberInfo.html +++ b/structPythonQtMemberInfo.html @@ -305,7 +305,7 @@

                                                                                                          diff --git a/structPythonQtMethodInfo_1_1ParameterInfo-members.html b/structPythonQtMethodInfo_1_1ParameterInfo-members.html index 8e753e5b7..dc81317c5 100644 --- a/structPythonQtMethodInfo_1_1ParameterInfo-members.html +++ b/structPythonQtMethodInfo_1_1ParameterInfo-members.html @@ -64,7 +64,7 @@ diff --git a/structPythonQtMethodInfo_1_1ParameterInfo.html b/structPythonQtMethodInfo_1_1ParameterInfo.html index 5e5aa66e3..735b9ef2d 100644 --- a/structPythonQtMethodInfo_1_1ParameterInfo.html +++ b/structPythonQtMethodInfo_1_1ParameterInfo.html @@ -285,7 +285,7 @@

                                                                                                          diff --git a/structPythonQtProperty-members.html b/structPythonQtProperty-members.html index 2d611140f..6578a7d07 100644 --- a/structPythonQtProperty-members.html +++ b/structPythonQtProperty-members.html @@ -49,7 +49,7 @@ diff --git a/structPythonQtProperty.html b/structPythonQtProperty.html index c92f74d9d..c1b559ba0 100644 --- a/structPythonQtProperty.html +++ b/structPythonQtProperty.html @@ -79,7 +79,7 @@

                                                                                                          diff --git a/structPythonQtPropertyData-members.html b/structPythonQtPropertyData-members.html index b3e8c888f..aab553edf 100644 --- a/structPythonQtPropertyData-members.html +++ b/structPythonQtPropertyData-members.html @@ -65,7 +65,7 @@ diff --git a/structPythonQtPropertyData.html b/structPythonQtPropertyData.html index b145f7615..a45b9bbf0 100644 --- a/structPythonQtPropertyData.html +++ b/structPythonQtPropertyData.html @@ -454,7 +454,7 @@

                                                                                                          diff --git a/structPythonQtSignalFunctionObject-members.html b/structPythonQtSignalFunctionObject-members.html index 3479f12fe..33c3d1035 100644 --- a/structPythonQtSignalFunctionObject-members.html +++ b/structPythonQtSignalFunctionObject-members.html @@ -52,7 +52,7 @@ diff --git a/structPythonQtSignalFunctionObject.html b/structPythonQtSignalFunctionObject.html index 42e3609d6..ca81d8383 100644 --- a/structPythonQtSignalFunctionObject.html +++ b/structPythonQtSignalFunctionObject.html @@ -137,7 +137,7 @@

                                                                                                          diff --git a/structPythonQtSlotDecorator-members.html b/structPythonQtSlotDecorator-members.html index 184622625..a1503ef10 100644 --- a/structPythonQtSlotDecorator-members.html +++ b/structPythonQtSlotDecorator-members.html @@ -50,7 +50,7 @@ diff --git a/structPythonQtSlotDecorator.html b/structPythonQtSlotDecorator.html index c019b6e73..418e6f90d 100644 --- a/structPythonQtSlotDecorator.html +++ b/structPythonQtSlotDecorator.html @@ -97,7 +97,7 @@

                                                                                                          diff --git a/structPythonQtSlotFunctionObject-members.html b/structPythonQtSlotFunctionObject-members.html index 2b3ed7562..1d0beb7bc 100644 --- a/structPythonQtSlotFunctionObject-members.html +++ b/structPythonQtSlotFunctionObject-members.html @@ -51,7 +51,7 @@ diff --git a/structPythonQtSlotFunctionObject.html b/structPythonQtSlotFunctionObject.html index 15df8677d..6dc97bd11 100644 --- a/structPythonQtSlotFunctionObject.html +++ b/structPythonQtSlotFunctionObject.html @@ -119,7 +119,7 @@

                                                                                                          diff --git a/structPythonQtStdInRedirect-members.html b/structPythonQtStdInRedirect-members.html index d3ec35ea5..ff05d9c1e 100644 --- a/structPythonQtStdInRedirect-members.html +++ b/structPythonQtStdInRedirect-members.html @@ -51,7 +51,7 @@ diff --git a/structPythonQtStdInRedirect.html b/structPythonQtStdInRedirect.html index 7bda768b9..5971f13b0 100644 --- a/structPythonQtStdInRedirect.html +++ b/structPythonQtStdInRedirect.html @@ -119,7 +119,7 @@

                                                                                                          diff --git a/structPythonQtStdOutRedirect-members.html b/structPythonQtStdOutRedirect-members.html index 6109b33c7..8e824127d 100644 --- a/structPythonQtStdOutRedirect-members.html +++ b/structPythonQtStdOutRedirect-members.html @@ -51,7 +51,7 @@ diff --git a/structPythonQtStdOutRedirect.html b/structPythonQtStdOutRedirect.html index 16560f537..6456cb398 100644 --- a/structPythonQtStdOutRedirect.html +++ b/structPythonQtStdOutRedirect.html @@ -119,7 +119,7 @@