summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/wizard/Wizard.java
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 /qtjava/javalib/examples/wizard/Wizard.java
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 'qtjava/javalib/examples/wizard/Wizard.java')
-rw-r--r--qtjava/javalib/examples/wizard/Wizard.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/qtjava/javalib/examples/wizard/Wizard.java b/qtjava/javalib/examples/wizard/Wizard.java
index 6c3a42d7..5268202f 100644
--- a/qtjava/javalib/examples/wizard/Wizard.java
+++ b/qtjava/javalib/examples/wizard/Wizard.java
@@ -30,8 +30,8 @@ Wizard( TQWidget parent, String name )
setupPage1();
setupPage2();
setupPage3();
- connect(this, SIGNAL("selected(String)"), this, SLOT("doShowPage(String)"));
- connect(finishButton(), SIGNAL("clicked()"), tqApp(), SLOT("quit()"));
+ connect(this, TQ_SIGNAL("selected(String)"), this, TQ_SLOT("doShowPage(String)"));
+ connect(finishButton(), TQ_SIGNAL("clicked()"), tqApp(), TQ_SLOT("quit()"));
key.setFocus();
}
@@ -59,8 +59,8 @@ void setupPage1()
key.setMaxLength( 4 );
key.setValidator( new TQIntValidator( 1000, 9999, key ) );
- connect( key, SIGNAL(" textChanged( String )"),
- this, SLOT(" keyChanged( String )") );
+ connect( key, TQ_SIGNAL(" textChanged( String )"),
+ this, TQ_SLOT(" keyChanged( String )") );
addPage( page1, "Personal Key" );
@@ -115,12 +115,12 @@ void setupPage2()
phone = new TQLineEdit( row4 );
email = new TQLineEdit( row5 );
- connect( firstName, SIGNAL(" textChanged( String )"),
- this, SLOT(" dataChanged( String )") );
- connect( lastName, SIGNAL(" textChanged( String )"),
- this, SLOT(" dataChanged( String )") );
- connect( email, SIGNAL(" textChanged( String )"),
- this, SLOT(" dataChanged( String )") );
+ connect( firstName, TQ_SIGNAL(" textChanged( String )"),
+ this, TQ_SLOT(" dataChanged( String )") );
+ connect( lastName, TQ_SIGNAL(" textChanged( String )"),
+ this, TQ_SLOT(" dataChanged( String )") );
+ connect( email, TQ_SIGNAL(" textChanged( String )"),
+ this, TQ_SLOT(" dataChanged( String )") );
addPage( page2, "Personal Data" );