—package
Qt::Core::QMutex;
# classname: QMutex
# file : QtCore/qmutex.h
use
strict;
use
warnings;
#use Carp;
our
$VERSION
=
'0.01_01'
;
# FIXME: operator overload
# enums
# enum value in perl is enum item index number
sub
NonRecursive() { 0 }
sub
Recursive() { 1 }
1;
=head1 NAME
Qt::Core::QMutex
=head1 PUBLIC METHODS
=over
=item QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive)
=item QMutex(QMutex::RecursionMode mode)
=item ~QMutex()
=item void lock()
=item bool tryLock()
=item bool tryLock(int timeout)
=item void unlock()
=back
=head2 EXPORT
None by default.
=head1 AUTHOR
Dongxu Ma E<lt>dongxu@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut