summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/qmag/MagWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/qmag/MagWidget.java')
-rw-r--r--qtjava/javalib/examples/qmag/MagWidget.java10
1 files changed, 5 insertions, 5 deletions
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 );