From 1eb017313b2ebc441dfc81e73a5d6573d03ea08d Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sat, 13 Jan 2024 11:29:06 +0900
Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
---
 qtjava/javalib/examples/qmag/MagWidget.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'qtjava/javalib/examples/qmag/MagWidget.java')

diff --git a/qtjava/javalib/examples/qmag/MagWidget.java b/qtjava/javalib/examples/qmag/MagWidget.java
index f701835b..ade43cef 100644
--- a/qtjava/javalib/examples/qmag/MagWidget.java
+++ b/qtjava/javalib/examples/qmag/MagWidget.java
@@ -57,11 +57,11 @@ MagWidget( TQWidget parent, String name )
 
     zoom = new TQComboBox( false, this );
     zoom.insertStrList( zoomfactors, 9 );
-    connect( zoom, SIGNAL("activated(int)"), SLOT("setZoom(int)") );
+    connect( zoom, TQ_SIGNAL("activated(int)"), TQ_SLOT("setZoom(int)") );
 
     refresh = new TQComboBox( false, this );
     refresh.insertStrList( refreshrates, 9 );
-    connect( refresh, SIGNAL("activated(int)"), SLOT("setRefresh(int)") );
+    connect( refresh, TQ_SIGNAL("activated(int)"), TQ_SLOT("setRefresh(int)") );
 
     for( n=0; n<9; n++) {
 	int w2 = zoom.fontMetrics().width( zoomfactors[n] );
@@ -78,20 +78,20 @@ MagWidget( TQWidget parent, String name )
     refresh.setGeometry( x, 2, w+30, 20 );
 
     saveButton = new TQPushButton( this );
-    connect( saveButton, SIGNAL("clicked()"), this, SLOT("save()") );
+    connect( saveButton, TQ_SIGNAL("clicked()"), this, TQ_SLOT("save()") );
     saveButton.setText( "Save" );
     saveButton.setGeometry( x+w+30+2, 2,
 			     10+saveButton.fontMetrics().width("Save"), 20 );
 
     multiSaveButton = new TQPushButton( this );
     multiSaveButton.setToggleButton(true);
-    connect( multiSaveButton, SIGNAL("clicked()"), this, SLOT("multiSave()") );
+    connect( multiSaveButton, TQ_SIGNAL("clicked()"), this, TQ_SLOT("multiSave()") );
     multiSaveButton.setText( "MultiSave" );
     multiSaveButton.setGeometry( saveButton.geometry().right() + 2, 2,
 			     10+multiSaveButton.fontMetrics().width("MultiSave"), 20 );
 
     quitButton = new TQPushButton( this );
-    connect( quitButton, SIGNAL("clicked()"), tqApp(), SLOT("quit()") );
+    connect( quitButton, TQ_SIGNAL("clicked()"), tqApp(), TQ_SLOT("quit()") );
     quitButton.setText( "Quit" );
     quitButton.setGeometry( multiSaveButton.geometry().right() + 2, 2,
 			     10+quitButton.fontMetrics().width("Quit"), 20 );
-- 
cgit v1.2.1