diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-08 09:16:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-08 09:16:09 -0600 |
commit | d22c7b8f00303de81d0f18df71a3468adc78f42e (patch) | |
tree | 6737518c1b52893e622ace75992489015e4e9755 /PerlTQt/lib/TQt/slots.pm | |
parent | 52d72c66fb0fd5a1a834357b8239a72e5ac26d27 (diff) | |
download | libtqt-perl-d22c7b8f00303de81d0f18df71a3468adc78f42e.tar.gz libtqt-perl-d22c7b8f00303de81d0f18df71a3468adc78f42e.zip |
Update for tqt3
Diffstat (limited to 'PerlTQt/lib/TQt/slots.pm')
-rw-r--r-- | PerlTQt/lib/TQt/slots.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/PerlTQt/lib/TQt/slots.pm b/PerlTQt/lib/TQt/slots.pm index c12990e..cfbcff1 100644 --- a/PerlTQt/lib/TQt/slots.pm +++ b/PerlTQt/lib/TQt/slots.pm @@ -16,11 +16,11 @@ sub import { my $self = shift; my $caller = $self eq "TQt::slots" ? (caller)[0] : $self; my $parent = ${ $caller . '::ISA' }[0]; - my $parent_qt_invoke = $parent . '::qt_invoke'; + my $parent_qt_invoke = $parent . '::tqt_invoke'; - TQt::_internal::installqt_invoke($caller . '::qt_invoke') unless defined &{ $caller. '::qt_invoke' }; + TQt::_internal::installqt_invoke($caller . '::tqt_invoke') unless defined &{ $caller. '::tqt_invoke' }; -# *{ $caller . '::qt_invoke' } = sub { +# *{ $caller . '::tqt_invoke' } = sub { # my $meta = \%{ $caller . '::META' }; # die unless $meta->{object}; # my $offset = $_[0] - $meta->{object}->slotOffset; @@ -30,7 +30,7 @@ sub import { # } else { # TQt::this()->$parent_qt_invoke(@_); # } -# } unless defined &{ $caller . '::qt_invoke' }; +# } unless defined &{ $caller . '::tqt_invoke' }; my $meta = \%{ $caller . '::META' }; croak "Odd number of arguments in slot declaration" if @_%2; |