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

DictPlugin* QStarDict::DictCore::plugin ( const QString &  plugin  )  [inline]

Returns pointer to plugin instance or 0 if not loaded.

Definition at line 147 of file dictcore.h.

Referenced by availableDicts(), findSimilarWords(), reloadDicts(), setLoadedDicts(), setLoadedPlugins(), and translate().

        { return m_plugins.contains(plugin) ? qobject_cast<DictPlugin*>(m_plugins[plugin]->instance()) : 0; }

Generated by  Doxygen 1.6.0   Back to index