[Kde-bindings] KDE/kdebindings/csharp/qyoto
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Fri Jun 20 11:03:42 UTC 2008
SVN commit 822476 by rdale:
* Call QMetaObject.NormalizedSignature() on the Q_SLOT and Q_SIGNAL
strings when creating a QMetaObject with them, otherwise space and
other things will be significant.
CCMAIL: kde-bindings at kde.org
M +6 -0 ChangeLog
M +3 -0 src/Qyoto.cs
--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #822475:822476
@@ -1,3 +1,9 @@
+2008-06-20 Richard Dale <richard.j.dale at gmail.com>
+
+ * Call QMetaObject.NormalizedSignature() on the Q_SLOT and Q_SIGNAL
+ strings when creating a QMetaObject with them, otherwise space and
+ other things will be significant.
+
2008-06-19 Richard Dale <richard.j.dale at gmail.com>
* If SmokeMarshallers.CreateInstance() couldn't find a C# class with
--- trunk/KDE/kdebindings/csharp/qyoto/src/Qyoto.cs #822475:822476
@@ -278,6 +278,8 @@
string sig = attr.Signature;
if (sig == "")
sig = SignatureFromMethodInfo(mi);
+
+ sig = QMetaObject.NormalizedSignature(sig).Data();
GetCPPMethodInfo(sig, out cppinfo.signature, out cppinfo.type);
cppinfo.mi = mi;
@@ -333,6 +335,7 @@
string sig = attr.Signature;
if (sig == "")
sig = SignatureFromMethodInfo(mi).Trim();
+ sig = QMetaObject.NormalizedSignature(sig).Data();
GetCPPMethodInfo(sig, out cppinfo.signature, out cppinfo.type);
cppinfo.mi = mi;
More information about the Kde-bindings
mailing list