summaryrefslogtreecommitdiff
path: root/examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
committerJan Altenberg <jan@linutronix.de>2016-05-20 19:02:57 +0200
commitde3626497bba95b5d44550c9c23b99fd20a8d9c8 (patch)
treedeb98eff85fffccf9f7b2818bf837e6ab51d836a /examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp
parent29bcbff58ced768f9f4edbc6f4d9d9604552f09e (diff)
parentf4af36737b6e0ca37f5b17434b8f37d04cf083d7 (diff)
Merge remote-tracking branch 'remotes/origin/devel/manut/yocto'
Integration of Manu's latest Yocto topics (autotools)
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;
+}