From faf33629bb6562a6f43f930afafe4b22e9cdb60b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 11:29:06 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- qtjava/javalib/examples/sound/SoundPlayer.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'qtjava/javalib/examples/sound/SoundPlayer.java') diff --git a/qtjava/javalib/examples/sound/SoundPlayer.java b/qtjava/javalib/examples/sound/SoundPlayer.java index 3cc76d76..73d54b71 100644 --- a/qtjava/javalib/examples/sound/SoundPlayer.java +++ b/qtjava/javalib/examples/sound/SoundPlayer.java @@ -49,15 +49,15 @@ SoundPlayer() } TQPopupMenu file = new TQPopupMenu(this); - file.insertItem("Play &1", this, SLOT("doPlay1()"), new TQKeySequence(CTRL+Key_1)); - file.insertItem("Play &2", this, SLOT("doPlay2()"), new TQKeySequence(CTRL+Key_2)); - file.insertItem("Play from bucket &3", this, SLOT("doPlay3()"), new TQKeySequence(CTRL+Key_3)); - file.insertItem("Play from bucket &4", this, SLOT("doPlay4()"), new TQKeySequence(CTRL+Key_4)); + file.insertItem("Play &1", this, TQ_SLOT("doPlay1()"), new TQKeySequence(CTRL+Key_1)); + file.insertItem("Play &2", this, TQ_SLOT("doPlay2()"), new TQKeySequence(CTRL+Key_2)); + file.insertItem("Play from bucket &3", this, TQ_SLOT("doPlay3()"), new TQKeySequence(CTRL+Key_3)); + file.insertItem("Play from bucket &4", this, TQ_SLOT("doPlay4()"), new TQKeySequence(CTRL+Key_4)); file.insertSeparator(); - file.insertItem("Play 3 and 4 together", this, SLOT("doPlay34()")); - file.insertItem("Play all together", this, SLOT("doPlay1234()")); + file.insertItem("Play 3 and 4 together", this, TQ_SLOT("doPlay34()")); + file.insertItem("Play all together", this, TQ_SLOT("doPlay1234()")); file.insertSeparator(); - file.insertItem("E&xit", tqApp(), SLOT("quit()")); + file.insertItem("E&xit", tqApp(), TQ_SLOT("quit()")); menuBar().insertItem("&File", file); } -- cgit v1.2.1