[Kde-bindings] KDE/kdebindings
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue May 6 18:01:16 UTC 2008
SVN commit 804653 by rdale:
* Add QVariantMap& as a type
CCMAIL: kde-bindings at kde.org
M +3 -1 csharp/qyoto/core/Qt.cs
M +2 -0 csharp/qyoto/src/handlers.cpp
M +1 -0 kalyptus/kalyptusCxxToKimono.pm
--- trunk/KDE/kdebindings/csharp/qyoto/core/Qt.cs #804652:804653
@@ -947,7 +947,6 @@
WhiteSpaceNoWrap = 2,
WhiteSpaceModeUndefined = -1,
}
- // QDBusArgument& operator<<(QDBusArgument& arg1,const QVariantMap& arg2); >>>> NOT CONVERTED
// QtMsgHandler qInstallMsgHandler(QtMsgHandler arg1); >>>> NOT CONVERTED
// void* qMalloc(size_t arg1); >>>> NOT CONVERTED
// void qFree(void* arg1); >>>> NOT CONVERTED
@@ -1056,6 +1055,9 @@
public static QDBusArgument Write(QDBusArgument arg, List<QVariant> list) {
return (QDBusArgument) staticInterceptor.Invoke("operator<<#?", "operator<<(QDBusArgument&, const QVariantList&)", typeof(QDBusArgument), typeof(QDBusArgument), arg, typeof(List<QVariant>), list);
}
+ public static QDBusArgument Write(QDBusArgument arg, Dictionary<string, QVariant> map) {
+ return (QDBusArgument) staticInterceptor.Invoke("operator<<#?", "operator<<(QDBusArgument&, const QVariantMap&)", typeof(QDBusArgument), typeof(QDBusArgument), arg, typeof(Dictionary<string, QVariant>), map);
+ }
public static QTextStream Write(QTextStream arg1, QDomNode arg2) {
return (QTextStream) staticInterceptor.Invoke("operator<<##", "operator<<(QTextStream&, const QDomNode&)", typeof(QTextStream), typeof(QTextStream), arg1, typeof(QDomNode), arg2);
}
--- trunk/KDE/kdebindings/csharp/qyoto/src/handlers.cpp #804652:804653
@@ -1834,6 +1834,8 @@
{ "QMap<QString,QString>&", marshall_QMapQStringQString },
{ "QMap<QString,QVariant>", marshall_QMapQStringQVariant },
{ "QMap<QString,QVariant>&", marshall_QMapQStringQVariant },
+ { "QVariantMap", marshall_QMapQStringQVariant },
+ { "QVariantMap&", marshall_QMapQStringQVariant },
{ "QModelIndexList", marshall_QModelIndexList },
{ "QModelIndexList&", marshall_QModelIndexList },
{ "QObjectList", marshall_QObjectList },
--- trunk/KDE/kdebindings/kalyptus/kalyptusCxxToKimono.pm #804652:804653
@@ -243,6 +243,7 @@
'QMap<QString, QString>&' => 'Dictionary<string, string>',
'QMap<QString, QVariant>' => 'Dictionary<string, QVariant>',
'QMap<QString, QVariant>&' => 'Dictionary<string, QVariant>',
+ 'QVariantMap&' => 'Dictionary<string, QVariant>',
'QMap<QString, QVariant::Type>' => 'Dictionary<string, QVariant.TypeOf>',
'Plasma::DataEngine::Data' => 'Dictionary<string, QVariant>',
'Plasma::DataEngine::Data&' => 'Dictionary<string, QVariant>',
More information about the Kde-bindings
mailing list