summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/wizard/Wizard.java
diff options
context:
space:
mode:
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" );