Commit cc717260 authored by patrick pereira's avatar patrick pereira 🏃
Browse files

uicontroller: Use clang-format


Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 5560c9ff
......@@ -26,8 +26,8 @@
#include <QStandardPaths>
#include <QQmlContext>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#ifndef Q_OS_ANDROID
#include <KLocalizedContext>
......@@ -35,7 +35,6 @@
namespace Minuet
{
UiController::UiController(QObject *parent)
: IUiController(parent)
{
......@@ -67,4 +66,3 @@ QString UiController::errorString() const
}
}
......@@ -33,14 +33,38 @@ class DummyAndroidLocalizer : public QObject
Q_OBJECT
public:
explicit DummyAndroidLocalizer(QObject *parent = 0) : QObject(parent) { }
explicit DummyAndroidLocalizer(QObject *parent = 0)
: QObject(parent)
{
}
Q_INVOKABLE QString i18n (const QString &message, const QVariant &p1=QVariant(), const QVariant &p2=QVariant(), const QVariant &p3=QVariant(), const QVariant &p4=QVariant(), const QVariant &p5=QVariant(), const QVariant &p6=QVariant(), const QVariant &p7=QVariant(), const QVariant &p8=QVariant(), const QVariant &p9=QVariant(), const QVariant &p10=QVariant()) const
Q_INVOKABLE QString i18n(const QString &message,
const QVariant &p1 = QVariant(),
const QVariant &p2 = QVariant(),
const QVariant &p3 = QVariant(),
const QVariant &p4 = QVariant(),
const QVariant &p5 = QVariant(),
const QVariant &p6 = QVariant(),
const QVariant &p7 = QVariant(),
const QVariant &p8 = QVariant(),
const QVariant &p9 = QVariant(),
const QVariant &p10 = QVariant()) const
{
return message;
}
Q_INVOKABLE QString i18nc (const QString &context, const QString &message, const QVariant &p1=QVariant(), const QVariant &p2=QVariant(), const QVariant &p3=QVariant(), const QVariant &p4=QVariant(), const QVariant &p5=QVariant(), const QVariant &p6=QVariant(), const QVariant &p7=QVariant(), const QVariant &p8=QVariant(), const QVariant &p9=QVariant(), const QVariant &p10=QVariant()) const
Q_INVOKABLE QString i18nc(const QString &context,
const QString &message,
const QVariant &p1 = QVariant(),
const QVariant &p2 = QVariant(),
const QVariant &p3 = QVariant(),
const QVariant &p4 = QVariant(),
const QVariant &p5 = QVariant(),
const QVariant &p6 = QVariant(),
const QVariant &p7 = QVariant(),
const QVariant &p8 = QVariant(),
const QVariant &p9 = QVariant(),
const QVariant &p10 = QVariant()) const
{
return message;
}
......@@ -49,7 +73,6 @@ public:
namespace Minuet
{
class Core;
class UiController : public IUiController
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment