summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/sound/SoundPlayer.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-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtjava/javalib/examples/sound/SoundPlayer.java
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava/javalib/examples/sound/SoundPlayer.java')
-rw-r--r--qtjava/javalib/examples/sound/SoundPlayer.java14
1 files changed, 7 insertions, 7 deletions
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);
}