diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-07-18 15:18:06 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2011-07-19 10:27:30 -0300 |
commit | 58e3040802eedae58e9dd6443c2a59ebaa97f888 (patch) | |
tree | 9fa2fe536972b5a7e9712a02a6c8ad66086ec31a | |
parent | 628f2038024f1ee561287ca14fd00965f7c24e0e (diff) | |
download | pyside-58e3040802eedae58e9dd6443c2a59ebaa97f888.tar.gz pyside-58e3040802eedae58e9dd6443c2a59ebaa97f888.tar.xz pyside-58e3040802eedae58e9dd6443c2a59ebaa97f888.zip |
Renamed PySide.Signal instance class to PySide.SignalInstance.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r-- | libpyside/pysidesignal.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libpyside/pysidesignal.cpp b/libpyside/pysidesignal.cpp index 6fe6bdc..1bdaa73 100644 --- a/libpyside/pysidesignal.cpp +++ b/libpyside/pysidesignal.cpp @@ -28,6 +28,7 @@ #include <QDebug> #define SIGNAL_CLASS_NAME "Signal" +#define SIGNAL_INSTANCE_NAME "SignalInstance" #define QT_SIGNAL_SENTINEL '2' @@ -133,7 +134,7 @@ static PyMappingMethods SignalInstance_as_mapping = { PyTypeObject PySideSignalInstanceType = { PyObject_HEAD_INIT(0) /*ob_size*/ 0, - /*tp_name*/ "PySide.QtCore."SIGNAL_CLASS_NAME, + /*tp_name*/ "PySide.QtCore."SIGNAL_INSTANCE_NAME, /*tp_basicsize*/ sizeof(PySideSignalInstance), /*tp_itemsize*/ 0, /*tp_dealloc*/ 0, @@ -152,7 +153,7 @@ PyTypeObject PySideSignalInstanceType = { /*tp_setattro*/ 0, /*tp_as_buffer*/ 0, /*tp_flags*/ Py_TPFLAGS_DEFAULT, - /*tp_doc*/ SIGNAL_CLASS_NAME, + /*tp_doc*/ SIGNAL_INSTANCE_NAME, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, @@ -285,7 +286,7 @@ PyObject* signalInstanceConnect(PyObject* self, PyObject* args, PyObject* kwds) static const char *kwlist[] = {"slot", "type", 0}; if (!PyArg_ParseTupleAndKeywords(args, kwds, - "O|O:"SIGNAL_CLASS_NAME, (char**) kwlist, &slot, &type)) + "O|O:"SIGNAL_INSTANCE_NAME, (char**) kwlist, &slot, &type)) return 0; PySideSignalInstance *source = reinterpret_cast<PySideSignalInstance*>(self); |