diff options
Diffstat (limited to 'kdejava/koala/kdejava/KDESupport.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KDESupport.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp index 59dbde5d..f140d36c 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((QChar *) _jchar_str, env->GetStringLength(str)); + *domstring = new DOM::DOMString((TQChar *) _jchar_str, env->GetStringLength(str)); } else { -static QString * temp = 0L; +static TQString * temp = 0L; if (temp == 0L) { - temp = new QString(); + 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 QString * temp = 0L; +static TQString * temp = 0L; if (temp == 0L) { - temp = new QString(); + 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; } -QByteArray * -KDESupport::toQByteArrayFromStream(JNIEnv * env, QByteArray * qbyteArray, jobject byteStream) +TQByteArray * +KDESupport::toQByteArrayFromStream(JNIEnv * env, TQByteArray * qbyteArray, jobject byteStream) { jclass cls; jmethodID toByteArrayMid; @@ -223,7 +223,7 @@ KDESupport::arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList) QCStringList::Iterator it; for (it = qcstringList->begin(); it != qcstringList->end(); ++it) { - QCString currentQCString = (QCString) *it; + TQCString currentQCString = (TQCString) *it; if (! env->CallBooleanMethod( objectArray, addMid, @@ -281,7 +281,7 @@ KDESupport::arrayWithOfferList(JNIEnv * env, KTrader::OfferList * offerList) } jobject -KDESupport::arrayWithKMainWindowList(JNIEnv * env, QPtrList<KMainWindow>* memberList) +KDESupport::arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* memberList) { jobject objectArray; jclass cls; @@ -508,7 +508,7 @@ KDESupport::toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList * int length; int index; jstring jstr; - static QCString * _qstring_temp = 0; + static TQCString * _qstring_temp = 0; if (*qstringList == 0) { *qstringList = new QCStringList(); @@ -523,7 +523,7 @@ KDESupport::toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList * length = env->GetArrayLength(stringList); for (index = 0; index < length; index++) { jstr = (jstring) env->GetObjectArrayElement(stringList, index); - (*qstringList)->append((QCString &) * (QCString *) QtSupport::toQCString(env, jstr, &_qstring_temp)); + (*qstringList)->append((TQCString &) * (TQCString *) QtSupport::toQCString(env, jstr, &_qstring_temp)); env->DeleteLocalRef(jstr); } |