2019-10-07 15:30:28 +00:00
|
|
|
#ifndef MYX_LOG_QT_TRANSLATORS_HPP_
|
|
|
|
#define MYX_LOG_QT_TRANSLATORS_HPP_
|
|
|
|
|
2019-10-08 20:58:42 +00:00
|
|
|
#include <myx/qt/backports.hpp>
|
|
|
|
|
2019-10-07 15:30:28 +00:00
|
|
|
#include <QTranslator>
|
|
|
|
|
|
|
|
namespace myx {
|
|
|
|
|
|
|
|
namespace qt {
|
|
|
|
|
2020-04-21 07:59:42 +00:00
|
|
|
using QTranslatorsList = QList< QTranslator* >;
|
2019-10-07 15:30:28 +00:00
|
|
|
|
2020-04-21 07:41:43 +00:00
|
|
|
void append_translators( QTranslatorsList& translators, const QString& appName ); // NOLINT
|
2019-10-07 15:30:28 +00:00
|
|
|
|
|
|
|
} // namespace qt
|
|
|
|
|
|
|
|
} // namespace myx
|
|
|
|
|
2020-04-22 07:17:37 +00:00
|
|
|
#ifdef MYXLIB_HEADER_ONLY
|
|
|
|
#include "translators-inl.hpp"
|
|
|
|
#endif
|
|
|
|
|
2019-10-07 15:30:28 +00:00
|
|
|
#endif // ifndef MYX_LOG_QT_TRANSLATORS_HPP_
|