diff options
Diffstat (limited to 'PerlTQt/lib/TQt/enumerations.pm')
-rw-r--r-- | PerlTQt/lib/TQt/enumerations.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/PerlTQt/lib/TQt/enumerations.pm b/PerlTQt/lib/TQt/enumerations.pm new file mode 100644 index 0000000..9fea98f --- /dev/null +++ b/PerlTQt/lib/TQt/enumerations.pm @@ -0,0 +1,15 @@ +package TQt::enumerations; +# +# Proposed usage: +# +# package MyWidget; +# +# use TQt::enumerations MyInfo => { +# Foo => 1, +# Bar => 10, +# Baz => 64 +# }; +# +# use TQt::enumerations MyInfo => [qw(Foo Bar Baz)]; +# +1; |