src/hbcore/i18n/hbtranslator.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 3 11d3954df52a
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    64 }
    64 }
    65 
    65 
    66 /*!
    66 /*!
    67     Searches translation file \a file from path \a path.
    67     Searches translation file \a file from path \a path.
    68     \code
    68     \code
    69     HbTranslator trans("/resource/qt/custom/", "customfile");
    69     HbTranslator trans = new HbTranslator("/resource/qt/custom/", "customfile");
    70     \endcode
    70     \endcode
    71 */
    71 */
    72 HbTranslator::HbTranslator(const QString &path, const QString &file): d(new HbTranslatorPrivate())
    72 HbTranslator::HbTranslator(const QString &path, const QString &file): d(new HbTranslatorPrivate())
    73 {
    73 {
    74     d->installTranslator(path, file);
    74     d->installTranslator(path, file);