2018-06-16 14:03:31 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include "qPref_private.h"
|
|
|
|
#include "qPref.h"
|
2018-07-07 20:59:26 +00:00
|
|
|
#include "ssrf-version.h"
|
2018-06-16 14:03:31 +00:00
|
|
|
|
2018-06-16 08:08:34 +00:00
|
|
|
qPref::qPref(QObject *parent) :
|
|
|
|
QObject(parent)
|
|
|
|
{
|
|
|
|
}
|
2018-06-16 14:03:31 +00:00
|
|
|
qPref *qPref::instance()
|
|
|
|
{
|
2018-06-16 08:08:34 +00:00
|
|
|
static qPref *self = new qPref;
|
|
|
|
return self;
|
2018-06-16 14:03:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void qPref::loadSync(bool doSync)
|
|
|
|
{
|
|
|
|
}
|
2018-07-07 20:59:26 +00:00
|
|
|
|
|
|
|
const QString qPref::canonical_version() const
|
|
|
|
{
|
|
|
|
return QString(CANONICAL_VERSION_STRING);
|
|
|
|
}
|
|
|
|
|
|
|
|
const QString qPref::mobile_version() const
|
|
|
|
{
|
|
|
|
return QString(MOBILE_VERSION_STRING);
|
|
|
|
}
|