|
|
|
@ -1024,7 +1024,7 @@ Java_org_kde_qt_Qt_qCompress___3B(JNIEnv* env, jclass cls, jbyteArray data)
|
|
|
|
|
TQByteArray _qbyteArray;
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQByteArray* _qbyteArray_data = 0;
|
|
|
|
|
_qbyteArray = ::qCompress((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
|
|
|
|
|
_qbyteArray = ::tqCompress((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
|
|
|
|
|
return QtSupport::fromTQByteArray(env, &_qbyteArray);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1034,7 +1034,7 @@ Java_org_kde_qt_Qt_qCompress___3CI(JNIEnv* env, jclass cls, jcharArray data, jin
|
|
|
|
|
TQByteArray _qbyteArray;
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQByteArray* _qbytearray_data = 0;
|
|
|
|
|
_qbyteArray = ::qCompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes);
|
|
|
|
|
_qbyteArray = ::tqCompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes);
|
|
|
|
|
return QtSupport::fromTQByteArray(env, &_qbyteArray);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1466,7 +1466,7 @@ Java_org_kde_qt_Qt_qInitNetworkProtocols(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
(void) env;
|
|
|
|
|
::qInitNetworkProtocols();
|
|
|
|
|
::tqInitNetworkProtocols();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1475,7 +1475,7 @@ Java_org_kde_qt_Qt_qInstallPathBins(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathBins();
|
|
|
|
|
_qstring = ::tqInstallPathBins();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1484,7 +1484,7 @@ Java_org_kde_qt_Qt_qInstallPathData(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathData();
|
|
|
|
|
_qstring = ::tqInstallPathData();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1493,7 +1493,7 @@ Java_org_kde_qt_Qt_qInstallPathDocs(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathDocs();
|
|
|
|
|
_qstring = ::tqInstallPathDocs();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1502,7 +1502,7 @@ Java_org_kde_qt_Qt_qInstallPathHeaders(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathHeaders();
|
|
|
|
|
_qstring = ::tqInstallPathHeaders();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1511,7 +1511,7 @@ Java_org_kde_qt_Qt_qInstallPathLibs(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathLibs();
|
|
|
|
|
_qstring = ::tqInstallPathLibs();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1520,7 +1520,7 @@ Java_org_kde_qt_Qt_qInstallPathPlugins(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathPlugins();
|
|
|
|
|
_qstring = ::tqInstallPathPlugins();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1529,7 +1529,7 @@ Java_org_kde_qt_Qt_qInstallPathSysconf(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathSysconf();
|
|
|
|
|
_qstring = ::tqInstallPathSysconf();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1538,7 +1538,7 @@ Java_org_kde_qt_Qt_qInstallPathTranslations(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPathTranslations();
|
|
|
|
|
_qstring = ::tqInstallPathTranslations();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1547,7 +1547,7 @@ Java_org_kde_qt_Qt_qInstallPath(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qInstallPath();
|
|
|
|
|
_qstring = ::tqInstallPath();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1574,7 +1574,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstri
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQCString* _qstring_message = 0;
|
|
|
|
|
::qObsolete((const char*) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
::tqObsolete((const char*) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1584,7 +1584,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQCString* _qstring_arg1 = 0;
|
|
|
|
|
static TQCString* _qstring_oldfunc = 0;
|
|
|
|
|
::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc));
|
|
|
|
|
::tqObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1595,7 +1595,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_S
|
|
|
|
|
static TQCString* _qstring_arg1 = 0;
|
|
|
|
|
static TQCString* _qstring_oldfunc = 0;
|
|
|
|
|
static TQCString* _qstring_newfunc = 0;
|
|
|
|
|
::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc), (const char*) QtSupport::toCharString(env, newfunc, &_qstring_newfunc));
|
|
|
|
|
::tqObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc), (const char*) QtSupport::toCharString(env, newfunc, &_qstring_newfunc));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1640,7 +1640,7 @@ Java_org_kde_qt_Qt_qSharedBuild(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
(void) env;
|
|
|
|
|
jboolean xret = (jboolean) ::qSharedBuild();
|
|
|
|
|
jboolean xret = (jboolean) ::tqSharedBuild();
|
|
|
|
|
return xret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1649,7 +1649,7 @@ Java_org_kde_qt_Qt_qSuppressObsoleteWarnings__(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
(void) env;
|
|
|
|
|
::qSuppressObsoleteWarnings();
|
|
|
|
|
::tqSuppressObsoleteWarnings();
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1658,7 +1658,7 @@ Java_org_kde_qt_Qt_qSuppressObsoleteWarnings__Z(JNIEnv* env, jclass cls, jboolea
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
(void) env;
|
|
|
|
|
::qSuppressObsoleteWarnings((bool) arg1);
|
|
|
|
|
::tqSuppressObsoleteWarnings((bool) arg1);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1668,7 +1668,7 @@ Java_org_kde_qt_Qt_qSysInfo(JNIEnv* env, jclass cls, jintArray wordSize, jboolea
|
|
|
|
|
(void) cls;
|
|
|
|
|
int* _int_wordSize = QtSupport::toIntPtr(env, wordSize);
|
|
|
|
|
bool* _bool_bigEndian = QtSupport::toBooleanPtr(env, bigEndian);
|
|
|
|
|
jboolean xret = (jboolean) ::qSysInfo( (int*) _int_wordSize, (bool*) _bool_bigEndian);
|
|
|
|
|
jboolean xret = (jboolean) ::tqSysInfo( (int*) _int_wordSize, (bool*) _bool_bigEndian);
|
|
|
|
|
env->SetIntArrayRegion(wordSize, 0, 1, (jint *) _int_wordSize);
|
|
|
|
|
env->SetBooleanArrayRegion(bigEndian, 0, 1, (jboolean*) _bool_bigEndian);
|
|
|
|
|
return xret;
|
|
|
|
@ -1679,7 +1679,7 @@ Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2(JNIEnv* env, jclass cls,
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQCString* _qstring_arg1 = 0;
|
|
|
|
|
::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
|
|
|
|
|
::tqSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1688,7 +1688,7 @@ Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2I(JNIEnv* env, jclass cls,
|
|
|
|
|
{
|
|
|
|
|
(void) cls;
|
|
|
|
|
static TQCString* _qstring_arg1 = 0;
|
|
|
|
|
::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) code);
|
|
|
|
|
::tqSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) code);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1717,7 +1717,7 @@ Java_org_kde_qt_Qt_qVersion(JNIEnv* env, jclass cls)
|
|
|
|
|
{
|
|
|
|
|
const char* _qstring;
|
|
|
|
|
(void) cls;
|
|
|
|
|
_qstring = ::qVersion();
|
|
|
|
|
_qstring = ::tqVersion();
|
|
|
|
|
return QtSupport::fromCharString(env, (char *) _qstring);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1998,7 +1998,7 @@ Java_org_kde_qt_Qt_qDebug(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
|
qDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
tqDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2007,7 +2007,7 @@ Java_org_kde_qt_Qt_qWarning(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
|
qWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
tqWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2016,7 +2016,7 @@ Java_org_kde_qt_Qt_qFatal(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
|
qFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
tqFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|