Browse Source

Remove additional unneeded tq method conversions

r14.0.x
Timothy Pearson 11 years ago
parent
commit
cb279d73d3
  1. 2
      doc/html/_sources/using.txt
  2. 4
      doc/html/_static/jquery.js
  3. 2
      doc/html/searchindex.js
  4. 2
      doc/html/using.html
  5. 4
      siplib/siplib.c
  6. 2
      sphinx/using.rst

2
doc/html/_sources/using.txt

@ -284,7 +284,7 @@ previous examples.
instance being constructed has a parent) then ownership of the instance
is transferred from Python to C++. It is needed because Qt maintains
objects (i.e. instances derived from the ``QObject`` class) in a
hierachy. When an object is destroyed all of its tqchildren are also
hierachy. When an object is destroyed all of its children are also
automatically destroyed. It is important, therefore, that the Python
garbage collector doesn't also try and destroy them. This is covered in
more detail in :ref:`ref-object-ownership`. SIP provides many other

4
doc/html/_static/jquery.js vendored

@ -1182,7 +1182,7 @@ jQuery.each({
nextAll: function(elem){return jQuery.dir(elem,"nextSibling");},
prevAll: function(elem){return jQuery.dir(elem,"previousSibling");},
siblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},
tqchildren: function(elem){return jQuery.sibling(elem.firstChild);},
children: function(elem){return jQuery.sibling(elem.firstChild);},
contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
}, function(name, fn){
jQuery.fn[ name ] = function( selector ) {
@ -1250,7 +1250,7 @@ jQuery.each({
empty: function() {
// Remove element nodes and prevent memory leaks
jQuery(this).tqchildren().remove();
jQuery(this).children().remove();
// Remove any remaining nodes
while ( this.firstChild )

2
doc/html/searchindex.js

File diff suppressed because one or more lines are too long

2
doc/html/using.html

@ -321,7 +321,7 @@ argument. It specifies that if the argument is not 0 (i.e. the <tt class="docut
instance being constructed has a parent) then ownership of the instance
is transferred from Python to C++. It is needed because TQt maintains
objects (i.e. instances derived from the <tt class="docutils literal"><span class="pre">TQObject</span></tt> class) in a
hierachy. When an object is destroyed all of its tqchildren are also
hierachy. When an object is destroyed all of its children are also
automatically destroyed. It is important, therefore, that the Python
garbage collector doesn&#8217;t also try and destroy them. This is covered in
more detail in <a class="reference internal" href="#ref-object-ownership"><em>Ownership of Objects</em></a>. SIP provides many other

4
siplib/siplib.c

@ -9208,12 +9208,12 @@ static int sipWrapper_clear(sipWrapper *self)
}
}
/* Detach tqchildren (which will be owned by C/C++). */
/* Detach children (which will be owned by C/C++). */
while ((sw = (sipSimpleWrapper *)self->first_child) != NULL)
{
/*
* Although this object is being garbage collected it doesn't follow
* that it's tqchildren should be. So we make sure that the child stays
* that it's children should be. So we make sure that the child stays
* alive and remember we have done so.
*/
Py_INCREF(sw);

2
sphinx/using.rst

@ -284,7 +284,7 @@ previous examples.
instance being constructed has a parent) then ownership of the instance
is transferred from Python to C++. It is needed because Qt maintains
objects (i.e. instances derived from the ``QObject`` class) in a
hierachy. When an object is destroyed all of its tqchildren are also
hierachy. When an object is destroyed all of its children are also
automatically destroyed. It is important, therefore, that the Python
garbage collector doesn't also try and destroy them. This is covered in
more detail in :ref:`ref-object-ownership`. SIP provides many other

Loading…
Cancel
Save