Logo Search packages:      
Sourcecode: qstardict version File versions  Download package

bool QStarDict::DictCore::isTranslatable ( const QString &  word  ) 

Returns true if word is exists in dictionaries, otherwise false.

Definition at line 50 of file dictcore.cpp.

Referenced by QStarDict::PopupWindow::showTranslation().

    for (QList<Dictionary>::const_iterator i = m_loadedDicts.begin(); i != m_loadedDicts.end(); ++i) 
        if (! m_plugins.contains(i->plugin()))
        if (qobject_cast<DictPlugin*>(m_plugins[i->plugin()]->instance())->isTranslatable(i->name(), word))
            return true;
    return false;

Generated by  Doxygen 1.6.0   Back to index