aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/i18n/mlocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/i18n/mlocale.h')
-rw-r--r--src/corelib/i18n/mlocale.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/corelib/i18n/mlocale.h b/src/corelib/i18n/mlocale.h
index f196c1f4..aa4ab3f6 100644
--- a/src/corelib/i18n/mlocale.h
+++ b/src/corelib/i18n/mlocale.h
@@ -1491,6 +1491,8 @@ public:
* QString translatedString = qtTrId("hello_msg");
* \endcode
*
+ * \sa isInstalledTrCatalog(const QString &name)
+ * \sa removeTrCatalog(const QString &name)
* \sa setDefault(const MLocale &locale)
* \sa translationPaths()
* \sa setTranslationPaths(const QStringList &paths)
@@ -1505,10 +1507,25 @@ public:
*
* Removes the catalog from the list of translation catalogs used by this
* MLocale.
+ *
+ * \sa isInstalledTrCatalog(const QString &name)
+ * \sa installTrCatalog(const QString &name)
*/
void removeTrCatalog(const QString &name);
/*!
+ * \brief checks whether a translation catalog is installed nor not
+ * \param name of the translation catalog to check
+ *
+ * returns true if such a translation catalog has been installed
+ * already, false if not.
+ *
+ * \sa installTrCatalog(const QString &name)
+ * \sa removeTrCatalog(const QString &name)
+ */
+ bool isInstalledTrCatalog(const QString &name) const;
+
+ /*!
* \brief tr() compatibility translation method.
* \param context context of the translation
* \param sourceText text to translate