Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
434 B

#include "testapp.h"
#include <QtMvvmCore/ServiceRegistry>
TestApp::TestApp(QObject *parent) :
CoreApp(parent)
{}
TestPresenter *TestApp::presenter()
{
return static_cast<TestPresenter*>(CoreApp::presenter());
}
void TestApp::performRegistrations()
{
wasRegistered = true;
}
int TestApp::startApp(const QStringList &arguments)
{
startArgs = arguments;
return EXIT_SUCCESS;
}
void TestApp::closeApp()
{
wasClosed = false;
}