From: Konrad Rosenbaum Date: Sat, 9 Mar 2013 13:45:19 +0000 (+0100) Subject: fix minor woc generator bug X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=4ccb7a2b5d235d5dadf502a82990fb77a467db78;p=web%2Fkonrad%2Fpack.git fix minor woc generator bug --- diff --git a/woc/qt/qtout.cpp b/woc/qt/qtout.cpp index cbd0d30..c7f95cc 100644 --- a/woc/qt/qtout.cpp +++ b/woc/qt/qtout.cpp @@ -66,7 +66,7 @@ WocQtOut::WocQtOut(QDomElement&el) m_iface.write(QByteArray("#include \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"));