summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/TQToolButton.cs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 20:32:49 +0900
commit1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch)
tree8d37ac85ad8a529697fc81479852a039de534b8e /qtsharp/src/bindings/static/TQToolButton.cs
parent673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff)
downloadtdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.tar.gz
tdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
Diffstat (limited to 'qtsharp/src/bindings/static/TQToolButton.cs')
-rw-r--r--qtsharp/src/bindings/static/TQToolButton.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtsharp/src/bindings/static/TQToolButton.cs b/qtsharp/src/bindings/static/TQToolButton.cs
index 6f3d7dfa..fe69d706 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, "") {}