36 lines
618 B
C++
Executable File
36 lines
618 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Splash Manager
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, NLE, 2019-06-21
|
|
*/
|
|
|
|
#include "Splash.h"
|
|
|
|
#include <LtsWidgets/lts_splash.h>
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
Splash::Splash(const QString &lang)
|
|
: QObject(nullptr)
|
|
{
|
|
LtsWidgets::Splash::getInstance()->show();
|
|
|
|
QString message(QStringLiteral("Starting local server ..."));
|
|
|
|
if (lang == QStringLiteral("de_DE"))
|
|
message = QStringLiteral("Lokaler Server wird gestartet ...");
|
|
|
|
LtsWidgets::Splash::getInstance()->setMessage(message);
|
|
}
|
|
|
|
|
|
Splash::~Splash()
|
|
{
|
|
LtsWidgets::Splash::getInstance()->done();
|
|
}
|