summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopia4app/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qtopia4app/example.h')
-rw-r--r--languages/cpp/app_templates/qtopia4app/example.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h
new file mode 100644
index 00000000..7d58c7d8
--- /dev/null
+++ b/languages/cpp/app_templates/qtopia4app/example.h
@@ -0,0 +1,24 @@
+
+#ifndef %{APPNAMEUC}_H
+#define %{APPNAMEUC}_H
+#include "ui_%{APPNAMELC}base.h"
+
+class %{APPNAME}Base : public QWidget, public Ui_%{APPNAME}Base
+{
+public:
+ %{APPNAME}Base( QWidget *parent = 0, Qt::WFlags f = 0 );
+ virtual ~%{APPNAME}Base();
+};
+
+class %{APPNAME} : public %{APPNAME}Base
+{
+ Q_OBJECT
+public:
+ %{APPNAME}( QWidget *parent = 0, Qt::WFlags f = 0 );
+ virtual ~%{APPNAME}();
+
+private slots:
+ void goodBye();
+};
+
+#endif // %{APPNAMEUC}_H