diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-04 01:41:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-04 01:41:14 -0600 |
commit | 12cadbfed97cb4735f3f910f57cba5739438077c (patch) | |
tree | 0509d85d094b1236ab5543ff5f4528c5e6eefa55 /sip/tdecore/kmacroexpander.sip | |
parent | 65674fcc5b81254837e10d7c6040c234947e7a3a (diff) | |
download | pytde-12cadbfed97cb4735f3f910f57cba5739438077c.tar.gz pytde-12cadbfed97cb4735f3f910f57cba5739438077c.zip |
Rename sip_Q to sipTQ
Diffstat (limited to 'sip/tdecore/kmacroexpander.sip')
-rw-r--r-- | sip/tdecore/kmacroexpander.sip | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sip/tdecore/kmacroexpander.sip b/sip/tdecore/kmacroexpander.sip index b70d2df..0d2c2f7 100644 --- a/sip/tdecore/kmacroexpander.sip +++ b/sip/tdecore/kmacroexpander.sip @@ -145,7 +145,7 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr TQChar acpp = it.key (); PyObject *binst = PyString_FromString ((char *)((TQString *)&it.data ())); PyObject *ainst; - if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_QChar, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_TQChar, sipTransferObj)) == NULL) || (binst == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { @@ -177,13 +177,13 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr { int iserr = 0, cKey_state, sData_state; - cKey = (TQChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr); - sData = (TQString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); + cKey = (TQChar *)sipForceConvertToType(key, sipType_TQChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr); + sData = (TQString *)sipForceConvertToType(value, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); if (iserr) { if (cKey) - sipReleaseType(cKey, sipType_QChar, cKey_state); + sipReleaseType(cKey, sipType_TQChar, cKey_state); *sipIsErr = 1; delete map; @@ -192,8 +192,8 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr map->insert (*cKey, *sData); - sipReleaseType(cKey, sipType_QChar, cKey_state); - sipReleaseType(sData, sipType_QString, sData_state); + sipReleaseType(cKey, sipType_TQChar, cKey_state); + sipReleaseType(sData, sipType_TQString, sData_state); } *sipCppPtr = map; @@ -234,7 +234,7 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr TQStringList bcpp = it.data (); PyObject *ainst = PyString_FromString ((char *)((TQString *)&it.key ())); PyObject *binst; - if (((binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_QStringList, sipTransferObj)) == NULL) + if (((binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_TQStringList, sipTransferObj)) == NULL) || (ainst == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { @@ -266,13 +266,13 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr { int iserr = 0, sKey_state, slData_state; - sKey = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr); - slData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr); + sKey = (TQString *)sipForceConvertToType(key, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr); + slData = (TQStringList *)sipForceConvertToType(value, sipType_TQStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr); if (iserr) { if (sKey) - sipReleaseType(sKey, sipType_QString, sKey_state); + sipReleaseType(sKey, sipType_TQString, sKey_state); *sipIsErr = 1; delete map; @@ -281,8 +281,8 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr map->insert (*sKey, *slData); - sipReleaseType(sKey, sipType_QString, sKey_state); - sipReleaseType(slData, sipType_QStringList, slData_state); + sipReleaseType(sKey, sipType_TQString, sKey_state); + sipReleaseType(slData, sipType_TQStringList, slData_state); } *sipCppPtr = map; @@ -324,8 +324,8 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr TQStringList bcpp = it.data (); PyObject *binst; PyObject *ainst; - if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_QChar, sipTransferObj)) == NULL) - || (binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_QStringList, sipTransferObj)) + if (((ainst = sipConvertFromNewType(new TQChar(acpp), sipType_TQChar, sipTransferObj)) == NULL) + || (binst = sipConvertFromNewType(new TQStringList(bcpp), sipType_TQStringList, sipTransferObj)) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst); @@ -356,13 +356,13 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr { int iserr = 0, cKey_state, slData_state; - cKey = (TQChar *)sipForceConvertToType(key, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr); - slData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr); + cKey = (TQChar *)sipForceConvertToType(key, sipType_TQChar, sipTransferObj, SIP_NOT_NONE, &cKey_state, &iserr); + slData = (TQStringList *)sipForceConvertToType(value, sipType_TQStringList, sipTransferObj, SIP_NOT_NONE, &slData_state, &iserr); if (iserr) { if (cKey) - sipReleaseType(cKey, sipType_QChar, cKey_state); + sipReleaseType(cKey, sipType_TQChar, cKey_state); *sipIsErr = 1; delete map; @@ -371,8 +371,8 @@ TQString expandMacrosShellQuote (const TQString&, const TQMap<TQStr map->insert (*cKey, *slData); - sipReleaseType(cKey, sipType_QChar, cKey_state); - sipReleaseType(slData, sipType_QStringList, slData_state); + sipReleaseType(cKey, sipType_TQChar, cKey_state); + sipReleaseType(slData, sipType_TQStringList, slData_state); } *sipCppPtr = map; |