You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtqt-perl/PerlTQt/lib/TQt/GlobalSpace.pm

25 lines
647 B

package TQt::GlobalSpace;
use strict;
require TQt;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT;
our $allMeth = TQt::_internal::findAllMethods( TQt::_internal::idClass("TQGlobalSpace") );
no strict 'refs';
for my $proto( keys %$allMeth )
{
next if $proto =~ /operator\W/; # skip operators
$proto =~ s/[\#\$\?]+$//;
*{ $proto } = sub
{
$TQt::_internal::autoload::AUTOLOAD = "TQt::GlobalSpace\::$proto";
goto &TQt::GlobalSpace::AUTOLOAD
} unless defined &$proto;
push @EXPORT, $proto;
}
our %EXPORT_TAGS = ( "all" => [@EXPORT] );
1;