From a5a86d2c226ec81bf2bd7bbe9b92fd94fc54ff18 2009-05-28 14:18:24 From: florianlink Date: 2009-05-28 14:18:24 Subject: [PATCH] added support for more binary operators git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@111 ea8d5007-eb21-0410-b261-ccb3ea6e24a9 --- diff --git a/generator/abstractmetabuilder.cpp b/generator/abstractmetabuilder.cpp index 4d826cc..c41f398 100644 --- a/generator/abstractmetabuilder.cpp +++ b/generator/abstractmetabuilder.cpp @@ -544,7 +544,11 @@ bool AbstractMetaBuilder::build() } { - FunctionList stream_operators = m_dom->findFunctions("operator+") + m_dom->findFunctions("operator-") + m_dom->findFunctions("operator/") + m_dom->findFunctions("operator*"); + FunctionList stream_operators = + m_dom->findFunctions("operator+") + m_dom->findFunctions("operator-") + + m_dom->findFunctions("operator/") + m_dom->findFunctions("operator*") + + m_dom->findFunctions("operator&") + m_dom->findFunctions("operator|") + + m_dom->findFunctions("operator%") + m_dom->findFunctions("operator^"); foreach (FunctionModelItem item, stream_operators) { traverseBinaryArithmeticOperator(item); }