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) --- qtjava/javalib/examples/qfd/FontDisplayer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtjava/javalib/examples/qfd/FontDisplayer.java') diff --git a/qtjava/javalib/examples/qfd/FontDisplayer.java b/qtjava/javalib/examples/qfd/FontDisplayer.java index 17dfe6a4..3895726f 100644 --- a/qtjava/javalib/examples/qfd/FontDisplayer.java +++ b/qtjava/javalib/examples/qfd/FontDisplayer.java @@ -157,10 +157,10 @@ FontDisplayer( TQWidget parent, String name ) controls.addSeparator(); TQPushButton fontbutton = new TQPushButton(tr("Font..."), controls); - connect(row,SIGNAL("valueChanged(int)"),table,SLOT("setRow(int)")); - connect(fontbutton, SIGNAL("clicked()"), table, SLOT("chooseFont()")); - connect(table,SIGNAL("fontInformation(String)"), - statusBar(),SLOT("message(String)")); + connect(row,TQ_SIGNAL("valueChanged(int)"),table,TQ_SLOT("setRow(int)")); + connect(fontbutton, TQ_SIGNAL("clicked()"), table, TQ_SLOT("chooseFont()")); + connect(table,TQ_SIGNAL("fontInformation(String)"), + statusBar(),TQ_SLOT("message(String)")); table.setRow(0); setCentralWidget(table); } -- cgit v1.2.1