[Kde-bindings] KDE/kdebindings/csharp/qyoto
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon Mar 3 14:56:12 UTC 2008
SVN commit 781700 by rdale:
* Added some marshallers for new Qt 4.4 QList types
CCMAIL: kde-bindings at kde.org
M +1 -0 ChangeLog
M +25 -0 src/handlers.cpp
--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #781699:781700
@@ -1,6 +1,7 @@
2008-03-03 Richard Dale <richard.j.dale at gmail.com>
* Added some more Qt 4.4 classes
+ * Added some marshallers for new Qt 4.4 QList types
2008-02-25 Richard Dale <richard.j.dale at gmail.com>
--- trunk/KDE/kdebindings/csharp/qyoto/src/handlers.cpp #781699:781700
@@ -58,6 +58,13 @@
#include <QtXml/qxmlstream.h>
#endif
+#if QT_VERSION >= 0x040400
+#include <QtGui/qprinterinfo.h>
+#include <QtWebKit/qwebframe.h>
+#include <QtWebKit/qwebhistory.h>
+#include <QtNetwork/qnetworkcookie.h>
+#endif
+
#include "smoke.h"
#undef DEBUG
@@ -1583,6 +1590,10 @@
DEF_LIST_MARSHALLER( QMdiSubWindowList, QList<QMdiSubWindow*>, QMdiSubWindow )
#endif
+#if QT_VERSION >= 0x40400
+DEF_LIST_MARSHALLER( QWebFrameList, QList<QWebFrame*>, QWebFrame )
+#endif
+
template <class Item, class ItemList, const char *ItemSTR >
void marshall_ValueListItem(Marshall *m) {
switch(m->action()) {
@@ -1756,6 +1767,12 @@
DEF_VALUELIST_MARSHALLER( QXmlStreamNotationDeclarations, QVector<QXmlStreamNotationDeclaration>, QXmlStreamNotationDeclaration )
#endif
+#if QT_VERSION >= 0x40400
+DEF_VALUELIST_MARSHALLER( QNetworkCookieList, QList<QNetworkCookie>, QNetworkCookie )
+DEF_VALUELIST_MARSHALLER( QPrinterInfoList, QList<QPrinterInfo>, QPrinterInfo )
+DEF_VALUELIST_MARSHALLER( QWebHistoryItemList, QList<QWebHistoryItem>, QWebHistoryItem )
+#endif
+
TypeHandler Qt_handlers[] = {
{ "bool*", marshall_boolR },
{ "bool&", marshall_boolR },
@@ -1871,6 +1888,7 @@
{ "QList<QSslCertificate>&", marshall_QSslCertificateList },
{ "QList<QSslCipher>", marshall_QSslCipherList },
{ "QList<QSslCipher>&", marshall_QSslCipherList },
+ { "QList<QSslError>", marshall_QSslErrorList },
{ "QList<QSslError>&", marshall_QSslErrorList },
{ "QList<QWizard::WizardButton>", marshall_QListWizardButton },
{ "QList<QWizard::WizardButton>&", marshall_QListWizardButton },
@@ -1878,6 +1896,13 @@
{ "QXmlStreamNamespaceDeclarations", marshall_QXmlStreamNamespaceDeclarations },
{ "QXmlStreamNotationDeclarations", marshall_QXmlStreamNotationDeclarations },
#endif
+#if QT_VERSION >= 0x040400
+ { "QList<QNetworkCookie>", marshall_QNetworkCookieList },
+ { "QList<QNetworkCookie>&", marshall_QNetworkCookieList },
+ { "QList<QPrinterInfo>", marshall_QPrinterInfoList },
+ { "QList<QWebFrame*>", marshall_QWebFrameList },
+ { "QList<QWebHistoryItem>", marshall_QWebHistoryItemList },
+#endif
{ 0, 0 }
};
More information about the Kde-bindings
mailing list