-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
}
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-
-/*!
- \brief Returns the translation for the key.
- \param context message context
- \param sourceText message source name
- \param disambiguation message comment (optional)
- \return Translated text if found or \a sourceText otherwise
-*/
-QString QtxTranslator::translate( const char* context, const char* sourceText, const char* disambiguation ) const
-{
- QString res = QTranslator::translate( context, sourceText, disambiguation );
- if ( res.isNull() )
- res = QTranslator::translate( GLOBAL_CONTEXT, sourceText, disambiguation );
- return res;
-}
-
-#else
-
/*!
\brief Returns the translation for the key.
\param context message context
return res;
}
-#endif // QT_VERSION < QT_VERSION_CHECK(5, 0, 0)