summaryrefslogtreecommitdiffstats
path: root/examples/demo/i18n/wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/i18n/wrapper.h')
-rw-r--r--examples/demo/i18n/wrapper.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/demo/i18n/wrapper.h b/examples/demo/i18n/wrapper.h
new file mode 100644
index 00000000..b1bddf58
--- /dev/null
+++ b/examples/demo/i18n/wrapper.h
@@ -0,0 +1,21 @@
+#ifndef WRAPPER_H
+#define WRAPPER_H
+
+#include <qvbox.h>
+#include <qtranslator.h>
+
+
+class Wrapper : public TQVBox
+{
+public:
+ Wrapper(TQWidget *parent, int i, const char *name = 0)
+ : TQVBox(parent, name, WDestructiveClose), translator(this), id(i)
+ {
+ }
+
+ TQTranslator translator;
+ int id;
+};
+
+
+#endif // WRAPPER_H