summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/QPopupMenu.cs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /qtsharp/src/bindings/static/QPopupMenu.cs
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtsharp/src/bindings/static/QPopupMenu.cs')
-rw-r--r--qtsharp/src/bindings/static/QPopupMenu.cs278
1 files changed, 139 insertions, 139 deletions
diff --git a/qtsharp/src/bindings/static/QPopupMenu.cs b/qtsharp/src/bindings/static/QPopupMenu.cs
index a4b6da09..cbee5f97 100644
--- a/qtsharp/src/bindings/static/QPopupMenu.cs
+++ b/qtsharp/src/bindings/static/QPopupMenu.cs
@@ -1,4 +1,4 @@
-// QPopupMenu.cs - A Qt to C# binding.
+// TQPopupMenu.cs - A Qt to C# binding.
//
// Copyright (C) 2002 Adam Treat (manyoso@yahoo.com)
//
@@ -28,7 +28,7 @@ namespace Qt {
using System.Collections;
using System.Runtime.InteropServices;
- public class QPopupMenu : QFrame, IQMenuData, IDisposable {
+ public class TQPopupMenu : TQFrame, IQMenuData, IDisposable {
private Hashtable menuConnections;
@@ -38,31 +38,31 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_new_QPopupMenu (IntPtr parent, string name);
- public QPopupMenu (QWidget parent, string name) : this (QNull.Instance)
+ public TQPopupMenu (TQWidget parent, string name) : this (QNull.Instance)
{
qparent = parent;
- if (qparent == null) parent = new QWidget (IntPtr.Zero);
+ if (qparent == null) parent = new TQWidget (IntPtr.Zero);
rawObject = qt_new_QPopupMenu (parent.RawObject, name);
if (qparent == null) RegisterObject (this);
else qparent.AddChild (this);
}
- public QPopupMenu () : this (new QWidget ()) {}
+ public TQPopupMenu () : this (new TQWidget ()) {}
- public QPopupMenu (QWidget parent) : this (parent, "") {}
+ public TQPopupMenu (TQWidget parent) : this (parent, "") {}
- internal QPopupMenu (IntPtr ptr) : this (QNull.Instance)
+ internal TQPopupMenu (IntPtr ptr) : this (QNull.Instance)
{
rawObject = ptr;
RegisterObject(this);
}
- internal QPopupMenu (QNull dummy) : base (QNull.Instance)
+ internal TQPopupMenu (QNull dummy) : base (QNull.Instance)
{
menuConnections = new Hashtable();
}
- ~QPopupMenu ()
+ ~TQPopupMenu ()
{
Dispose (false);
}
@@ -79,7 +79,7 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QPopupMenu_popup (IntPtr raw, IntPtr pos, int indexAtPoint);
- public void Popup (QPoint pos, int indexAtPoint)
+ public void Popup (TQPoint pos, int indexAtPoint)
{
qt_QPopupMenu_popup (rawObject, pos.RawObject, indexAtPoint);
}
@@ -107,7 +107,7 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QPopupMenu_setFont (IntPtr raw, IntPtr arg1);
- public void SetFont (QFont arg1)
+ public void SetFont (TQFont arg1)
{
qt_QPopupMenu_setFont (rawObject, arg1.RawObject);
}
@@ -135,7 +135,7 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QPopupMenu_exec1 (IntPtr raw, IntPtr pos, int indexAtPoint);
- public int Exec (QPoint pos, int indexAtPoint)
+ public int Exec (TQPoint pos, int indexAtPoint)
{
return qt_QPopupMenu_exec1 (rawObject, pos.RawObject, indexAtPoint);
}
@@ -149,9 +149,9 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QPopupMenu_sizeHint (IntPtr raw);
- public QSize SizeHint ()
+ public TQSize SizeHint ()
{
- return (QSize)LookupObject (qt_QPopupMenu_sizeHint (rawObject), typeof(QSize));
+ return (TQSize)LookupObject (qt_QPopupMenu_sizeHint (rawObject), typeof(TQSize));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
@@ -163,7 +163,7 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QPopupMenu_idAt1 (IntPtr raw, IntPtr pos);
- public int IdAt (QPoint pos)
+ public int IdAt (TQPoint pos)
{
return qt_QPopupMenu_idAt1 (rawObject, pos.RawObject);
}
@@ -191,9 +191,9 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QPopupMenu_itemGeometry (IntPtr raw, int index);
- public QRect ItemGeometry (int index)
+ public TQRect ItemGeometry (int index)
{
- return (QRect)LookupObject (qt_QPopupMenu_itemGeometry (rawObject, index), typeof(QRect));
+ return (TQRect)LookupObject (qt_QPopupMenu_itemGeometry (rawObject, index), typeof(TQRect));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
@@ -205,28 +205,28 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QPopupMenu_itemHeight1 (IntPtr raw, IntPtr mi);
- protected int ItemHeight (QMenuItem mi)
+ protected int ItemHeight (TQMenuItem mi)
{
return qt_QPopupMenu_itemHeight1 (rawObject, mi.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QPopupMenu_drawItem (IntPtr raw, IntPtr p, int tab, IntPtr mi, bool act, int x, int y, int w, int h);
- protected void DrawItem (QPainter p, int tab, QMenuItem mi, bool act, int x, int y, int w, int h)
+ protected void DrawItem (TQPainter p, int tab, TQMenuItem mi, bool act, int x, int y, int w, int h)
{
qt_QPopupMenu_drawItem (rawObject, p.RawObject, tab, mi.RawObject, act, x, y, w, h);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QPopupMenu_drawContents (IntPtr raw, IntPtr arg1);
- protected void DrawContents (QPainter arg1)
+ protected void DrawContents (TQPainter arg1)
{
qt_QPopupMenu_drawContents (rawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QPopupMenu_styleChange (IntPtr raw, IntPtr arg1);
- protected void StyleChange (QStyle arg1)
+ protected void StyleChange (TQStyle arg1)
{
qt_QPopupMenu_styleChange (rawObject, arg1.RawObject);
}
@@ -247,17 +247,17 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QPopupMenu_itemAtPos (IntPtr raw, IntPtr arg1, bool ignoreSeparator);
- protected int ItemAtPos (QPoint arg1, bool ignoreSeparator)
+ protected int ItemAtPos (TQPoint arg1, bool ignoreSeparator)
{
return qt_QPopupMenu_itemAtPos (rawObject, arg1.RawObject, ignoreSeparator);
}
- public void Popup (QPoint pos)
+ public void Popup (TQPoint pos)
{
Popup(pos, (int) 0);
}
- public int Exec (QPoint pos)
+ public int Exec (TQPoint pos)
{
return Exec(pos, (int) 0);
}
@@ -272,14 +272,14 @@ namespace Qt {
return InsertTearOffHandle(identifier, (int) -1);
}
- protected int ItemAtPos (QPoint arg1)
+ protected int ItemAtPos (TQPoint arg1)
{
return ItemAtPos(arg1, true);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QPopupMenu_QMenuData (IntPtr raw);
- public IntPtr QMenuData ()
+ public IntPtr TQMenuData ()
{
return qt_QPopupMenu_QMenuData (rawObject);
}
@@ -289,7 +289,7 @@ namespace Qt {
//********************* A temporary hack to divert connections to CSharpConnect *****************//
- public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index)
+ public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel, int identifier, int index)
{
int id = InsertItem (text, identifier, index);
SetAccel (accel, id);
@@ -297,7 +297,7 @@ namespace Qt {
return id;
}
- public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index)
+ public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel, int identifier, int index)
{
int id = InsertItem (icon, text, identifier, index);
SetAccel (accel, id);
@@ -305,7 +305,7 @@ namespace Qt {
return id;
}
- public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index)
+ public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier, int index)
{
int id = InsertItem (pixmap, identifier, index);
SetAccel (accel, id);
@@ -313,7 +313,7 @@ namespace Qt {
return id;
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier, int index)
{
int id = InsertItem (icon, pixmap, identifier, index);
SetAccel (accel, id);
@@ -321,14 +321,14 @@ namespace Qt {
return id;
}
- public bool ConnectItem (int identifier, QObject receiver, string member)
+ public bool ConnectItem (int identifier, TQObject receiver, string member)
{
- return Qt.QMenuData.ConnectItem (this, QMenuData (), identifier, receiver, member);
+ return Qt.TQMenuData.ConnectItem (this, TQMenuData (), identifier, receiver, member);
}
- public bool DisconnectItem (int identifier, QObject receiver, string member)
+ public bool DisconnectItem (int identifier, TQObject receiver, string member)
{
- return Qt.QMenuData.DisconnectItem (this, QMenuData (), identifier, receiver, member);
+ return Qt.TQMenuData.DisconnectItem (this, TQMenuData (), identifier, receiver, member);
}
//********************* A temporary hack to divert connections to CSharpConnect *****************//
@@ -337,140 +337,140 @@ namespace Qt {
private static extern uint qt_QMenuData_count (IntPtr raw);
public uint Count ()
{
- return qt_QMenuData_count (QMenuData ());
+ return qt_QMenuData_count (TQMenuData ());
}
[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 (QMenuData (), new QString (text).RawObject, identifier, index);
+ return qt_QMenuData_insertItem4 (TQMenuData (), new TQString (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 (QIconSet icon, string text, int identifier, int index)
+ public int InsertItem (TQIconSet icon, string text, int identifier, int index)
{
- return qt_QMenuData_insertItem5 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier, index);
+ return qt_QMenuData_insertItem5 (TQMenuData (), icon.RawObject, new TQString (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, QPopupMenu popup, int identifier, int index)
+ public int InsertItem (string text, TQPopupMenu popup, int identifier, int index)
{
- return qt_QMenuData_insertItem6 (QMenuData (), new QString (text).RawObject, popup.RawObject, identifier, index);
+ return qt_QMenuData_insertItem6 (TQMenuData (), new TQString (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 (QIconSet icon, string text, QPopupMenu popup, int identifier, int index)
+ public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier, int index)
{
- return qt_QMenuData_insertItem7 (QMenuData (), icon.RawObject, new QString (text).RawObject, popup.RawObject, identifier, index);
+ return qt_QMenuData_insertItem7 (TQMenuData (), icon.RawObject, new TQString (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 (QPixmap pixmap, int identifier, int index)
+ public int InsertItem (TQPixmap pixmap, int identifier, int index)
{
- return qt_QMenuData_insertItem8 (QMenuData (), pixmap.RawObject, identifier, index);
+ return qt_QMenuData_insertItem8 (TQMenuData (), 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 (QIconSet icon, QPixmap pixmap, int identifier, int index)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier, int index)
{
- return qt_QMenuData_insertItem9 (QMenuData (), icon.RawObject, pixmap.RawObject, identifier, index);
+ return qt_QMenuData_insertItem9 (TQMenuData (), 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 (QPixmap pixmap, QPopupMenu popup, int identifier, int index)
+ public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier, int index)
{
- return qt_QMenuData_insertItem10 (QMenuData (), pixmap.RawObject, popup.RawObject, identifier, index);
+ return qt_QMenuData_insertItem10 (TQMenuData (), 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 (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier, int index)
{
- return qt_QMenuData_insertItem11 (QMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index);
+ return qt_QMenuData_insertItem11 (TQMenuData (), 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 (QWidget widget, int identifier, int index)
+ public int InsertItem (TQWidget widget, int identifier, int index)
{
- return qt_QMenuData_insertItem12 (QMenuData (), widget.RawObject, identifier, index);
+ return qt_QMenuData_insertItem12 (TQMenuData (), 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 (QIconSet icon, QCustomMenuItem custom, int identifier, int index)
+ public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier, int index)
{
- return qt_QMenuData_insertItem13 (QMenuData (), icon.RawObject, custom.RawObject, identifier, index);
+ return qt_QMenuData_insertItem13 (TQMenuData (), 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 (QCustomMenuItem custom, int identifier, int index)
+ public int InsertItem (TQCustomMenuItem custom, int identifier, int index)
{
- return qt_QMenuData_insertItem14 (QMenuData (), custom.RawObject, identifier, index);
+ return qt_QMenuData_insertItem14 (TQMenuData (), 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 (QMenuData (), index);
+ return qt_QMenuData_insertSeparator (TQMenuData (), 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 (QMenuData (), identifier);
+ qt_QMenuData_removeItem (TQMenuData (), 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 (QMenuData (), index);
+ qt_QMenuData_removeItemAt (TQMenuData (), index);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QMenuData_clear (IntPtr raw);
public void Clear ()
{
- qt_QMenuData_clear (QMenuData ());
+ qt_QMenuData_clear (TQMenuData ());
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier);
- public QKeySequence Accel (int identifier)
+ public TQKeySequence Accel (int identifier)
{
- return (QKeySequence)LookupObject (qt_QMenuData_accel (QMenuData (), identifier), typeof(QKeySequence));
+ return (TQKeySequence)LookupObject (qt_QMenuData_accel (TQMenuData (), identifier), typeof(TQKeySequence));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier);
- public void SetAccel (QKeySequence key, int identifier)
+ public void SetAccel (TQKeySequence key, int identifier)
{
- qt_QMenuData_setAccel (QMenuData (), key.RawObject, identifier);
+ qt_QMenuData_setAccel (TQMenuData (), key.RawObject, identifier);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier);
- public QIconSet IconSet (int identifier)
+ public TQIconSet IconSet (int identifier)
{
- return (QIconSet)LookupObject (qt_QMenuData_iconSet (QMenuData (), identifier), typeof(QIconSet));
+ return (TQIconSet)LookupObject (qt_QMenuData_iconSet (TQMenuData (), identifier), typeof(TQIconSet));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier);
public string Text (int identifier)
{
- QString qstr = new QString (qt_QMenuData_text (QMenuData (), identifier));
+ TQString qstr = new TQString (qt_QMenuData_text (TQMenuData (), identifier));
string str = qstr.Latin1 ();
qstr.Dispose ();
return str;
@@ -478,23 +478,23 @@ namespace Qt {
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier);
- public QPixmap Pixmap (int identifier)
+ public TQPixmap Pixmap (int identifier)
{
- return (QPixmap)LookupObject (qt_QMenuData_pixmap (QMenuData (), identifier), typeof(QPixmap));
+ return (TQPixmap)LookupObject (qt_QMenuData_pixmap (TQMenuData (), identifier), typeof(TQPixmap));
}
[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 (QMenuData (), identifier, new QString (arg1).RawObject);
+ qt_QMenuData_setWhatsThis (TQMenuData (), identifier, new TQString (arg1).RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier);
public string WhatsThis (int identifier)
{
- QString qstr = new QString (qt_QMenuData_whatsThis (QMenuData (), identifier));
+ TQString qstr = new TQString (qt_QMenuData_whatsThis (TQMenuData (), identifier));
string str = qstr.Latin1 ();
qstr.Dispose ();
return str;
@@ -504,205 +504,205 @@ 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 (QMenuData (), identifier, new QString (text).RawObject);
+ qt_QMenuData_changeItem (TQMenuData (), identifier, new TQString (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, QPixmap pixmap)
+ public void ChangeItem (int identifier, TQPixmap pixmap)
{
- qt_QMenuData_changeItem1 (QMenuData (), identifier, pixmap.RawObject);
+ qt_QMenuData_changeItem1 (TQMenuData (), 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, QIconSet icon, string text)
+ public void ChangeItem (int identifier, TQIconSet icon, string text)
{
- qt_QMenuData_changeItem2 (QMenuData (), identifier, icon.RawObject, new QString (text).RawObject);
+ qt_QMenuData_changeItem2 (TQMenuData (), identifier, icon.RawObject, new TQString (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, QIconSet icon, QPixmap pixmap)
+ public void ChangeItem (int identifier, TQIconSet icon, TQPixmap pixmap)
{
- qt_QMenuData_changeItem3 (QMenuData (), identifier, icon.RawObject, pixmap.RawObject);
+ qt_QMenuData_changeItem3 (TQMenuData (), 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 (QMenuData (), new QString (text).RawObject, identifier);
+ qt_QMenuData_changeItem4 (TQMenuData (), new TQString (text).RawObject, identifier);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier);
- public void ChangeItem (QPixmap pixmap, int identifier)
+ public void ChangeItem (TQPixmap pixmap, int identifier)
{
- qt_QMenuData_changeItem5 (QMenuData (), pixmap.RawObject, identifier);
+ qt_QMenuData_changeItem5 (TQMenuData (), 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 (QIconSet icon, string text, int identifier)
+ public void ChangeItem (TQIconSet icon, string text, int identifier)
{
- qt_QMenuData_changeItem6 (QMenuData (), icon.RawObject, new QString (text).RawObject, identifier);
+ qt_QMenuData_changeItem6 (TQMenuData (), icon.RawObject, new TQString (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 (QMenuData (), identifier);
+ return qt_QMenuData_isItemActive (TQMenuData (), 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 (QMenuData (), identifier);
+ return qt_QMenuData_isItemEnabled (TQMenuData (), 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 (QMenuData (), identifier, enable);
+ qt_QMenuData_setItemEnabled (TQMenuData (), 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 (QMenuData (), identifier);
+ return qt_QMenuData_isItemChecked (TQMenuData (), 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 (QMenuData (), identifier, check);
+ qt_QMenuData_setItemChecked (TQMenuData (), 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 (QMenuData (), identifier);
+ return qt_QMenuData_indexOf (TQMenuData (), identifier);
}
[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 (QMenuData (), index, identifier);
+ qt_QMenuData_setId (TQMenuData (), 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 (QMenuData (), identifier, param);
+ return qt_QMenuData_setItemParameter (TQMenuData (), 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 (QMenuData (), identifier);
+ return qt_QMenuData_itemParameter (TQMenuData (), identifier);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier);
- public QMenuItem FindItem (int identifier)
+ public TQMenuItem FindItem (int identifier)
{
- return (QMenuItem)LookupObject (qt_QMenuData_findItem (QMenuData (), identifier), typeof(QMenuItem));
+ return (TQMenuItem)LookupObject (qt_QMenuData_findItem (TQMenuData (), identifier), typeof(TQMenuItem));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent);
- public QMenuItem FindItem (int identifier, QMenuData parent)
+ public TQMenuItem FindItem (int identifier, TQMenuData parent)
{
- return (QMenuItem)LookupObject (qt_QMenuData_findItem1 (QMenuData (), identifier, parent.RawObject), typeof(QMenuItem));
+ return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (TQMenuData (), identifier, parent.RawObject), typeof(TQMenuItem));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index);
- public QMenuItem FindPopup (QPopupMenu arg1, int[] index)
+ public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index)
{
- return (QMenuItem)LookupObject (qt_QMenuData_findPopup (QMenuData (), arg1.RawObject, index), typeof(QMenuItem));
+ return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (TQMenuData (), arg1.RawObject, index), typeof(TQMenuItem));
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1);
- protected void MenuInsPopup (QPopupMenu arg1)
+ protected void MenuInsPopup (TQPopupMenu arg1)
{
- qt_QMenuData_menuInsPopup (QMenuData (), arg1.RawObject);
+ qt_QMenuData_menuInsPopup (TQMenuData (), arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1);
- protected void MenuDelPopup (QPopupMenu arg1)
+ protected void MenuDelPopup (TQPopupMenu arg1)
{
- qt_QMenuData_menuDelPopup (QMenuData (), arg1.RawObject);
+ qt_QMenuData_menuDelPopup (TQMenuData (), arg1.RawObject);
}
- public int InsertItem (string text, QObject receiver, string member)
+ public int InsertItem (string text, TQObject receiver, string member)
{
- return InsertItem(text, receiver, member, new QKeySequence ());
+ return InsertItem(text, receiver, member, new TQKeySequence ());
}
- public int InsertItem (string text, QObject receiver, string member, QKeySequence accel)
+ public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel)
{
return InsertItem(text, receiver, member, accel, (int) -1);
}
- public int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier)
+ public int InsertItem (string text, TQObject receiver, string member, TQKeySequence accel, int identifier)
{
return InsertItem(text, receiver, member, accel, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, string text, QObject receiver, string member)
+ public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member)
{
- return InsertItem(icon, text, receiver, member, new QKeySequence ());
+ return InsertItem(icon, text, receiver, member, new TQKeySequence ());
}
- public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel)
+ public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel)
{
return InsertItem(icon, text, receiver, member, accel, (int) -1);
}
- public int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier)
+ public int InsertItem (TQIconSet icon, string text, TQObject receiver, string member, TQKeySequence accel, int identifier)
{
return InsertItem(icon, text, receiver, member, accel, identifier, (int) -1);
}
- public int InsertItem (QPixmap pixmap, QObject receiver, string member)
+ public int InsertItem (TQPixmap pixmap, TQObject receiver, string member)
{
- return InsertItem(pixmap, receiver, member, new QKeySequence ());
+ return InsertItem(pixmap, receiver, member, new TQKeySequence ());
}
- public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel)
+ public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel)
{
return InsertItem(pixmap, receiver, member, accel, (int) -1);
}
- public int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier)
+ public int InsertItem (TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier)
{
return InsertItem(pixmap, receiver, member, accel, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member)
{
- return InsertItem(icon, pixmap, receiver, member, new QKeySequence ());
+ return InsertItem(icon, pixmap, receiver, member, new TQKeySequence ());
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel)
{
return InsertItem(icon, pixmap, receiver, member, accel, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQObject receiver, string member, TQKeySequence accel, int identifier)
{
return InsertItem(icon, pixmap, receiver, member, accel, identifier, (int) -1);
}
@@ -717,102 +717,102 @@ namespace Qt {
return InsertItem(text, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, string text)
+ public int InsertItem (TQIconSet icon, string text)
{
return InsertItem(icon, text, (int) -1);
}
- public int InsertItem (QIconSet icon, string text, int identifier)
+ public int InsertItem (TQIconSet icon, string text, int identifier)
{
return InsertItem(icon, text, identifier, (int) -1);
}
- public int InsertItem (string text, QPopupMenu popup)
+ public int InsertItem (string text, TQPopupMenu popup)
{
return InsertItem(text, popup, (int) -1);
}
- public int InsertItem (string text, QPopupMenu popup, int identifier)
+ public int InsertItem (string text, TQPopupMenu popup, int identifier)
{
return InsertItem(text, popup, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, string text, QPopupMenu popup)
+ public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup)
{
return InsertItem(icon, text, popup, (int) -1);
}
- public int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier)
+ public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier)
{
return InsertItem(icon, text, popup, identifier, (int) -1);
}
- public int InsertItem (QPixmap pixmap)
+ public int InsertItem (TQPixmap pixmap)
{
return InsertItem(pixmap, (int) -1);
}
- public int InsertItem (QPixmap pixmap, int identifier)
+ public int InsertItem (TQPixmap pixmap, int identifier)
{
return InsertItem(pixmap, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap)
{
return InsertItem(icon, pixmap, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, int identifier)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier)
{
return InsertItem(icon, pixmap, identifier, (int) -1);
}
- public int InsertItem (QPixmap pixmap, QPopupMenu popup)
+ public int InsertItem (TQPixmap pixmap, TQPopupMenu popup)
{
return InsertItem(pixmap, popup, (int) -1);
}
- public int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier)
+ public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier)
{
return InsertItem(pixmap, popup, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup)
{
return InsertItem(icon, pixmap, popup, (int) -1);
}
- public int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier)
+ public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier)
{
return InsertItem(icon, pixmap, popup, identifier, (int) -1);
}
- public int InsertItem (QWidget widget)
+ public int InsertItem (TQWidget widget)
{
return InsertItem(widget, (int) -1);
}
- public int InsertItem (QWidget widget, int identifier)
+ public int InsertItem (TQWidget widget, int identifier)
{
return InsertItem(widget, identifier, (int) -1);
}
- public int InsertItem (QIconSet icon, QCustomMenuItem custom)
+ public int InsertItem (TQIconSet icon, TQCustomMenuItem custom)
{
return InsertItem(icon, custom, (int) -1);
}
- public int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier)
+ public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier)
{
return InsertItem(icon, custom, identifier, (int) -1);
}
- public int InsertItem (QCustomMenuItem custom)
+ public int InsertItem (TQCustomMenuItem custom)
{
return InsertItem(custom, (int) -1);
}
- public int InsertItem (QCustomMenuItem custom, int identifier)
+ public int InsertItem (TQCustomMenuItem custom, int identifier)
{
return InsertItem(custom, identifier, (int) -1);
}
@@ -822,7 +822,7 @@ namespace Qt {
return InsertSeparator((int) -1);
}
- public QMenuItem FindPopup (QPopupMenu arg1)
+ public TQMenuItem FindPopup (TQPopupMenu arg1)
{
return FindPopup(arg1, new int[]{0});
}