summaryrefslogtreecommitdiffstats
path: root/sip/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdecore')
-rw-r--r--sip/tdecore/bytearray.sip12
-rw-r--r--sip/tdecore/kconfigskeleton.sip8
-rw-r--r--sip/tdecore/kstddirs.sip2
3 files changed, 11 insertions, 11 deletions
diff --git a/sip/tdecore/bytearray.sip b/sip/tdecore/bytearray.sip
index e8c00f0..507ef3c 100644
--- a/sip/tdecore/bytearray.sip
+++ b/sip/tdecore/bytearray.sip
@@ -139,7 +139,7 @@ void dcop_next (TQDataStream&, TQCString&);
%MethodCode
if (*a1 == "char")
{
- Q_INT8 res;
+ TQ_INT8 res;
*a0 >> res;
return PyInt_FromLong ((long)res);
}
@@ -169,7 +169,7 @@ void dcop_next (TQDataStream&, TQCString&);
}
if (*a1 == "uchar" || *a1 == "unsigned char")
{
- Q_UINT8 res;
+ TQ_UINT8 res;
*a0 >> res;
return PyInt_FromLong ((long)res);
}
@@ -185,9 +185,9 @@ void dcop_next (TQDataStream&, TQCString&);
*a0 >> res;
return PyLong_FromLong (res);
}
- else if (*a1 == "Q_INT32")
+ else if (*a1 == "TQ_INT32")
{
- Q_INT32 res;
+ TQ_INT32 res;
*a0 >> res;
return PyLong_FromLong ((long)res);
}
@@ -433,7 +433,7 @@ void dcop_next (TQDataStream&, TQCString&);
void dcop_add (TQDataStream& s, int value, const TQCString& type_)
{
if (type_ == "char")
- s << (Q_INT8)value;
+ s << (TQ_INT8)value;
else if (type_ == "bool")
s << (bool)value;
else if (type_ == "short")
@@ -443,7 +443,7 @@ void dcop_add (TQDataStream& s, int value, const TQCString& type_)
else if (type_ == "long")
s << (long)value;
else if (type_== "uchar" || type_ == "unsigned char")
- s << (Q_UINT8)value;
+ s << (TQ_UINT8)value;
else if (type_ == "ushort" || type_ == "unsigned short")
s << (ushort)value;
else if (type_ == "uint" || type_ == "unsigned int")
diff --git a/sip/tdecore/kconfigskeleton.sip b/sip/tdecore/kconfigskeleton.sip
index 4891755..467ebb2 100644
--- a/sip/tdecore/kconfigskeleton.sip
+++ b/sip/tdecore/kconfigskeleton.sip
@@ -593,14 +593,14 @@ public:
class PyItemInt64 : public KConfigSkeleton::ItemInt64
{
public:
- PyItemInt64(const TQString &group, const TQString &key, Q_INT64 val, Q_INT64 defaultValue=0) :
+ PyItemInt64(const TQString &group, const TQString &key, TQ_INT64 val, TQ_INT64 defaultValue=0) :
KConfigSkeleton::ItemInt64(group, key, this->value, defaultValue)
{
value = val;
};
private:
- Q_INT64 value;
+ TQ_INT64 value;
};
Py_BEGIN_ALLOW_THREADS
@@ -787,14 +787,14 @@ public:
class PyItemUInt64 : public KConfigSkeleton::ItemUInt64
{
public:
- PyItemUInt64(const TQString &group, const TQString &key, Q_UINT64 val, Q_UINT64 defaultValue = 0) :
+ PyItemUInt64(const TQString &group, const TQString &key, TQ_UINT64 val, TQ_UINT64 defaultValue = 0) :
KConfigSkeleton::ItemUInt64(group, key, this->value, defaultValue)
{
value = val;
};
private:
- Q_UINT64 value;
+ TQ_UINT64 value;
};
Py_BEGIN_ALLOW_THREADS
diff --git a/sip/tdecore/kstddirs.sip b/sip/tdecore/kstddirs.sip
index 3e6ea5b..a066ec9 100644
--- a/sip/tdecore/kstddirs.sip
+++ b/sip/tdecore/kstddirs.sip
@@ -37,7 +37,7 @@ public:
bool addResourceType (const char*, const TQString&);
bool addResourceDir (const char*, const TQString&);
TQString findResource (const char*, const TQString&) const;
- Q_UINT32 calcResourceHash (const char*, const TQString&, bool) const;
+ TQ_UINT32 calcResourceHash (const char*, const TQString&, bool) const;
TQStringList findDirs (const char*, const TQString&) const;
TQString findResourceDir (const char*, const TQString&) const;
TQStringList findAllResources (const char*, const TQString& = TQString::null, bool = 0, bool = 0) const;