summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/layout/ExampleWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/layout/ExampleWidget.java')
-rw-r--r--qtjava/javalib/examples/layout/ExampleWidget.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtjava/javalib/examples/layout/ExampleWidget.java b/qtjava/javalib/examples/layout/ExampleWidget.java
index 566a7825..c66e238d 100644
--- a/qtjava/javalib/examples/layout/ExampleWidget.java
+++ b/qtjava/javalib/examples/layout/ExampleWidget.java
@@ -30,7 +30,7 @@ ExampleWidget( TQWidget parent, String name )
menubar.setSeparator( TQMenuBar.InWindowsStyle );
TQPopupMenu popup;
popup = new TQPopupMenu( this );
- popup.insertItem( "&Quit", tqApp(), SLOT("quit()") );
+ popup.insertItem( "&Quit", tqApp(), TQ_SLOT("quit()") );
menubar.insertItem( "&File", popup );
// ...and tell the layout about it.