diff generator/cppimplgenerator.cpp @ 148:ae34188ddd84

private signals of QAbstractItemModel are now accessible
author eldar
date Sat, 13 Jun 2009 14:05:32 +0000
parents a860544c5ee8
children ae06da58ec25
line wrap: on
line diff
--- a/generator/cppimplgenerator.cpp	Fri Jun 12 22:21:33 2009 +0000
+++ b/generator/cppimplgenerator.cpp	Sat Jun 13 14:05:32 2009 +0000
@@ -747,8 +747,7 @@
                 s << "typedef " << return_type << " " << "(*pf" << f_name << ")";
                 writeVirtualDispatchArguments(s, function, false);
                 s << ";" << endl
-                  << "pf" << function->marshalledName() << "_dispatch "
-                  << function->marshalledName() << "_dispatch;";
+                  << "pf" << f_name << " " << f_name << ";";
             }
 
             s << endl;