From 4ccb7a2b5d235d5dadf502a82990fb77a467db78 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sat, 9 Mar 2013 14:45:19 +0100 Subject: [PATCH] fix minor woc generator bug --- woc/qt/qtout.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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")); -- 1.7.2.5