[Kde-bindings] branches/KDE/4.2/kdebindings/csharp/qyoto/core
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Wed Mar 25 11:25:51 UTC 2009
SVN commit 944264 by rdale:
* QVariantExtras.cs wasn't compiling as a ToHash() method was missing, so
promote the version of QVariant.cs in the trunk to the release branch.
Thanks to 'int' on irc for pointing out the problem
CCMAIL: kde-bindings at kde.org
M +5 -23 QVariant.cs
--- branches/KDE/4.2/kdebindings/csharp/qyoto/core/QVariant.cs #944263:944264
@@ -7,28 +7,6 @@
protected SmokeInvocation interceptor = null;
private IntPtr smokeObject;
protected QVariant(Type dummy) {}
- [SmokeClass("QVariant::PrivateShared")]
- public class PrivateShared : Object {
- protected SmokeInvocation interceptor = null;
- private IntPtr smokeObject;
- protected PrivateShared(Type dummy) {}
- // PrivateShared(); >>>> NOT CONVERTED
- // PrivateShared(void* arg1); >>>> NOT CONVERTED
- }
- [SmokeClass("QVariant::Private")]
- public class Private : Object {
- protected SmokeInvocation interceptor = null;
- private IntPtr smokeObject;
- protected Private(Type dummy) {}
- // Private(); >>>> NOT CONVERTED
- // Private(); >>>> NOT CONVERTED
- }
- [SmokeClass("QVariant::Handler")]
- public class Handler : Object {
- protected SmokeInvocation interceptor = null;
- private IntPtr smokeObject;
- protected Handler(Type dummy) {}
- }
protected void CreateProxy() {
interceptor = new SmokeInvocation(typeof(QVariant), this);
}
@@ -65,7 +43,8 @@
Point = 25,
PointF = 26,
RegExp = 27,
- LastCoreType = RegExp,
+ Hash = 28,
+ LastCoreType = Hash,
Font = 64,
Pixmap = 65,
Brush = 66,
@@ -336,6 +315,9 @@
public Dictionary<string, QVariant> ToMap() {
return (Dictionary<string, QVariant>) interceptor.Invoke("toMap", "toMap() const", typeof(Dictionary<string, QVariant>));
}
+ public Dictionary<string, QVariant> ToHash() {
+ return (Dictionary<string, QVariant>) interceptor.Invoke("toHash", "toHash() const", typeof(Dictionary<string, QVariant>));
+ }
public QPoint ToPoint() {
return (QPoint) interceptor.Invoke("toPoint", "toPoint() const", typeof(QPoint));
}
More information about the Kde-bindings
mailing list