diff options
Diffstat (limited to 'sip/tdecore')
-rw-r--r-- | sip/tdecore/bytearray.sip | 74 | ||||
-rw-r--r-- | sip/tdecore/kaccel.sip | 4 | ||||
-rw-r--r-- | sip/tdecore/kconfig.sip | 14 | ||||
-rw-r--r-- | sip/tdecore/kmacroexpander.sip | 38 | ||||
-rw-r--r-- | sip/tdecore/ktimezones.sip | 8 |
5 files changed, 69 insertions, 69 deletions
diff --git a/sip/tdecore/bytearray.sip b/sip/tdecore/bytearray.sip index 67367d6..a5acc9c 100644 --- a/sip/tdecore/bytearray.sip +++ b/sip/tdecore/bytearray.sip @@ -219,19 +219,19 @@ void dcop_next (TQDataStream&, TQCString&); { TQString res; *a0 >> res; - return sipConvertFromNewType(new TQString(res), sipType_QString, NULL); + return sipConvertFromNewType(new TQString(res), sipType_TQString, NULL); } else if (*a1 == "TQStringList") { TQStringList res; *a0 >> res; - return sipConvertFromNewType(new TQStringList(res), sipType_QStringList, NULL); + return sipConvertFromNewType(new TQStringList(res), sipType_TQStringList, NULL); } else if (*a1 == "TQCString") { TQCString res; *a0 >> res; - return sipConvertFromNewType(new TQCString(res), sipType_QCString, NULL); + return sipConvertFromNewType(new TQCString(res), sipType_TQCString, NULL); } else if (*a1 == "KURL") { @@ -249,67 +249,67 @@ void dcop_next (TQDataStream&, TQCString&); { TQSize res; *a0 >> res; - return sipConvertFromNewType(new TQSize(res), sipType_QSize, NULL); + return sipConvertFromNewType(new TQSize(res), sipType_TQSize, NULL); } else if (*a1 == "TQRect") { TQRect res; *a0 >> res; - return sipConvertFromNewType(new TQRect(res), sipType_QRect, NULL); + return sipConvertFromNewType(new TQRect(res), sipType_TQRect, NULL); } else if (*a1 == "TQRegion") { TQRect res; *a0 >> res; - return sipConvertFromNewType(new TQRegion(res), sipType_QRegion, NULL); + return sipConvertFromNewType(new TQRegion(res), sipType_TQRegion, NULL); } else if (*a1 == "TQPoint") { TQPoint res; *a0 >> res; - return sipConvertFromNewType(new TQPoint(res), sipType_QPoint, NULL); + return sipConvertFromNewType(new TQPoint(res), sipType_TQPoint, NULL); } else if (*a1 == "TQFont") { TQFont res; *a0 >> res; - return sipConvertFromNewType(new TQFont(res), sipType_QFont, NULL); + return sipConvertFromNewType(new TQFont(res), sipType_TQFont, NULL); } else if (*a1 == "TQCursor") { TQCursor res; *a0 >> res; - return sipConvertFromNewType(new TQCursor(res), sipType_QCursor, NULL); + return sipConvertFromNewType(new TQCursor(res), sipType_TQCursor, NULL); } else if (*a1 == "TQPixmap") { TQPixmap res; *a0 >> res; - return sipConvertFromNewType(new TQPixmap(res), sipType_QPixmap, NULL); + return sipConvertFromNewType(new TQPixmap(res), sipType_TQPixmap, NULL); } else if (*a1 == "TQColor") { TQColor res; *a0 >> res; - return sipConvertFromNewType(new TQColor(res), sipType_QColor, NULL); + return sipConvertFromNewType(new TQColor(res), sipType_TQColor, NULL); } else if (*a1 == "TQColorGroup") { TQColorGroup res; *a0 >> res; - return sipConvertFromNewType(new TQColorGroup(res), sipType_QColorGroup, NULL); + return sipConvertFromNewType(new TQColorGroup(res), sipType_TQColorGroup, NULL); } else if (*a1 == "TQPalette") { TQPalette res; *a0 >> res; - return sipConvertFromNewType(new TQPalette(res), sipType_QPalette, NULL); + return sipConvertFromNewType(new TQPalette(res), sipType_TQPalette, NULL); } else if (*a1 == "TQBrush") { TQBrush res; *a0 >> res; - return sipConvertFromNewType(new TQBrush(res), sipType_QBrush, NULL); + return sipConvertFromNewType(new TQBrush(res), sipType_TQBrush, NULL); } else if (*a1 == "FocusPolicy") { @@ -327,61 +327,61 @@ void dcop_next (TQDataStream&, TQCString&); { TQVariant res; *a0 >> res; - return sipConvertFromNewType(new TQVariant(res), sipType_QVariant, NULL); + return sipConvertFromNewType(new TQVariant(res), sipType_TQVariant, NULL); } else if (*a1 == "TQDate") { TQDate res; *a0 >> res; - return sipConvertFromNewType(new TQDate(res), sipType_QDate, NULL); + return sipConvertFromNewType(new TQDate(res), sipType_TQDate, NULL); } else if (*a1 == "TQTime") { TQTime res; *a0 >> res; - return sipConvertFromNewType(new TQTime(res), sipType_QTime, NULL); + return sipConvertFromNewType(new TQTime(res), sipType_TQTime, NULL); } else if (*a1 == "TQDateTime") { TQDateTime res; *a0 >> res; - return sipConvertFromNewType(new TQDateTime(res), sipType_QDateTime, NULL); + return sipConvertFromNewType(new TQDateTime(res), sipType_TQDateTime, NULL); } else if (*a1 == "TQImage") { TQImage res; *a0 >> res; - return sipConvertFromNewType(new TQImage(res), sipType_QImage, NULL); + return sipConvertFromNewType(new TQImage(res), sipType_TQImage, NULL); } else if (*a1 == "TQKeySequence") { TQKeySequence res; *a0 >> res; - return sipConvertFromNewType(new TQKeySequence(res), sipType_QKeySequence, NULL); + return sipConvertFromNewType(new TQKeySequence(res), sipType_TQKeySequence, NULL); } else if (*a1 == "TQPen") { TQPen res; *a0 >> res; - return sipConvertFromNewType(new TQPen(res), sipType_QPen, NULL); + return sipConvertFromNewType(new TQPen(res), sipType_TQPen, NULL); } else if (*a1 == "TQPicture") { TQPicture res; *a0 >> res; - return sipConvertFromNewType(new TQPicture(res), sipType_QPicture, NULL); + return sipConvertFromNewType(new TQPicture(res), sipType_TQPicture, NULL); } else if (*a1 == "TQPointArray") { TQPointArray res; *a0 >> res; - return sipConvertFromNewType(new TQPointArray(res), sipType_QPointArray, NULL); + return sipConvertFromNewType(new TQPointArray(res), sipType_TQPointArray, NULL); } else if (*a1 == "TQByteArray") { TQByteArray res; *a0 >> res; - return sipConvertFromNewType(new TQByteArray(res), sipType_QByteArray, NULL); + return sipConvertFromNewType(new TQByteArray(res), sipType_TQByteArray, NULL); } else if (*a1 == "TQMap<TQCString,DCOPRef>") { @@ -645,7 +645,7 @@ void dcop_add (TQDataStream& s, TQByteArray value) DCOPRef bcpp = it.data (); PyObject *ainst; PyObject *binst = NULL; - if (((ainst = sipConvertFromNewType(new TQCString(acpp), sipType_QCString, NULL)) == NULL) + if (((ainst = sipConvertFromNewType(new TQCString(acpp), sipType_TQCString, NULL)) == NULL) || ((binst = sipConvertFromNewType(new DCOPRef(bcpp), sipType_DCOPRef, NULL)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { @@ -677,7 +677,7 @@ void dcop_add (TQDataStream& s, TQByteArray value) { int iserr = 0; - acpp = (TQCString *)sipForceConvertToType(aelem, sipType_QCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + acpp = (TQCString *)sipForceConvertToType(aelem, sipType_TQCString, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); bcpp = (DCOPRef *)sipForceConvertToType(belem, sipType_DCOPRef, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) @@ -728,7 +728,7 @@ void dcop_add (TQDataStream& s, TQByteArray value) DCOPRef bcpp = it.data (); PyObject *ainst; PyObject *binst = NULL; - if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL) || ((binst = sipConvertFromNewType(new DCOPRef(bcpp), sipType_DCOPRef, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { @@ -760,13 +760,13 @@ void dcop_add (TQDataStream& s, TQByteArray value) { int iserr = 0, acpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); bcpp = (DCOPRef *)sipForceConvertToType(belem, sipType_DCOPRef, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { if (acpp) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -775,7 +775,7 @@ void dcop_add (TQDataStream& s, TQByteArray value) cppmap->insert (*acpp, *bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); } *sipCppPtr = cppmap; @@ -819,8 +819,8 @@ void dcop_add (TQDataStream& s, TQByteArray value) TQByteArray bcpp = it.data (); PyObject *ainst; PyObject *binst = NULL; - if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL) - || ((binst = sipConvertFromNewType(new TQByteArray(bcpp), sipType_QByteArray, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL) + || ((binst = sipConvertFromNewType(new TQByteArray(bcpp), sipType_TQByteArray, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst); @@ -851,13 +851,13 @@ void dcop_add (TQDataStream& s, TQByteArray value) { int iserr = 0, acpp_state, bcpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); - bcpp = (TQByteArray *)sipForceConvertToType(belem, sipType_QByteArray, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + bcpp = (TQByteArray *)sipForceConvertToType(belem, sipType_TQByteArray, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); if (iserr) { if (acpp) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -866,8 +866,8 @@ void dcop_add (TQDataStream& s, TQByteArray value) cppmap->insert (*acpp, *bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); - sipReleaseType(bcpp, sipType_QByteArray, bcpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); + sipReleaseType(bcpp, sipType_TQByteArray, bcpp_state); } *sipCppPtr = cppmap; diff --git a/sip/tdecore/kaccel.sip b/sip/tdecore/kaccel.sip index 2222223..54655a7 100644 --- a/sip/tdecore/kaccel.sip +++ b/sip/tdecore/kaccel.sip @@ -217,7 +217,7 @@ public: int iserr = 0, sData_state; iKey = PyInt_AS_LONG (key); - sData = (TQString *)sipForceConvertToType(value, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); + sData = (TQString *)sipForceConvertToType(value, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); if (iserr) { @@ -228,7 +228,7 @@ public: map->insert (iKey, *sData); - sipReleaseType(sData, sipType_QString, sData_state); + sipReleaseType(sData, sipType_TQString, sData_state); } *sipCppPtr = map; diff --git a/sip/tdecore/kconfig.sip b/sip/tdecore/kconfig.sip index 1458aa6..b0509f0 100644 --- a/sip/tdecore/kconfig.sip +++ b/sip/tdecore/kconfig.sip @@ -133,8 +133,8 @@ private: TQString bcpp = it.data (); PyObject *ainst; PyObject *binst = NULL; - if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL) - || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_QString, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL) + || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_TQString, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst); @@ -165,13 +165,13 @@ private: { int iserr = 0, acpp_state, bcpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); - bcpp = (TQString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + bcpp = (TQString *)sipForceConvertToType(belem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); if (iserr) { if (acpp) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -180,8 +180,8 @@ private: cppmap->insert (*acpp, *bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); - sipReleaseType(bcpp, sipType_QString, bcpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); + sipReleaseType(bcpp, sipType_TQString, bcpp_state); } *sipCppPtr = cppmap; 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; diff --git a/sip/tdecore/ktimezones.sip b/sip/tdecore/ktimezones.sip index fb92fdb..db7808d 100644 --- a/sip/tdecore/ktimezones.sip +++ b/sip/tdecore/ktimezones.sip @@ -212,7 +212,7 @@ private: KTimezone *bcpp = it.data (); PyObject *ainst; PyObject *binst = NULL; - if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL) || ((binst = sipConvertFromType(bcpp, sipType_KTimezone, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { @@ -244,13 +244,13 @@ private: { int iserr = 0, acpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); bcpp = (KTimezone *)sipForceConvertToType(belem, sipType_KTimezone, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { if (acpp) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -259,7 +259,7 @@ private: cppmap->insert (*acpp, bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); } *sipCppPtr = cppmap; |