mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:18:24 +02:00
fix headers
This commit is contained in:
parent
ea10dc176a
commit
543a721a11
1 changed files with 9 additions and 11 deletions
|
@ -8,16 +8,18 @@
|
||||||
// Distributed under the Apache License, Version 2.0.
|
// Distributed under the Apache License, Version 2.0.
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include "AboutUtil.h"
|
||||||
#include <QDate>
|
#include <QDate>
|
||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
|
|
||||||
#include "AboutUtil.h"
|
|
||||||
#include "BuildInfo.h"
|
|
||||||
#include <ui/TabletScriptingInterface.h>
|
#include <ui/TabletScriptingInterface.h>
|
||||||
|
#include <OffscreenQmlDialog.h>
|
||||||
|
|
||||||
|
#include "BuildInfo.h"
|
||||||
#include "DependencyManager.h"
|
#include "DependencyManager.h"
|
||||||
#include "scripting/HMDScriptingInterface.h"
|
#include "scripting/HMDScriptingInterface.h"
|
||||||
#include "Application.h"
|
#include "Application.h"
|
||||||
#include <OffscreenQmlDialog.h>
|
|
||||||
|
|
||||||
AboutUtil::AboutUtil(QObject *parent) : QObject(parent) {
|
AboutUtil::AboutUtil(QObject *parent) : QObject(parent) {
|
||||||
QLocale locale;
|
QLocale locale;
|
||||||
|
@ -25,24 +27,20 @@ AboutUtil::AboutUtil(QObject *parent) : QObject(parent) {
|
||||||
toString(locale.dateFormat(QLocale::ShortFormat));
|
toString(locale.dateFormat(QLocale::ShortFormat));
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutUtil *AboutUtil::getInstance()
|
AboutUtil *AboutUtil::getInstance() {
|
||||||
{
|
|
||||||
static AboutUtil instance;
|
static AboutUtil instance;
|
||||||
return &instance;
|
return &instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AboutUtil::getBuildDate() const
|
QString AboutUtil::getBuildDate() const {
|
||||||
{
|
|
||||||
return _dateConverted;
|
return _dateConverted;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AboutUtil::getBuildVersion() const
|
QString AboutUtil::getBuildVersion() const {
|
||||||
{
|
|
||||||
return BuildInfo::VERSION;
|
return BuildInfo::VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AboutUtil::getQtVersion() const
|
QString AboutUtil::getQtVersion() const {
|
||||||
{
|
|
||||||
return qVersion();
|
return qVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue