Exemplo n.º 1
0
/**
  * Returns the attribute's class for the given plugin if found, an empty QString else.
  */
QString Filter::getAttributeClass(QString plugin, QString name) {
    for (QVector<PluginInterface *>::iterator i = m_plugins.begin(); i != m_plugins.end(); i++) {
        PluginInterface *fiP = *i;
        if (fiP->getName() == plugin)
            return fiP->getAttributeClassName(name);
    }

    return "";
}