summaryrefslogtreecommitdiffstats
path: root/PerlTQt/lib/TQt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-08 09:16:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-08 09:16:09 -0600
commitd22c7b8f00303de81d0f18df71a3468adc78f42e (patch)
tree6737518c1b52893e622ace75992489015e4e9755 /PerlTQt/lib/TQt
parent52d72c66fb0fd5a1a834357b8239a72e5ac26d27 (diff)
downloadlibtqt-perl-d22c7b8f00303de81d0f18df71a3468adc78f42e.tar.gz
libtqt-perl-d22c7b8f00303de81d0f18df71a3468adc78f42e.zip
Update for tqt3
Diffstat (limited to 'PerlTQt/lib/TQt')
-rw-r--r--PerlTQt/lib/TQt/signals.pm8
-rw-r--r--PerlTQt/lib/TQt/slots.pm8
2 files changed, 8 insertions, 8 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;
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;