public List <T> FindChildren <T>(QRegExp regExp) { List <T> list = new List <T>(); AddToListFn addFn = delegate(IntPtr obj) { T o = (T)((System.Runtime.InteropServices.GCHandle)obj).Target; list.Add(o); }; string childClassName = null; IntPtr metaObject = IntPtr.Zero; if (SmokeMarshallers.IsSmokeClass(typeof(T))) { childClassName = SmokeMarshallers.SmokeClassName(typeof(T)); } else { metaObject = (IntPtr)GCHandle.Alloc(Qyoto.GetMetaObject(typeof(T))); } FindQObjectChildren((IntPtr)GCHandle.Alloc(this), childClassName, metaObject, (IntPtr)GCHandle.Alloc(regExp), string.Empty, addFn); return(list); }
public QTextCursor Find(QRegExp expr) { return (QTextCursor) interceptor.Invoke("find#", "find(const QRegExp&) const", typeof(QTextCursor), typeof(QRegExp), expr); }
public QTextCursor Find(QRegExp expr, int from) { return (QTextCursor) interceptor.Invoke("find#$", "find(const QRegExp&, int) const", typeof(QTextCursor), typeof(QRegExp), expr, typeof(int), from); }
public QTextCursor Find(QRegExp expr, QTextCursor from, uint options) { return((QTextCursor)interceptor.Invoke("find##$", "find(const QRegExp&, const QTextCursor&, QTextDocument::FindFlags) const", typeof(QTextCursor), typeof(QRegExp), expr, typeof(QTextCursor), from, typeof(uint), options)); }
public static QDataStream Read(QDataStream arg1, QRegExp regExp) { return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QRegExp&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRegExp), regExp); }
public static int Find(string text, QRegExp pattern, int index, long options, ref int matchedlength) { StackItem[] stack = new StackItem[6]; #if DEBUG stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(text); #else stack[1].s_class = (IntPtr) GCHandle.Alloc(text); #endif #if DEBUG stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(pattern); #else stack[2].s_class = (IntPtr) GCHandle.Alloc(pattern); #endif stack[3].s_int = index; stack[4].s_long = options; stack[5].s_int = matchedlength; staticInterceptor.Invoke("find$#$$$", "find(const QString&, const QRegExp&, int, long, int*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle) stack[1].s_class); #else ((GCHandle) stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[2].s_class); #else ((GCHandle) stack[2].s_class).SynchronizedFree(); #endif matchedlength = stack[5].s_int; return stack[0].s_int; }
public static List<QSslCertificate> FromPath(string path, QSsl.EncodingFormat format, QRegExp.PatternSyntax syntax) { return (List<QSslCertificate>) staticInterceptor.Invoke("fromPath$$$", "fromPath(const QString&, QSsl::EncodingFormat, QRegExp::PatternSyntax)", typeof(List<QSslCertificate>), typeof(string), path, typeof(QSsl.EncodingFormat), format, typeof(QRegExp.PatternSyntax), syntax); }
public int LastIndexIn(string str, int offset, QRegExp.CaretMode caretMode) { return (int) interceptor.Invoke("lastIndexIn$$$", "lastIndexIn(const QString&, int, QRegExp::CaretMode) const", typeof(int), typeof(string), str, typeof(int), offset, typeof(QRegExp.CaretMode), caretMode); }
public void SetPatternSyntax(QRegExp.PatternSyntax syntax) { interceptor.Invoke("setPatternSyntax$", "setPatternSyntax(QRegExp::PatternSyntax)", typeof(void), typeof(QRegExp.PatternSyntax), syntax); }
public QScriptValue NewRegExp(QRegExp regexp) { return((QScriptValue)interceptor.Invoke("newRegExp#", "newRegExp(const QRegExp&)", typeof(QScriptValue), typeof(QRegExp), regexp)); }
public QRegExp(QRegExp rx) : this((Type)null) { CreateProxy(); interceptor.Invoke("QRegExp#", "QRegExp(const QRegExp&)", typeof(void), typeof(QRegExp), rx); }
public QVariant(QRegExp regExp) : this((Type)null) { CreateProxy(); interceptor.Invoke("QVariant#", "QVariant(const QRegExp&)", typeof(void), typeof(QRegExp), regExp); }
public bool AddCaCertificates(string path, QSsl.EncodingFormat format, QRegExp.PatternSyntax syntax) { return (bool) interceptor.Invoke("addCaCertificates$$$", "addCaCertificates(const QString&, QSsl::EncodingFormat, QRegExp::PatternSyntax)", typeof(bool), typeof(string), path, typeof(QSsl.EncodingFormat), format, typeof(QRegExp.PatternSyntax), syntax); }
public QTextCursor Find(QRegExp expr, QTextCursor from) { return((QTextCursor)interceptor.Invoke("find##", "find(const QRegExp&, const QTextCursor&) const", typeof(QTextCursor), typeof(QRegExp), expr, typeof(QTextCursor), from)); }
public QTextCursor Find(QRegExp expr, QTextCursor from, uint options) { return (QTextCursor) interceptor.Invoke("find##$", "find(const QRegExp&, const QTextCursor&, QTextDocument::FindFlags) const", typeof(QTextCursor), typeof(QRegExp), expr, typeof(QTextCursor), from, typeof(uint), options); }
public QRegExp(string pattern, Qt.CaseSensitivity cs, QRegExp.PatternSyntax syntax) : this((Type) null) { CreateProxy(); interceptor.Invoke("QRegExp$$$", "QRegExp(const QString&, Qt::CaseSensitivity, QRegExp::PatternSyntax)", typeof(void), typeof(string), pattern, typeof(Qt.CaseSensitivity), cs, typeof(QRegExp.PatternSyntax), syntax); }
public QTextCursor Find(QRegExp expr, QTextCursor from) { return (QTextCursor) interceptor.Invoke("find##", "find(const QRegExp&, const QTextCursor&) const", typeof(QTextCursor), typeof(QRegExp), expr, typeof(QTextCursor), from); }
public QRegExp(QRegExp rx) : this((Type) null) { CreateProxy(); interceptor.Invoke("QRegExp#", "QRegExp(const QRegExp&)", typeof(void), typeof(QRegExp), rx); }
public QRegExpValidator(QRegExp rx, QObject parent) : this((Type) null) { CreateProxy(); interceptor.Invoke("QRegExpValidator##", "QRegExpValidator(const QRegExp&, QObject*)", typeof(void), typeof(QRegExp), rx, typeof(QObject), parent); }
public QVariant(QRegExp regExp) : this((Type) null) { CreateProxy(); interceptor.Invoke("QVariant#", "QVariant(const QRegExp&)", typeof(void), typeof(QRegExp), regExp); }
public static List<string> PerlSplit(QRegExp sep, string s) { return (List<string>) staticInterceptor.Invoke("perlSplit#$", "perlSplit(const QRegExp&, const QString&)", typeof(List<string>), typeof(QRegExp), sep, typeof(string), s); }
public QScriptValue NewRegExp(QRegExp regexp) { return (QScriptValue) interceptor.Invoke("newRegExp#", "newRegExp(const QRegExp&)", typeof(QScriptValue), typeof(QRegExp), regexp); }
public static int Replace(StringBuilder text, QRegExp pattern, string replacement, int index, long options, ref int replacedLength) { StackItem[] stack = new StackItem[7]; #if DEBUG stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(text); #else stack[1].s_class = (IntPtr) GCHandle.Alloc(text); #endif #if DEBUG stack[2].s_class = (IntPtr) DebugGCHandle.Alloc(pattern); #else stack[2].s_class = (IntPtr) GCHandle.Alloc(pattern); #endif #if DEBUG stack[3].s_class = (IntPtr) DebugGCHandle.Alloc(replacement); #else stack[3].s_class = (IntPtr) GCHandle.Alloc(replacement); #endif stack[4].s_int = index; stack[5].s_long = options; stack[6].s_int = replacedLength; staticInterceptor.Invoke("replace$#$$$$", "replace(QString&, const QRegExp&, const QString&, int, long, int*)", stack); #if DEBUG DebugGCHandle.Free((GCHandle) stack[1].s_class); #else ((GCHandle) stack[1].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[2].s_class); #else ((GCHandle) stack[2].s_class).SynchronizedFree(); #endif #if DEBUG DebugGCHandle.Free((GCHandle) stack[3].s_class); #else ((GCHandle) stack[3].s_class).SynchronizedFree(); #endif replacedLength = stack[6].s_int; return stack[0].s_int; }
public QRegExpValidator(QRegExp rx, QObject parent) : this((Type)null) { CreateProxy(); interceptor.Invoke("QRegExpValidator##", "QRegExpValidator(const QRegExp&, QObject*)", typeof(void), typeof(QRegExp), rx, typeof(QObject), parent); }
public static QDataStream Write(QDataStream arg1, QRegExp regExp) { return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QRegExp&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRegExp), regExp); }
public QTextCursor Find(QRegExp expr) { return((QTextCursor)interceptor.Invoke("find#", "find(const QRegExp&) const", typeof(QTextCursor), typeof(QRegExp), expr)); }