7#ifndef TRANSLATIONCONTEXT_H
8#define TRANSLATIONCONTEXT_H
12#include <qqmlregistration.h>
14class TranslationContext :
public QObject
18 Q_PROPERTY(QString domain READ domain WRITE setDomain NOTIFY domainChanged)
22 ~TranslationContext()
override;
24 QString domain()
const;
27 void setDomain(
const QString &domain);
30 void domainChanged(
const QString &domain);
34 const QString ¶m1 = QString(),
35 const QString ¶m2 = QString(),
36 const QString ¶m3 = QString(),
37 const QString ¶m4 = QString(),
38 const QString ¶m5 = QString(),
39 const QString ¶m6 = QString(),
40 const QString ¶m7 = QString(),
41 const QString ¶m8 = QString(),
42 const QString ¶m9 = QString(),
43 const QString ¶m10 = QString())
const;
46 const QString &message,
47 const QString ¶m1 = QString(),
48 const QString ¶m2 = QString(),
49 const QString ¶m3 = QString(),
50 const QString ¶m4 = QString(),
51 const QString ¶m5 = QString(),
52 const QString ¶m6 = QString(),
53 const QString ¶m7 = QString(),
54 const QString ¶m8 = QString(),
55 const QString ¶m9 = QString(),
56 const QString ¶m10 = QString())
const;
59 const QString &plural,
60 const QString ¶m1 = QString(),
61 const QString ¶m2 = QString(),
62 const QString ¶m3 = QString(),
63 const QString ¶m4 = QString(),
64 const QString ¶m5 = QString(),
65 const QString ¶m6 = QString(),
66 const QString ¶m7 = QString(),
67 const QString ¶m8 = QString(),
68 const QString ¶m9 = QString(),
69 const QString ¶m10 = QString())
const;
72 const QString &singular,
73 const QString &plural,
74 const QString ¶m1 = QString(),
75 const QString ¶m2 = QString(),
76 const QString ¶m3 = QString(),
77 const QString ¶m4 = QString(),
78 const QString ¶m5 = QString(),
79 const QString ¶m6 = QString(),
80 const QString ¶m7 = QString(),
81 const QString ¶m8 = QString(),
82 const QString ¶m9 = QString(),
83 const QString ¶m10 = QString())
const;
86 Q_DISABLE_COPY(TranslationContext)
QObject * parent() const const