6#ifndef KLOCALIZEDTRANSLATOR_H
7#define KLOCALIZEDTRANSLATOR_H
9#include <ki18n_export.h>
15class KLocalizedTranslatorPrivate;
61 QString translate(
const char *context,
const char *sourceText,
const char *disambiguation =
nullptr,
int n = -1)
const override;
95 std::unique_ptr<KLocalizedTranslatorPrivate>
const d;
A QTranslator using KLocalizedString for translations.
Definition klocalizedtranslator.h:56
void addContextToMonitor(const QString &context)
Adds a context for which this Translator should be active.
void setTranslationDomain(const QString &translationDomain)
Sets the translationDomain to be used.
void removeContextToMonitor(const QString &context)
Stop translating for the given context.