Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+35
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* @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();
|
||||
}
|
||||
Reference in new issue
Block a user