diff options
Diffstat (limited to 'qtsharp/src/bindings/static/TQToolButton.cs')
-rw-r--r-- | qtsharp/src/bindings/static/TQToolButton.cs | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/qtsharp/src/bindings/static/TQToolButton.cs b/qtsharp/src/bindings/static/TQToolButton.cs index 6f3d7dfa..54a3410a 100644 --- a/qtsharp/src/bindings/static/TQToolButton.cs +++ b/qtsharp/src/bindings/static/TQToolButton.cs @@ -38,7 +38,7 @@ namespace Qt { qparent.AddChild (this); RegisterObject (this); - Connect (this, TQT_SIGNAL ("destroyed ()"), TQT_SLOT ("NativeDestroyed ()")); + Connect (this, TQ_SIGNAL ("destroyed ()"), TQ_SLOT ("NativeDestroyed ()")); } [DllImport("libtqtc", CharSet=CharSet.Ansi)] @@ -46,14 +46,14 @@ namespace Qt { public TQToolButton (TQIconSet iconSet, TQString textLabel, TQString groupText, TQObject receiver, string slot, TQToolBar parent, string name) : this (TQNull.Instance) { rawObject = qt_new_QToolButton1 (iconSet.RawObject, textLabel.RawObject, groupText.RawObject, IntPtr.Zero, null, parent != null ? parent.RawObject : IntPtr.Zero, name); - Connect( this, TQT_SIGNAL("clicked()"), receiver, slot ); + Connect( this, TQ_SIGNAL("clicked()"), receiver, slot ); if ((qparent = parent) != null) qparent.AddChild (this); RegisterObject (this); - Connect (this, TQT_SIGNAL ("destroyed ()"), TQT_SLOT ("NativeDestroyed ()")); + Connect (this, TQ_SIGNAL ("destroyed ()"), TQ_SLOT ("NativeDestroyed ()")); } [DllImport("libtqtc", CharSet=CharSet.Ansi)] @@ -66,7 +66,7 @@ namespace Qt { qparent.AddChild (this); RegisterObject (this); - Connect (this, TQT_SIGNAL ("destroyed ()"), TQT_SLOT ("NativeDestroyed ()")); + Connect (this, TQ_SIGNAL ("destroyed ()"), TQ_SLOT ("NativeDestroyed ()")); } public TQToolButton (TQWidget parent) : this (parent, "") {} @@ -175,26 +175,6 @@ namespace Qt { } [DllImport("libtqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QToolButton_setIconSet1 (IntPtr raw, IntPtr set, bool on); - public void SetIconSet (TQIconSet set, bool on) - { - if (disposed) - throw new ObjectDisposedException (this+": Attempted use of disposed object"); - - qt_QToolButton_setIconSet1 (rawObject, set.RawObject, on); - } - - [DllImport("libtqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QToolButton_iconSet (IntPtr raw, bool on); - public TQIconSet IconSet (bool on) - { - if (disposed) - throw new ObjectDisposedException (this+": Attempted use of disposed object"); - - return LookupObject (qt_QToolButton_iconSet (rawObject, on), typeof (TQIconSet)) as TQIconSet; - } - - [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setPopupDelay (IntPtr raw, int delay); public void SetPopupDelay (int delay) { |