~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to qpy/QtCore/qpycore_pyqtsignal.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
extern "C" {
43
43
 
44
44
// This defines the structure of a PyQt signal.
45
 
typedef struct {
 
45
typedef struct _qpycore_pyqtSignal {
46
46
    PyObject_HEAD
47
47
 
 
48
    // The signal master.
 
49
    struct _qpycore_pyqtSignal *master;
 
50
 
 
51
    // The index in the signal master.
 
52
    int master_index;
 
53
 
48
54
    // The non-signal overloads (if any).
49
55
    PyMethodDef *non_signals;
50
56
 
51
57
    // The list of overloaded signals.  (A pointer because C is creating the
52
 
    // instance.)
 
58
    // instance.)  These are owned by the signal master.
53
59
    QList<Chimera::Signature *> *overloads;
54
60
} qpycore_pyqtSignal;
55
61
 
62
68
}
63
69
 
64
70
 
 
71
int qpycore_signal_index(qpycore_pyqtSignal *ps, PyObject *subscript,
 
72
        const char *context);
65
73
void qpycore_set_signal_name(qpycore_pyqtSignal *ps, const char *type_name,
66
74
        const char *name);
67
75
PyObject *qpycore_call_signal_overload(PyObject *ps_obj, PyObject *bound,