diff options
Diffstat (limited to 'qtsharp/src/bindings/static/QMenuBar.cs')
-rw-r--r-- | qtsharp/src/bindings/static/QMenuBar.cs | 282 |
1 files changed, 141 insertions, 141 deletions
diff --git a/qtsharp/src/bindings/static/QMenuBar.cs b/qtsharp/src/bindings/static/QMenuBar.cs index 1c6993bb..228cff7f 100644 --- a/qtsharp/src/bindings/static/QMenuBar.cs +++ b/qtsharp/src/bindings/static/QMenuBar.cs @@ -1,4 +1,4 @@ -// TQMenuBar.cs - A Qt to C# binding. +// TTQMenuBar.cs - A Qt to C# binding. // // Copyright (C) 2002 Adam Treat ([email protected]) // @@ -28,7 +28,7 @@ namespace Qt { using System.Collections; using System.Runtime.InteropServices; - public class TQMenuBar : TQFrame, IQMenuData, IDisposable { + public class TTQMenuBar : TTQFrame, ITQMenuData, IDisposable { private Hashtable menuConnections; @@ -43,31 +43,31 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QMenuBar (IntPtr parent, string name); - public TQMenuBar (TQWidget parent, string name) : this (QNull.Instance) + public TTQMenuBar (TTQWidget parent, string name) : this (TQNull.Instance) { qparent = parent; - if (qparent == null) parent = new TQWidget (IntPtr.Zero); + if (qparent == null) parent = new TTQWidget (IntPtr.Zero); rawObject = qt_new_QMenuBar (parent.RawObject, name); if (qparent == null) RegisterObject (this); else qparent.AddChild (this); } - public TQMenuBar () : this (new TQWidget ()) {} + public TTQMenuBar () : this (new TTQWidget ()) {} - public TQMenuBar (TQWidget parent) : this (parent, "") {} + public TTQMenuBar (TTQWidget parent) : this (parent, "") {} - internal TQMenuBar (IntPtr ptr) : this (QNull.Instance) + internal TTQMenuBar (IntPtr ptr) : this (TQNull.Instance) { rawObject = ptr; RegisterObject(this); } - internal TQMenuBar (QNull dummy) : base (QNull.Instance) + internal TTQMenuBar (TQNull dummy) : base (TQNull.Instance) { menuConnections = new Hashtable(); } - ~TQMenuBar () + ~TTQMenuBar () { Dispose (false); } @@ -105,7 +105,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuBar_eventFilter (IntPtr raw, IntPtr arg1, IntPtr arg2); - public bool EventFilter (TQObject arg1, TQEvent arg2) + public bool EventFilter (TTQObject arg1, TTQEvent arg2) { return qt_QMenuBar_eventFilter (rawObject, arg1.RawObject, arg2.RawObject); } @@ -118,15 +118,15 @@ namespace Qt { } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern TQMenuBar.Separator qt_QMenuBar_separator (IntPtr raw); - public TQMenuBar.Separator TheSeparator () + private static extern TTQMenuBar.Separator qt_QMenuBar_separator (IntPtr raw); + public TTQMenuBar.Separator TheSeparator () { return qt_QMenuBar_separator (rawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QMenuBar_setSeparator (IntPtr raw, TQMenuBar.Separator when); - public void SetSeparator (TQMenuBar.Separator when) + private static extern void qt_QMenuBar_setSeparator (IntPtr raw, TTQMenuBar.Separator when); + public void SetSeparator (TTQMenuBar.Separator when) { qt_QMenuBar_setSeparator (rawObject, when); } @@ -154,23 +154,23 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_sizeHint (IntPtr raw); - public TQSize SizeHint () + public TTQSize SizeHint () { - return (TQSize)LookupObject (qt_QMenuBar_sizeHint (rawObject), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QMenuBar_sizeHint (rawObject), typeof(TTQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_minimumSize (IntPtr raw); - public TQSize MinimumSize () + public TTQSize MinimumSize () { - return (TQSize)LookupObject (qt_QMenuBar_minimumSize (rawObject), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QMenuBar_minimumSize (rawObject), typeof(TTQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_minimumSizeHint (IntPtr raw); - public TQSize MinimumSizeHint () + public TTQSize MinimumSizeHint () { - return (TQSize)LookupObject (qt_QMenuBar_minimumSizeHint (rawObject), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QMenuBar_minimumSizeHint (rawObject), typeof(TTQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -196,14 +196,14 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_drawContents (IntPtr raw, IntPtr arg1); - protected void DrawContents (TQPainter arg1) + protected void DrawContents (TTQPainter arg1) { qt_QMenuBar_drawContents (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_fontChange (IntPtr raw, IntPtr arg1); - protected void FontChange (TQFont arg1) + protected void FontChange (TTQFont arg1) { qt_QMenuBar_fontChange (rawObject, arg1.RawObject); } @@ -224,14 +224,14 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_styleChange (IntPtr raw, IntPtr arg1); - protected void StyleChange (TQStyle arg1) + protected void StyleChange (TTQStyle arg1) { qt_QMenuBar_styleChange (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuBar_itemAtPos (IntPtr raw, IntPtr arg1); - protected int ItemAtPos (TQPoint arg1) + protected int ItemAtPos (TTQPoint arg1) { return qt_QMenuBar_itemAtPos (rawObject, arg1.RawObject); } @@ -245,14 +245,14 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_itemRect (IntPtr raw, int item); - protected TQRect ItemRect (int item) + protected TTQRect ItemRect (int item) { - return (TQRect)LookupObject (qt_QMenuBar_itemRect (rawObject, item), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QMenuBar_itemRect (rawObject, item), typeof(TTQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_QMenuData (IntPtr raw); - public IntPtr TQMenuData () + public IntPtr TTQMenuData () { return qt_QMenuBar_QMenuData (rawObject); } @@ -265,7 +265,7 @@ namespace Qt { // This makes my brain hurt! // :-) Mine too! - public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel, int identifier, int index) + public int InsertItem (string text, TTQObject receiver, string member, TTQKeySequence accel, int identifier, int index) { int id = InsertItem (text, identifier, index); SetAccel (accel, id); @@ -273,7 +273,7 @@ namespace Qt { return id; } - public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel, int identifier, int index) + public int InsertItem (TTQIconSet icon, string text, TTQObject receiver, string member, TTQKeySequence accel, int identifier, int index) { int id = InsertItem (icon, text, identifier, index); SetAccel (accel, id); @@ -281,7 +281,7 @@ namespace Qt { return id; } - public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier, int index) + public int InsertItem (TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel, int identifier, int index) { int id = InsertItem (pixmap, identifier, index); SetAccel (accel, id); @@ -289,7 +289,7 @@ namespace Qt { return id; } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier, int index) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel, int identifier, int index) { int id = InsertItem (icon, pixmap, identifier, index); SetAccel (accel, id); @@ -297,15 +297,15 @@ namespace Qt { return id; } - public bool ConnectItem (int identifier, TQObject receiver, string member) + public bool ConnectItem (int identifier, TTQObject receiver, string member) { - return Qt.TQMenuData.ConnectItem (this, TQMenuData (), identifier, receiver, member); + return Qt.TTQMenuData.ConnectItem (this, TTQMenuData (), identifier, receiver, member); } - public bool DisconnectItem (int identifier, TQObject receiver, string member) + public bool DisconnectItem (int identifier, TTQObject receiver, string member) { - return Qt.TQMenuData.DisconnectItem (this, TQMenuData (), identifier, receiver, member); + return Qt.TTQMenuData.DisconnectItem (this, TTQMenuData (), identifier, receiver, member); } //********************* A temporary hack to divert connections to CSharpConnect *****************// @@ -315,140 +315,140 @@ namespace Qt { private static extern uint qt_QMenuData_count (IntPtr raw); public uint Count () { - return qt_QMenuData_count (TQMenuData ()); + return qt_QMenuData_count (TTQMenuData ()); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); public int InsertItem (string text, int identifier, int index) { - return qt_QMenuData_insertItem4 (TQMenuData (), new TQString (text).RawObject, identifier, index); + return qt_QMenuData_insertItem4 (TTQMenuData (), new TTQString (text).RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); - public int InsertItem (TQIconSet icon, string text, int identifier, int index) + public int InsertItem (TTQIconSet icon, string text, int identifier, int index) { - return qt_QMenuData_insertItem5 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier, index); + return qt_QMenuData_insertItem5 (TTQMenuData (), icon.RawObject, new TTQString (text).RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); - public int InsertItem (string text, TQPopupMenu popup, int identifier, int index) + public int InsertItem (string text, TTQPopupMenu popup, int identifier, int index) { - return qt_QMenuData_insertItem6 (TQMenuData (), new TQString (text).RawObject, popup.RawObject, identifier, index); + return qt_QMenuData_insertItem6 (TTQMenuData (), new TTQString (text).RawObject, popup.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); - public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier, int index) + public int InsertItem (TTQIconSet icon, string text, TTQPopupMenu popup, int identifier, int index) { - return qt_QMenuData_insertItem7 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); + return qt_QMenuData_insertItem7 (TTQMenuData (), icon.RawObject, new TTQString (text).RawObject, popup.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); - public int InsertItem (TQPixmap pixmap, int identifier, int index) + public int InsertItem (TTQPixmap pixmap, int identifier, int index) { - return qt_QMenuData_insertItem8 (TQMenuData (), pixmap.RawObject, identifier, index); + return qt_QMenuData_insertItem8 (TTQMenuData (), pixmap.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); - public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier, int index) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, int identifier, int index) { - return qt_QMenuData_insertItem9 (TQMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); + return qt_QMenuData_insertItem9 (TTQMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); - public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) + public int InsertItem (TTQPixmap pixmap, TTQPopupMenu popup, int identifier, int index) { - return qt_QMenuData_insertItem10 (TQMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); + return qt_QMenuData_insertItem10 (TTQMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQPopupMenu popup, int identifier, int index) { - return qt_QMenuData_insertItem11 (TQMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); + return qt_QMenuData_insertItem11 (TTQMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); - public int InsertItem (TQWidget widget, int identifier, int index) + public int InsertItem (TTQWidget widget, int identifier, int index) { - return qt_QMenuData_insertItem12 (TQMenuData (), widget.RawObject, identifier, index); + return qt_QMenuData_insertItem12 (TTQMenuData (), widget.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); - public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier, int index) + public int InsertItem (TTQIconSet icon, TTQCustomMenuItem custom, int identifier, int index) { - return qt_QMenuData_insertItem13 (TQMenuData (), icon.RawObject, custom.RawObject, identifier, index); + return qt_QMenuData_insertItem13 (TTQMenuData (), icon.RawObject, custom.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); - public int InsertItem (TQCustomMenuItem custom, int identifier, int index) + public int InsertItem (TTQCustomMenuItem custom, int identifier, int index) { - return qt_QMenuData_insertItem14 (TQMenuData (), custom.RawObject, identifier, index); + return qt_QMenuData_insertItem14 (TTQMenuData (), custom.RawObject, identifier, index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); public int InsertSeparator (int index) { - return qt_QMenuData_insertSeparator (TQMenuData (), index); + return qt_QMenuData_insertSeparator (TTQMenuData (), index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); public void RemoveItem (int identifier) { - qt_QMenuData_removeItem (TQMenuData (), identifier); + qt_QMenuData_removeItem (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); public void RemoveItemAt (int index) { - qt_QMenuData_removeItemAt (TQMenuData (), index); + qt_QMenuData_removeItemAt (TTQMenuData (), index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_clear (IntPtr raw); public void Clear () { - qt_QMenuData_clear (TQMenuData ()); + qt_QMenuData_clear (TTQMenuData ()); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); - public TQKeySequence Accel (int identifier) + public TTQKeySequence Accel (int identifier) { - return (TQKeySequence)LookupObject (qt_QMenuData_accel (TQMenuData (), identifier), typeof(TQKeySequence)); + return (TTQKeySequence)LookupObject (qt_QMenuData_accel (TTQMenuData (), identifier), typeof(TTQKeySequence)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); - public void SetAccel (TQKeySequence key, int identifier) + public void SetAccel (TTQKeySequence key, int identifier) { - qt_QMenuData_setAccel (TQMenuData (), key.RawObject, identifier); + qt_QMenuData_setAccel (TTQMenuData (), key.RawObject, identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); - public TQIconSet IconSet (int identifier) + public TTQIconSet IconSet (int identifier) { - return (TQIconSet)LookupObject (qt_QMenuData_iconSet (TQMenuData (), identifier), typeof(TQIconSet)); + return (TTQIconSet)LookupObject (qt_QMenuData_iconSet (TTQMenuData (), identifier), typeof(TTQIconSet)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); public string Text (int identifier) { - TQString qstr = new TQString (qt_QMenuData_text (TQMenuData (), identifier)); + TTQString qstr = new TTQString (qt_QMenuData_text (TTQMenuData (), identifier)); string str = qstr.Latin1 (); qstr.Dispose (); return str; @@ -456,23 +456,23 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); - public TQPixmap Pixmap (int identifier) + public TTQPixmap Pixmap (int identifier) { - return (TQPixmap)LookupObject (qt_QMenuData_pixmap (TQMenuData (), identifier), typeof(TQPixmap)); + return (TTQPixmap)LookupObject (qt_QMenuData_pixmap (TTQMenuData (), identifier), typeof(TTQPixmap)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); public void SetWhatsThis (int identifier, string arg1) { - qt_QMenuData_setWhatsThis (TQMenuData (), identifier, new TQString (arg1).RawObject); + qt_QMenuData_setWhatsThis (TTQMenuData (), identifier, new TTQString (arg1).RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); public string WhatsThis (int identifier) { - TQString qstr = new TQString (qt_QMenuData_whatsThis (TQMenuData (), identifier)); + TTQString qstr = new TTQString (qt_QMenuData_whatsThis (TTQMenuData (), identifier)); string str = qstr.Latin1 (); qstr.Dispose (); return str; @@ -482,212 +482,212 @@ namespace Qt { private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); public void ChangeItem (int identifier, string text) { - qt_QMenuData_changeItem (TQMenuData (), identifier, new TQString (text).RawObject); + qt_QMenuData_changeItem (TTQMenuData (), identifier, new TTQString (text).RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); - public void ChangeItem (int identifier, TQPixmap pixmap) + public void ChangeItem (int identifier, TTQPixmap pixmap) { - qt_QMenuData_changeItem1 (TQMenuData (), identifier, pixmap.RawObject); + qt_QMenuData_changeItem1 (TTQMenuData (), identifier, pixmap.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); - public void ChangeItem (int identifier, TQIconSet icon, string text) + public void ChangeItem (int identifier, TTQIconSet icon, string text) { - qt_QMenuData_changeItem2 (TQMenuData (), identifier, icon.RawObject, new TQString (text).RawObject); + qt_QMenuData_changeItem2 (TTQMenuData (), identifier, icon.RawObject, new TTQString (text).RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); - public void ChangeItem (int identifier, TQIconSet icon, TQPixmap pixmap) + public void ChangeItem (int identifier, TTQIconSet icon, TTQPixmap pixmap) { - qt_QMenuData_changeItem3 (TQMenuData (), identifier, icon.RawObject, pixmap.RawObject); + qt_QMenuData_changeItem3 (TTQMenuData (), identifier, icon.RawObject, pixmap.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); public void ChangeItem (string text, int identifier) { - qt_QMenuData_changeItem4 (TQMenuData (), new TQString (text).RawObject, identifier); + qt_QMenuData_changeItem4 (TTQMenuData (), new TTQString (text).RawObject, identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); - public void ChangeItem (TQPixmap pixmap, int identifier) + public void ChangeItem (TTQPixmap pixmap, int identifier) { - qt_QMenuData_changeItem5 (TQMenuData (), pixmap.RawObject, identifier); + qt_QMenuData_changeItem5 (TTQMenuData (), pixmap.RawObject, identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); - public void ChangeItem (TQIconSet icon, string text, int identifier) + public void ChangeItem (TTQIconSet icon, string text, int identifier) { - qt_QMenuData_changeItem6 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier); + qt_QMenuData_changeItem6 (TTQMenuData (), icon.RawObject, new TTQString (text).RawObject, identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); public bool IsItemActive (int identifier) { - return qt_QMenuData_isItemActive (TQMenuData (), identifier); + return qt_QMenuData_isItemActive (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); public bool IsItemEnabled (int identifier) { - return qt_QMenuData_isItemEnabled (TQMenuData (), identifier); + return qt_QMenuData_isItemEnabled (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); public void SetItemEnabled (int identifier, bool enable) { - qt_QMenuData_setItemEnabled (TQMenuData (), identifier, enable); + qt_QMenuData_setItemEnabled (TTQMenuData (), identifier, enable); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); public bool IsItemChecked (int identifier) { - return qt_QMenuData_isItemChecked (TQMenuData (), identifier); + return qt_QMenuData_isItemChecked (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); public void SetItemChecked (int identifier, bool check) { - qt_QMenuData_setItemChecked (TQMenuData (), identifier, check); + qt_QMenuData_setItemChecked (TTQMenuData (), identifier, check); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); public int IndexOf (int identifier) { - return qt_QMenuData_indexOf (TQMenuData (), identifier); + return qt_QMenuData_indexOf (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_idAt (IntPtr raw, int index); public int IdAt (int index) { - return qt_QMenuData_idAt (TQMenuData (), index); + return qt_QMenuData_idAt (TTQMenuData (), index); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); public void SetId (int index, int identifier) { - qt_QMenuData_setId (TQMenuData (), index, identifier); + qt_QMenuData_setId (TTQMenuData (), index, identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); public bool SetItemParameter (int identifier, int param) { - return qt_QMenuData_setItemParameter (TQMenuData (), identifier, param); + return qt_QMenuData_setItemParameter (TTQMenuData (), identifier, param); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); public int ItemParameter (int identifier) { - return qt_QMenuData_itemParameter (TQMenuData (), identifier); + return qt_QMenuData_itemParameter (TTQMenuData (), identifier); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); - public TQMenuItem FindItem (int identifier) + public TTQMenuItem FindItem (int identifier) { - return (TQMenuItem)LookupObject (qt_QMenuData_findItem (TQMenuData (), identifier), typeof(TQMenuItem)); + return (TTQMenuItem)LookupObject (qt_QMenuData_findItem (TTQMenuData (), identifier), typeof(TTQMenuItem)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); - public TQMenuItem FindItem (int identifier, TQMenuData parent) + public TTQMenuItem FindItem (int identifier, TTQMenuData parent) { - return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (TQMenuData (), identifier, parent.RawObject), typeof(TQMenuItem)); + return (TTQMenuItem)LookupObject (qt_QMenuData_findItem1 (TTQMenuData (), identifier, parent.RawObject), typeof(TTQMenuItem)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); - public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index) + public TTQMenuItem FindPopup (TTQPopupMenu arg1, int[] index) { - return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (TQMenuData (), arg1.RawObject, index), typeof(TQMenuItem)); + return (TTQMenuItem)LookupObject (qt_QMenuData_findPopup (TTQMenuData (), arg1.RawObject, index), typeof(TTQMenuItem)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); - protected void MenuInsPopup (TQPopupMenu arg1) + protected void MenuInsPopup (TTQPopupMenu arg1) { - qt_QMenuData_menuInsPopup (TQMenuData (), arg1.RawObject); + qt_QMenuData_menuInsPopup (TTQMenuData (), arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); - protected void MenuDelPopup (TQPopupMenu arg1) + protected void MenuDelPopup (TTQPopupMenu arg1) { - qt_QMenuData_menuDelPopup (TQMenuData (), arg1.RawObject); + qt_QMenuData_menuDelPopup (TTQMenuData (), arg1.RawObject); } - public int InsertItem (string text, TQObject receiver, string member) + public int InsertItem (string text, TTQObject receiver, string member) { - return InsertItem(text, receiver, member, new TQKeySequence ()); + return InsertItem(text, receiver, member, new TTQKeySequence ()); } - public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel) + public int InsertItem (string text, TTQObject receiver, string member, TTQKeySequence accel) { return InsertItem(text, receiver, member, accel, (int) -1); } - public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel, int identifier) + public int InsertItem (string text, TTQObject receiver, string member, TTQKeySequence accel, int identifier) { return InsertItem(text, receiver, member, accel, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member) + public int InsertItem (TTQIconSet icon, string text, TTQObject receiver, string member) { - return InsertItem(icon, text, receiver, member, new TQKeySequence ()); + return InsertItem(icon, text, receiver, member, new TTQKeySequence ()); } - public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel) + public int InsertItem (TTQIconSet icon, string text, TTQObject receiver, string member, TTQKeySequence accel) { return InsertItem(icon, text, receiver, member, accel, (int) -1); } - public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel, int identifier) + public int InsertItem (TTQIconSet icon, string text, TTQObject receiver, string member, TTQKeySequence accel, int identifier) { return InsertItem(icon, text, receiver, member, accel, identifier, (int) -1); } - public int InsertItem (TQPixmap pixmap, TQObject receiver, string member) + public int InsertItem (TTQPixmap pixmap, TTQObject receiver, string member) { - return InsertItem(pixmap, receiver, member, new TQKeySequence ()); + return InsertItem(pixmap, receiver, member, new TTQKeySequence ()); } - public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel) + public int InsertItem (TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel) { return InsertItem(pixmap, receiver, member, accel, (int) -1); } - public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier) + public int InsertItem (TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel, int identifier) { return InsertItem(pixmap, receiver, member, accel, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQObject receiver, string member) { - return InsertItem(icon, pixmap, receiver, member, new TQKeySequence ()); + return InsertItem(icon, pixmap, receiver, member, new TTQKeySequence ()); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel) { return InsertItem(icon, pixmap, receiver, member, accel, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQObject receiver, string member, TTQKeySequence accel, int identifier) { return InsertItem(icon, pixmap, receiver, member, accel, identifier, (int) -1); } @@ -702,102 +702,102 @@ namespace Qt { return InsertItem(text, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, string text) + public int InsertItem (TTQIconSet icon, string text) { return InsertItem(icon, text, (int) -1); } - public int InsertItem (TQIconSet icon, string text, int identifier) + public int InsertItem (TTQIconSet icon, string text, int identifier) { return InsertItem(icon, text, identifier, (int) -1); } - public int InsertItem (string text, TQPopupMenu popup) + public int InsertItem (string text, TTQPopupMenu popup) { return InsertItem(text, popup, (int) -1); } - public int InsertItem (string text, TQPopupMenu popup, int identifier) + public int InsertItem (string text, TTQPopupMenu popup, int identifier) { return InsertItem(text, popup, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup) + public int InsertItem (TTQIconSet icon, string text, TTQPopupMenu popup) { return InsertItem(icon, text, popup, (int) -1); } - public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier) + public int InsertItem (TTQIconSet icon, string text, TTQPopupMenu popup, int identifier) { return InsertItem(icon, text, popup, identifier, (int) -1); } - public int InsertItem (TQPixmap pixmap) + public int InsertItem (TTQPixmap pixmap) { return InsertItem(pixmap, (int) -1); } - public int InsertItem (TQPixmap pixmap, int identifier) + public int InsertItem (TTQPixmap pixmap, int identifier) { return InsertItem(pixmap, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap) { return InsertItem(icon, pixmap, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, int identifier) { return InsertItem(icon, pixmap, identifier, (int) -1); } - public int InsertItem (TQPixmap pixmap, TQPopupMenu popup) + public int InsertItem (TTQPixmap pixmap, TTQPopupMenu popup) { return InsertItem(pixmap, popup, (int) -1); } - public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier) + public int InsertItem (TTQPixmap pixmap, TTQPopupMenu popup, int identifier) { return InsertItem(pixmap, popup, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQPopupMenu popup) { return InsertItem(icon, pixmap, popup, (int) -1); } - public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier) + public int InsertItem (TTQIconSet icon, TTQPixmap pixmap, TTQPopupMenu popup, int identifier) { return InsertItem(icon, pixmap, popup, identifier, (int) -1); } - public int InsertItem (TQWidget widget) + public int InsertItem (TTQWidget widget) { return InsertItem(widget, (int) -1); } - public int InsertItem (TQWidget widget, int identifier) + public int InsertItem (TTQWidget widget, int identifier) { return InsertItem(widget, identifier, (int) -1); } - public int InsertItem (TQIconSet icon, TQCustomMenuItem custom) + public int InsertItem (TTQIconSet icon, TTQCustomMenuItem custom) { return InsertItem(icon, custom, (int) -1); } - public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier) + public int InsertItem (TTQIconSet icon, TTQCustomMenuItem custom, int identifier) { return InsertItem(icon, custom, identifier, (int) -1); } - public int InsertItem (TQCustomMenuItem custom) + public int InsertItem (TTQCustomMenuItem custom) { return InsertItem(custom, (int) -1); } - public int InsertItem (TQCustomMenuItem custom, int identifier) + public int InsertItem (TTQCustomMenuItem custom, int identifier) { return InsertItem(custom, identifier, (int) -1); } @@ -807,7 +807,7 @@ namespace Qt { return InsertSeparator((int) -1); } - public TQMenuItem FindPopup (TQPopupMenu arg1) + public TTQMenuItem FindPopup (TTQPopupMenu arg1) { return FindPopup(arg1, new int[]{0}); } |