summaryrefslogtreecommitdiffstats
path: root/PerlTQt/lib/TQt/signals.pm
diff options
context:
space:
mode:
Diffstat (limited to 'PerlTQt/lib/TQt/signals.pm')
-rw-r--r--PerlTQt/lib/TQt/signals.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/PerlTQt/lib/TQt/signals.pm b/PerlTQt/lib/TQt/signals.pm
index 1f454c1..d0c3275 100644
--- a/PerlTQt/lib/TQt/signals.pm
+++ b/PerlTQt/lib/TQt/signals.pm
@@ -18,11 +18,11 @@ sub import {
my $self = shift;
my $caller = $self eq "TQt::signals" ? (caller)[0] : $self;
my $parent = ${ $caller . '::ISA' }[0];
- my $parent_qt_emit = $parent . '::qt_emit';
+ my $parent_qt_emit = $parent . '::tqt_emit';
- TQt::_internal::installqt_invoke($caller . '::qt_emit') unless defined &{ $caller. '::qt_emit' };
+ TQt::_internal::installqt_invoke($caller . '::tqt_emit') unless defined &{ $caller. '::tqt_emit' };
-# *{ $caller . '::qt_emit' } = sub {
+# *{ $caller . '::tqt_emit' } = sub {
# my $meta = \%{ $caller . '::META' };
# die unless $meta->{object};
# my $offset = $_[0] - $meta->{object}->signalOffset;
@@ -32,7 +32,7 @@ sub import {
# } else {
# TQt::this()->$parent_qt_emit(@_);
# }
-# } unless defined &{ $caller . '::qt_emit' };
+# } unless defined &{ $caller . '::tqt_emit' };
my $meta = \%{ $caller . '::META' };
croak "Odd number of arguments in signal declaration" if @_%2;