~neon/perlkde/master

« back to all changes in this revision

Viewing changes to qtgui/src/QtGui4.xs

  • Committer: Chris Michael Burel
  • Date: 2010-10-27 17:31:23 UTC
  • Revision ID: git-v1:21dbf7d9f3e5a3131986c076c878d21c40bb3c2d
Add support for QTestEventList, QXmlStreamAttributes, and QItemSelection.
Use _pTHX macro in XS function definitions, to support Perls compiled with and without threads.
Clean up some memory management in the array functions.  Only copy when we need to, and keep track of when we do copy.

svn path=/trunk/KDE/kdebindings/perl/; revision=1190447

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
static PerlQt4::Binding bindingqtgui;
61
61
 
 
62
DEF_LISTCLASS_FUNCTIONS(QItemSelection, QItemSelectionRange, QItemSelectionRange, Qt::ItemSelection)
62
63
DEF_VECTORCLASS_FUNCTIONS(QPolygonF, QPointF, Qt::PolygonF)
63
64
DEF_VECTORCLASS_FUNCTIONS(QPolygon, QPoint, Qt::Polygon)
64
65
 
135
136
    newXS(" Qt::Polygon::UNSHIFT"  , XS_QPolygon_unshift, __FILE__);
136
137
    newXS(" Qt::Polygon::SPLICE"   , XS_QPolygon_splice, __FILE__);
137
138
    newXS("Qt::Polygon::_overload::op_equality", XS_QPolygon__overload_op_equality, __FILE__);
 
139
 
 
140
    newXS(" Qt::ItemSelection::EXISTS"   , XS_QItemSelection_exists, __FILE__);
 
141
    newXS(" Qt::ItemSelection::FETCH"    , XS_QItemSelection_at, __FILE__);
 
142
    newXS(" Qt::ItemSelection::FETCHSIZE", XS_QItemSelection_size, __FILE__);
 
143
    newXS(" Qt::ItemSelection::STORE"    , XS_QItemSelection_store, __FILE__);
 
144
    newXS(" Qt::ItemSelection::STORESIZE", XS_QItemSelection_storesize, __FILE__);
 
145
    newXS(" Qt::ItemSelection::DELETE"   , XS_QItemSelection_delete, __FILE__);
 
146
    newXS(" Qt::ItemSelection::CLEAR"    , XS_QItemSelection_clear, __FILE__);
 
147
    newXS(" Qt::ItemSelection::PUSH"     , XS_QItemSelection_push, __FILE__);
 
148
    newXS(" Qt::ItemSelection::POP"      , XS_QItemSelection_pop, __FILE__);
 
149
    newXS(" Qt::ItemSelection::SHIFT"    , XS_QItemSelection_shift, __FILE__);
 
150
    newXS(" Qt::ItemSelection::UNSHIFT"  , XS_QItemSelection_unshift, __FILE__);
 
151
    newXS(" Qt::ItemSelection::SPLICE"   , XS_QItemSelection_splice, __FILE__);
 
152
    newXS("Qt::ItemSelection::_overload::op_equality", XS_QItemSelection__overload_op_equality, __FILE__);