Beispiel #1
0
 private DateTime(NativeArg2 arg)
 {
     CPP.Add("$q = new QDateTime(date,time);");
 }
Beispiel #2
0
 private XMLTag(NativeArg1 arg1, NativeArg2 arg2)
 {
     CPP.Add("$doc = doc;");
     CPP.Add("$q = new QDomElement($doc->createElement(name));");
 }
Beispiel #3
0
 private FixedArray(NativeArg2 arg, int size, bool copy)
 {
     CPP.Add("$init(); if (size < 0) $abe(); t = new T[size]; length = size; alloced = true; for(int a=0;a<length;a++) {t[a] = buf[a];}");
 }
Beispiel #4
0
 private String(NativeArg2 arg)
 {
     CPP.Add("$q = new QString(ss.c_str());");
 }