Changeset View
Changeset View
Standalone View
Standalone View
kaddressbookgrantlee/src/formatter/grantleecontactformatter.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
56 | Q_REQUIRED_RESULT bool forceDisableQRCode() const; | 56 | Q_REQUIRED_RESULT bool forceDisableQRCode() const; | ||
57 | 57 | | |||
58 | /** | 58 | /** | ||
59 | * Returns the contact formatted as HTML | 59 | * Returns the contact formatted as HTML | ||
60 | */ | 60 | */ | ||
61 | Q_REQUIRED_RESULT QString toHtml(HtmlForm form = SelfcontainedForm) const override; | 61 | Q_REQUIRED_RESULT QString toHtml(HtmlForm form = SelfcontainedForm) const override; | ||
62 | 62 | | |||
63 | void setShowQRCode(bool b); | 63 | void setShowQRCode(bool b); | ||
64 | | ||||
65 | /** Translation domain for the Grantlee localizer. */ | ||||
66 | void setApplicationDomain(const QByteArray &domain); | ||||
67 | | ||||
64 | private: | 68 | private: | ||
65 | //@cond PRIVATE | 69 | //@cond PRIVATE | ||
66 | class Private; | 70 | class Private; | ||
67 | Private *const d; | 71 | Private *const d; | ||
68 | //@endcond | 72 | //@endcond | ||
69 | }; | 73 | }; | ||
70 | } | 74 | } | ||
71 | 75 | | |||
72 | #endif | 76 | #endif |