feat: add missing KF6 framework recipes
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<beginfold id='1'>/*</beginfold id='1'> highlighting test case for Java <endfold id='1'>*/</endfold id='1'>
|
||||
|
||||
// single line comment with ### TODO FIXME
|
||||
|
||||
<beginfold id='1'>/*</beginfold id='1'> multiline comment with ### TODO FIXME <endfold id='1'>*/</endfold id='1'>
|
||||
|
||||
<beginfold id='2'>/**</beginfold id='2'> Javadoc comment with ### TODO FIXME
|
||||
* @param foo bla bla ATTENTION
|
||||
* @return abc cde
|
||||
* @see javadoc.xml
|
||||
<endfold id='2'>*/</endfold id='2'>
|
||||
|
||||
package org.kde.itinerary;
|
||||
|
||||
import org.qtproject.qt5.android.bindings.QtActivity;
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
||||
public class Activity extends QtActivity
|
||||
<beginfold id='3'>{</beginfold id='3'>
|
||||
private static final String TAG = "org.kde.itinerary";
|
||||
|
||||
public void launchViewIntentFromUri(String uri)
|
||||
<beginfold id='3'>{</beginfold id='3'>
|
||||
Uri mapIntentUri = Uri.parse(uri);
|
||||
Intent mapIntent = new Intent(Intent.ACTION_VIEW, mapIntentUri);
|
||||
startActivity(mapIntent);
|
||||
<endfold id='3'>}</endfold id='3'>
|
||||
|
||||
@Override
|
||||
protected String stuff()
|
||||
<beginfold id='3'>{</beginfold id='3'>
|
||||
while (true) <beginfold id='3'>{</beginfold id='3'>
|
||||
<endfold id='3'>}</endfold id='3'>
|
||||
int num = 1;
|
||||
num = 0x2;
|
||||
double f = .4e+49;
|
||||
var other = "string";
|
||||
var multilineString = """
|
||||
string \\ \n
|
||||
sdsda""";
|
||||
|
||||
long int_dec = 1__23_48l;
|
||||
long int_oct = 072034__4l;
|
||||
long int_hex = 0xa__12Ff_13L;
|
||||
int int_bin = 0B1011___01;
|
||||
|
||||
double float_hex = 0x1f__a2.d_f10P+1074D;
|
||||
float float_dec = 1__24.1_32e-1____23F;
|
||||
float[] float_d = <beginfold id='3'>{</beginfold id='3'>1.,1.E+3,1.E+3f,1.F,1.1E+3d,1.1E+3,1.1f,1.1,.1E+3f,.1E+3,.1f,.1,1E+3f,1E+3,1f,1d<endfold id='3'>}</endfold id='3'>;
|
||||
assert 1 > 0;
|
||||
<endfold id='3'>}</endfold id='3'>
|
||||
<endfold id='3'>}</endfold id='3'>
|
||||
Reference in New Issue
Block a user