From 498830a97001a793c12aef3d011c5374a05b4a83 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 12 Jan 2016 12:00:25 +0100 Subject: mv yocto examples into example dir Signed-off-by: Manuel Traut --- .../recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp (limited to 'examples/yocto/meta-mini/recipes-hello/helloqt/files/helloqt-1.0/mainwindow.cpp') 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; +} -- cgit v1.2.3