diff options
Diffstat (limited to 'python/sip/siplib/qtlib.c')
-rw-r--r-- | python/sip/siplib/qtlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/sip/siplib/qtlib.c b/python/sip/siplib/qtlib.c index da7637f1..f3ba4301 100644 --- a/python/sip/siplib/qtlib.c +++ b/python/sip/siplib/qtlib.c @@ -278,7 +278,7 @@ sipSignature *sip_api_parse_signature(const char *sig) case 8: if (strncmp(dp, "unsigned", 8) == 0) sat = uint_sat; - else if (strncmp(dp, "QVariant", 8) == 0) + else if (strncmp(dp, "TQVariant", 8) == 0) { if (indir == 0) { @@ -1153,7 +1153,7 @@ static int saveSlot(sipSlot *sp, PyObject *rxObj, const char *slot) * because they are generated on the fly and we can't take a * reference as that may keep the instance (ie. self) alive. * We therefore treat it as if the user had specified the slot - * at "obj, SLOT('meth()')" rather than "obj.meth" (see below). + * at "obj, TQT_SLOT('meth()')" rather than "obj.meth" (see below). */ const char *meth; @@ -1200,7 +1200,7 @@ static int saveSlot(sipSlot *sp, PyObject *rxObj, const char *slot) { /* * The user has decided to connect a Python signal to a Qt slot and - * specified the slot as "obj, SLOT('meth()')" rather than "obj.meth". + * specified the slot as "obj, TQT_SLOT('meth()')" rather than "obj.meth". */ char *tail; |