summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KDESupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KDESupport.cpp')
-rw-r--r--kdejava/koala/kdejava/KDESupport.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp
index 34762034..0b2407f8 100644
--- a/kdejava/koala/kdejava/KDESupport.cpp
+++ b/kdejava/koala/kdejava/KDESupport.cpp
@@ -36,12 +36,12 @@ KDESupport::toDOMString(JNIEnv * env, jstring str, DOM::DOMString ** domstring)
_jchar_str = env->GetStringChars(str, 0);
if (QtSupport::bigEndianUnicode()) {
- *domstring = new DOM::DOMString((TTQChar *) _jchar_str, env->GetStringLength(str));
+ *domstring = new DOM::DOMString((TQChar *) _jchar_str, env->GetStringLength(str));
} else {
-static TTQString * temp = 0L;
+static TQString * temp = 0L;
if (temp == 0L) {
- temp = new TTQString();
+ temp = new TQString();
}
// Hack to change the big endian unicode in 'str' to little endian in 'temp'.
@@ -59,10 +59,10 @@ KDESupport::fromDOMString(JNIEnv * env, DOM::DOMString * domstring)
if (QtSupport::bigEndianUnicode()) {
return env->NewString((const jchar *) domstring->unicode(), (long) domstring->length());
} else {
-static TTQString * temp = 0L;
+static TQString * temp = 0L;
if (temp == 0L) {
- temp = new TTQString();
+ temp = new TQString();
}
// Hack to change the big endian unicode in 'qstring' to little endian in 'temp'.
@@ -176,8 +176,8 @@ KDESupport::toKCmdLineOptions(JNIEnv * env, jobjectArray optionsArray)
return cmdLineOptions;
}
-TTQByteArray *
-KDESupport::toTQByteArrayFromStream(JNIEnv * env, TTQByteArray * qbyteArray, jobject byteStream)
+TQByteArray *
+KDESupport::toTQByteArrayFromStream(JNIEnv * env, TQByteArray * qbyteArray, jobject byteStream)
{
jclass cls;
jmethodID toByteArrayMid;
@@ -223,7 +223,7 @@ KDESupport::arrayWithTQCStringList(JNIEnv * env, TQCStringList * qcstringList)
TQCStringList::Iterator it;
for (it = qcstringList->begin(); it != qcstringList->end(); ++it) {
- TTQCString currentTQCString = (TTQCString) *it;
+ TQCString currentTQCString = (TQCString) *it;
if (! env->CallBooleanMethod( objectArray,
addMid,
@@ -281,7 +281,7 @@ KDESupport::arrayWithOfferList(JNIEnv * env, KTrader::OfferList * offerList)
}
jobject
-KDESupport::arrayWithKMainWindowList(JNIEnv * env, TTQPtrList<KMainWindow>* memberList)
+KDESupport::arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* memberList)
{
jobject objectArray;
jclass cls;
@@ -502,13 +502,13 @@ KDESupport::arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList)
return (jobject) objectArray;
}
-TTQCStringList *
+TQCStringList *
KDESupport::toTQCStringList(JNIEnv * env, jobjectArray stringList, TQCStringList ** qstringList)
{
int length;
int index;
jstring jstr;
- static TTQCString * _qstring_temp = 0;
+ static TQCString * _qstring_temp = 0;
if (*qstringList == 0) {
*qstringList = new TQCStringList();
@@ -523,7 +523,7 @@ KDESupport::toTQCStringList(JNIEnv * env, jobjectArray stringList, TQCStringList
length = env->GetArrayLength(stringList);
for (index = 0; index < length; index++) {
jstr = (jstring) env->GetObjectArrayElement(stringList, index);
- (*qstringList)->append((TTQCString &) * (TTQCString *) QtSupport::toTQCString(env, jstr, &_qstring_temp));
+ (*qstringList)->append((TQCString &) * (TQCString *) QtSupport::toTQCString(env, jstr, &_qstring_temp));
env->DeleteLocalRef(jstr);
}