From 1eb017313b2ebc441dfc81e73a5d6573d03ea08d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 11:29:06 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b) --- qtsharp/src/generator/Printer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtsharp/src/generator/Printer.cs') diff --git a/qtsharp/src/generator/Printer.cs b/qtsharp/src/generator/Printer.cs index 1289f107..3b852e72 100644 --- a/qtsharp/src/generator/Printer.cs +++ b/qtsharp/src/generator/Printer.cs @@ -518,7 +518,7 @@ namespace QtCSharp { public string DefaultConnections () { if (qtype.IsTQObject) - return "\n\t\t\tConnect (this, TQT_SIGNAL (\"destroyed ()\"), TQT_SLOT (\"NativeDestroyed ()\"));"; + return "\n\t\t\tConnect (this, TQ_SIGNAL (\"destroyed ()\"), TQ_SLOT (\"NativeDestroyed ()\"));"; else return ""; } -- cgit v1.2.3