m_iface.write(QByteArray("#include <QStringList>\n"));
m_iface.write(exportLines());
if(m_genscript)
- m_iface.write(QByteArray("class ")+exportSymbol().toLatin1()+QByteArray(" QScriptEngine();\n"));
+ m_iface.write(QByteArray("class QScriptEngine;\n"));
addIfaceHeaderClass(doxyFormat(pn+" interface class."));
addIfaceHeaderClass(QString("class "+exportSymbol()+" "+ifaceClassName()+":public WInterface\n{\n Q_OBJECT\n"));
addIfaceHeaderClass(QString(" public:\n "+ifaceClassName()+"(QString name=\""+pn+"\"):WInterface(name){}\n"));