summaryrefslogtreecommitdiffstats
path: root/PerlTQt/lib/TQt/enumerations.pm
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-01 18:43:39 -0600
committerTimothy Pearson <[email protected]>2012-01-01 18:43:39 -0600
commit795a0355a40293affc7164507e918440d4a828d6 (patch)
tree9724723196b77633801918030aa2e293dc8246fb /PerlTQt/lib/TQt/enumerations.pm
parent55e5c730361b5f2640f155aef4518ca69c4fc1b4 (diff)
downloadlibtqt-perl-795a0355a40293affc7164507e918440d4a828d6.tar.gz
libtqt-perl-795a0355a40293affc7164507e918440d4a828d6.zip
Move Qt
Diffstat (limited to 'PerlTQt/lib/TQt/enumerations.pm')
-rw-r--r--PerlTQt/lib/TQt/enumerations.pm15
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;