|
|
|
@ -1815,7 +1815,7 @@ sub cplusplusToJava
|
|
|
|
|
return "double[]";
|
|
|
|
|
} elsif ( kalyptusDataDict::ctypemap($cplusplusType) =~ /^\s*(unsigned )?short\s*\*/ ) {
|
|
|
|
|
return "short[]";
|
|
|
|
|
} elsif ( $cplusplusType =~ /KCmdLineOptions/ ) {
|
|
|
|
|
} elsif ( $cplusplusType =~ /TDECmdLineOptions/ ) {
|
|
|
|
|
return "String[][]";
|
|
|
|
|
} elsif ( $cplusplusType =~ /char\s*\*\*/ || $cplusplusType =~ /TQStringList/|| $cplusplusType =~ /TQStrList/) {
|
|
|
|
|
return "String[]";
|
|
|
|
@ -2066,8 +2066,8 @@ sub jniArgTocplusplus
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} elsif ( $javaType =~ /String\[\]\[\]/ ) {
|
|
|
|
|
if ( $cplusplusType =~ /KCmdLineOptions/ ) {
|
|
|
|
|
$jniArg = "(KCmdLineOptions*) KDESupport::toKCmdLineOptions(env, $argName)";
|
|
|
|
|
if ( $cplusplusType =~ /TDECmdLineOptions/ ) {
|
|
|
|
|
$jniArg = "(TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, $argName)";
|
|
|
|
|
}
|
|
|
|
|
} elsif ( $javaType =~ /String\[\]/ ) {
|
|
|
|
|
if ( $cplusplusType =~ /TQStringList/ ) {
|
|
|
|
@ -5466,8 +5466,8 @@ sub printJavadocComment($$$$)
|
|
|
|
|
$line =~ s/TQString::null/null/g;
|
|
|
|
|
$line =~ s/(const )?QC?String(\s*&)?/String/g;
|
|
|
|
|
$line =~ s/TQByteArray/byte[]/g;
|
|
|
|
|
$line =~ s/(const )?KCmdLineOptions\s*(\w+)\[\]/String[][] $2/;
|
|
|
|
|
$line =~ s/KCmdLineLastOption//g;
|
|
|
|
|
$line =~ s/(const )?TDECmdLineOptions\s*(\w+)\[\]/String[][] $2/;
|
|
|
|
|
$line =~ s/TDECmdLineLastOption//g;
|
|
|
|
|
$line =~ s/virtual //g;
|
|
|
|
|
$line =~ s/~\w+\(\)((\s*{\s*})|;)//g;
|
|
|
|
|
$line =~ s/0L/null/g;
|
|
|
|
@ -5572,7 +5572,7 @@ sub printJavadocComment($$$$)
|
|
|
|
|
$returntext =~ s/TQStringList/ArrayList/g;
|
|
|
|
|
$returntext =~ s/([Aa]) ArrayList/$1n ArrayList/g;
|
|
|
|
|
$returntext =~ s/TQString/String/g;
|
|
|
|
|
$returntext =~ s/KCmdLineOptions/String[][]/;
|
|
|
|
|
$returntext =~ s/TDECmdLineOptions/String[][]/;
|
|
|
|
|
$returntext =~ s!\\note!<b>Note:<\b>!g;
|
|
|
|
|
$returntext =~ s!\\(code|verbatim)!<pre>!g;
|
|
|
|
|
$returntext =~ s!\\(endcode|endverbatim)!</pre>!g;
|
|
|
|
|