diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:38:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-15 10:12:20 +0900 |
commit | 773c73d27492ada253b9e81752bd735ee3dc3ac1 (patch) | |
tree | dc8d0269d4e95c57b29be70c1c2b90545112ef56 /src/amarokscript/soundKonverter.rb | |
parent | 07fbaa743408f4302df7b6889347a4a2deadc4de (diff) | |
download | soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.tar.gz soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/amarokscript/soundKonverter.rb')
-rwxr-xr-x | src/amarokscript/soundKonverter.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amarokscript/soundKonverter.rb b/src/amarokscript/soundKonverter.rb index 92c3d06..7af6d87 100755 --- a/src/amarokscript/soundKonverter.rb +++ b/src/amarokscript/soundKonverter.rb @@ -105,8 +105,8 @@ def initialize(parent = nil, name = nil) okPushButton.setText( "OK" ) okPushButton.setDefault( true ) - connect( okPushButton, SIGNAL( 'clicked()' ), - self, SLOT( 'accept()' ) + connect( okPushButton, TQ_SIGNAL( 'clicked()' ), + self, TQ_SLOT( 'accept()' ) ) cancelPushButton = TQt::PushButton.new( self, "cancel" ) @@ -114,8 +114,8 @@ def initialize(parent = nil, name = nil) cancelPushButton.setText( "Cancel" ) cancelPushButton.setAccel( TQt::KeySequence.new(Key_Escape) ) - connect( cancelPushButton, SIGNAL( 'clicked()' ), - self, SLOT( 'reject()' ) + connect( cancelPushButton, TQ_SIGNAL( 'clicked()' ), + self, TQ_SLOT( 'reject()' ) ) file = TQt::File.new( File.dirname( File.expand_path( __FILE__ ) ) + "/config" ) |