diff options
Diffstat (limited to 'qtsharp/src/bindings/static/TQMenuData.cs')
-rw-r--r-- | qtsharp/src/bindings/static/TQMenuData.cs | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/qtsharp/src/bindings/static/TQMenuData.cs b/qtsharp/src/bindings/static/TQMenuData.cs index ade3b8c4..b9d428cf 100644 --- a/qtsharp/src/bindings/static/TQMenuData.cs +++ b/qtsharp/src/bindings/static/TQMenuData.cs @@ -37,7 +37,7 @@ namespace Qt { get { return menuConnections; } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QMenuData (); public TQMenuData () : this (TQNull.Instance) { @@ -61,7 +61,7 @@ namespace Qt { Dispose(false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QMenuData (IntPtr obj); internal override void Delete () { @@ -73,7 +73,7 @@ namespace Qt { // The next two static methods are here to service all ITQMenuData implementors. - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_connectItem (IntPtr raw, int identifier, IntPtr receiver, string member); internal static bool ConnectItem (ITQMenuData menu, IntPtr menudata, int id, TQObject receiver, string slot) @@ -119,10 +119,10 @@ namespace Qt { } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_disconnectItem (IntPtr raw, int identifier, IntPtr receiver, string member); - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QObject (IntPtr raw); internal static bool DisconnectItem (ITQMenuData menu, IntPtr menudata, int id, TQObject receiver, string slot) @@ -162,140 +162,140 @@ namespace Qt { return false; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QMenuData_count (IntPtr raw); public uint Count () { return qt_QMenuData_count (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem5 (rawObject, icon.RawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem6 (rawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem7 (rawObject, icon.RawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem8 (rawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem9 (rawObject, icon.RawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem10 (rawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem11 (rawObject, icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem12 (rawObject, widget.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem13 (rawObject, icon.RawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { return qt_QMenuData_insertItem14 (rawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); public int InsertSeparator (int index) { return qt_QMenuData_insertSeparator (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); public void RemoveItem (int identifier) { qt_QMenuData_removeItem (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); public void RemoveItemAt (int index) { qt_QMenuData_removeItemAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_clear (IntPtr raw); public void Clear () { qt_QMenuData_clear (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); public TQKeySequence Accel (int identifier) { return (TQKeySequence)LookupObject (qt_QMenuData_accel (rawObject, identifier), typeof(TQKeySequence)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); public void SetAccel (TQKeySequence key, int identifier) { qt_QMenuData_setAccel (rawObject, key.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); public TQIconSet IconSet (int identifier) { return (TQIconSet)LookupObject (qt_QMenuData_iconSet (rawObject, identifier), typeof(TQIconSet)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); public string Text (int identifier) { @@ -305,21 +305,21 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); public TQPixmap Pixmap (int identifier) { return (TQPixmap)LookupObject (qt_QMenuData_pixmap (rawObject, identifier), typeof(TQPixmap)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, identifier, new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); public string WhatsThis (int identifier) { @@ -329,105 +329,105 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); public void ChangeItem (int identifier, string text) { qt_QMenuData_changeItem (rawObject, identifier, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); public void ChangeItem (int identifier, TQPixmap pixmap) { qt_QMenuData_changeItem1 (rawObject, identifier, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { qt_QMenuData_changeItem2 (rawObject, identifier, icon.RawObject, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { qt_QMenuData_changeItem3 (rawObject, identifier, icon.RawObject, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); public void ChangeItem (TQPixmap pixmap, int identifier) { qt_QMenuData_changeItem5 (rawObject, pixmap.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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) { qt_QMenuData_changeItem6 (rawObject, icon.RawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); public bool IsItemActive (int identifier) { return qt_QMenuData_isItemActive (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); public bool IsItemEnabled (int identifier) { return qt_QMenuData_isItemEnabled (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, identifier, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); public bool IsItemChecked (int identifier) { return qt_QMenuData_isItemChecked (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, identifier, check); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); public int IndexOf (int identifier) { return qt_QMenuData_indexOf (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_idAt (IntPtr raw, int index); public int IdAt (int index) { return qt_QMenuData_idAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); public void SetId (int index, int identifier) { @@ -480,49 +480,49 @@ namespace Qt { //********************* A temporary hack to divert connections to CSharpConnect *****************// - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", 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 (rawObject, identifier, param); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); public int ItemParameter (int identifier) { return qt_QMenuData_itemParameter (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); public TQMenuItem FindItem (int identifier) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem (rawObject, identifier), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); public TQMenuItem FindItem (int identifier, TQMenuData parent) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (rawObject, identifier, parent.RawObject), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index) { return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (rawObject, arg1.RawObject, index), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); protected void MenuInsPopup (TQPopupMenu arg1) { qt_QMenuData_menuInsPopup (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); protected void MenuDelPopup (TQPopupMenu arg1) { @@ -709,10 +709,10 @@ namespace Qt { return FindPopup(arg1, new int[]{0}); } - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_item_void (IntPtr instance, int id, IntPtr receiver, Delegate method); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_item_int (IntPtr instance, int id, IntPtr receiver, Delegate method); } |