public static string GetText(QWidget parent, string title, string label, QLineEdit.EchoMode echo, string text, ref bool ok, uint flags) { StackItem[] stack = new StackItem[8]; #if DEBUG stack[1].s_class = (IntPtr)DebugGCHandle.Alloc(parent); #else stack[1].s_class = (IntPtr)GCHandle.Alloc(parent); #endif #if DEBUG stack[2].s_class = (IntPtr)DebugGCHandle.Alloc(title); #else stack[2].s_class = (IntPtr)GCHandle.Alloc(title); #endif #if DEBUG stack[3].s_class = (IntPtr)DebugGCHandle.Alloc(label); #else stack[3].s_class = (IntPtr)GCHandle.Alloc(label); #endif stack[4].s_int = (int)echo; #if DEBUG stack[5].s_class = (IntPtr)DebugGCHandle.Alloc(text); #else stack[5].s_class = (IntPtr)GCHandle.Alloc(text); #endif stack[6].s_bool = ok; stack[7].s_uint = flags; staticInterceptor.Invoke("getText#$$$$$$", "getText(QWidget*, const QString&, const QString&, QLineEdit::EchoMode, const QString&, bool*, Qt::WindowFlags)", 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 #if DEBUG DebugGCHandle.Free((GCHandle)stack[5].s_class); #else ((GCHandle)stack[5].s_class).SynchronizedFree(); #endif ok = stack[6].s_bool; object returnValue = ((GCHandle)stack[0].s_class).Target; #if DEBUG DebugGCHandle.Free((GCHandle)stack[0].s_class); #else ((GCHandle)stack[0].s_class).SynchronizedFree(); #endif return((string)returnValue); }
public static string GetText(QWidget parent, string title, string label, QLineEdit.EchoMode echo) { return((string)staticInterceptor.Invoke("getText#$$$", "getText(QWidget*, const QString&, const QString&, QLineEdit::EchoMode)", typeof(string), typeof(QWidget), parent, typeof(string), title, typeof(string), label, typeof(QLineEdit.EchoMode), echo)); }