diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:45:40 +0900 |
commit | faf33629bb6562a6f43f930afafe4b22e9cdb60b (patch) | |
tree | 8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtjava/javalib/examples/rot13 | |
parent | 0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff) | |
download | tdebindings-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/rot13')
-rw-r--r-- | qtjava/javalib/examples/rot13/Rot13.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/examples/rot13/Rot13.java b/qtjava/javalib/examples/rot13/Rot13.java index bfb55edb..472e13eb 100644 --- a/qtjava/javalib/examples/rot13/Rot13.java +++ b/qtjava/javalib/examples/rot13/Rot13.java @@ -24,12 +24,12 @@ Rot13() { left = new TQMultiLineEdit( this, "left" ); right = new TQMultiLineEdit( this, "right" ); - connect( left, SIGNAL("textChanged()"), this, SLOT("changeRight()") ); - connect( right, SIGNAL("textChanged()"), this, SLOT("changeLeft()") ); + connect( left, TQ_SIGNAL("textChanged()"), this, TQ_SLOT("changeRight()") ); + connect( right, TQ_SIGNAL("textChanged()"), this, TQ_SLOT("changeLeft()") ); TQPushButton quit = new TQPushButton( "&Quit", this ); quit.setFocusPolicy( NoFocus ); - connect( quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()") ); + connect( quit, TQ_SIGNAL("clicked()"), tqApp(), TQ_SLOT("quit()") ); TQGridLayout l = new TQGridLayout( this, 2, 2, 5 ); l.addWidget( left, 0, 0 ); |