QAccel - Interface to the Qt QAccel class
use QAccel;
Inherits QObject.
new, clear, connectItem, count, disconnectItem, findKey, insertItem, isEnabled, isItemEnabled, key, removeItem, setEnabled, setItemEnabled
The complete class is implemented. Do not try to use SIGNAL() or SLOT().
The %Key hash is exported into the caller's namespace, the elements represent the values of the Key_* macros in C++ Qt. For example, the Key_Space value in C++ would be accessible as $Key{Space} in Perl, the Key_Q value would be accessible with $Key{Q}, and so on.
%Key
Key_Space
$Key{Space}
Key_Q
$Key{Q}
The scalar values $SHIFT, $CTRL, $ALT, and $ASCII_ACCEL are also exported, and have the same value and function as their C++ counterparts.
QAccel(3qt)
Ashley Winters <jql@accessone.com>
To install Qt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Qt
CPAN shell
perl -MCPAN -e shell install Qt
For more information on module installation, please visit the detailed CPAN module installation guide.