try to make cppcheck happy again
This commit is contained in:
@@ -12,7 +12,10 @@ qmlWrapper::qmlWrapper()
|
|||||||
|
|
||||||
qmlWrapper::~qmlWrapper()
|
qmlWrapper::~qmlWrapper()
|
||||||
{
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
qmlWrapper::qmlWrapper(const qmlWrapper&)
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void qmlWrapper::showStartView()
|
void qmlWrapper::showStartView()
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ class qmlWrapper
|
|||||||
public:
|
public:
|
||||||
qmlWrapper();
|
qmlWrapper();
|
||||||
~qmlWrapper();
|
~qmlWrapper();
|
||||||
|
qmlWrapper(const qmlWrapper&);
|
||||||
|
|
||||||
void showStartView();
|
void showStartView();
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
#include <QQmlApplicationEngine>
|
|
||||||
#include "startview.h"
|
#include "startview.h"
|
||||||
|
|
||||||
startView::startView()
|
startView::startView()
|
||||||
{
|
{
|
||||||
qDebug("startViewKonstruktor");
|
qDebug("startViewKonstruktor");
|
||||||
myEngine = new QQmlApplicationEngine();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
startView::~startView()
|
startView::~startView()
|
||||||
@@ -20,5 +18,5 @@ startView::startView(const startView&)
|
|||||||
void startView::show()
|
void startView::show()
|
||||||
{
|
{
|
||||||
qDebug("show mal bitte");
|
qDebug("show mal bitte");
|
||||||
myEngine->load(QUrl(QStringLiteral("qrc:/main.qml")));
|
myEngine.load(QUrl(QStringLiteral("qrc:/main.qml")));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#ifndef STARTVIEW_H
|
#ifndef STARTVIEW_H
|
||||||
#define STARTVIEW_H
|
#define STARTVIEW_H
|
||||||
|
|
||||||
class QQmlApplicationEngine;
|
#include <QQmlApplicationEngine>
|
||||||
|
|
||||||
class startView
|
class startView
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -12,7 +13,7 @@ public:
|
|||||||
void show();
|
void show();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QQmlApplicationEngine *myEngine;
|
QQmlApplicationEngine myEngine;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // STARTVIEW_H
|
#endif // STARTVIEW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user