summaryrefslogtreecommitdiff
path: root/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2016-01-12 12:00:25 +0100
committerManuel Traut <manut@linutronix.de>2016-01-12 12:00:25 +0100
commit498830a97001a793c12aef3d011c5374a05b4a83 (patch)
tree2c7e64e9ddb6556e22d21393f10cddc5bd990952 /examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
parentc99be12a9a7b6270e9b3db4c5f96cb8e8eb0c7c1 (diff)
mv yocto examples into example dir
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp')
-rw-r--r--examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp b/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
new file mode 100644
index 0000000..49d64fc
--- /dev/null
+++ b/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
@@ -0,0 +1,14 @@
+#include "mainwindow.h"
+#include "ui_mainwindow.h"
+
+MainWindow::MainWindow(QWidget *parent) :
+ QMainWindow(parent),
+ ui(new Ui::MainWindow)
+{
+ ui->setupUi(this);
+}
+
+MainWindow::~MainWindow()
+{
+ delete ui;
+}