[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/dbus-qt4-qt3backport/tools/dbusxml2qt3
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2007-01-31 13:07:26
Message-ID: 1170248846.546800.32681.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 628790 by krake:

Fixed forward declaration generations for the generic QDBusDataMap cases


 M  +2 -2      methodgen.cpp  


--- branches/work/dbus-qt4-qt3backport/tools/dbusxml2qt3/methodgen.cpp #628789:628790
@@ -141,7 +141,7 @@
                     argument.signature = "QDBusDataMap<" + key.signature + ">";
                     argument.accessor = key.accessor + "KeyMap";
 
-                    argument.forwardDeclarations.append("template <typename K, typename V> class QMap");
+                    argument.forwardDeclarations.append("template <typename K> class QDBusDataMap");
                     argument.forwardDeclarations += key.forwardDeclarations;
 
                     argument.sourceIncludes = key.sourceIncludes;
@@ -181,7 +181,7 @@
                 argument.signature = "QDBusDataMap<" + key.signature + ">";
                 argument.accessor = key.accessor + "KeyMap";
 
-                argument.forwardDeclarations.append("template <typename K, typename V> class QMap");
+                argument.forwardDeclarations.append("template <typename K> class QDBusDataMap");
                 argument.forwardDeclarations += key.forwardDeclarations;
 
                 argument.sourceIncludes = key.sourceIncludes;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic