[Kde-bindings] KDE/kdebindings/ruby/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Mar 3 15:00:31 UTC 2008


SVN commit 781701 by rdale:

* Added some marshallers for new Qt 4.4 QList types

CCMAIL: kde-bindings at kde.org



 M  +4 -0      ChangeLog  
 M  +8 -0      src/handlers.cpp  


--- trunk/KDE/kdebindings/ruby/qtruby/ChangeLog #781700:781701
@@ -1,3 +1,7 @@
+2008-03-03  Richard Dale  <richard.j.dale at gmail.com>
+
+	* Added some marshallers for new Qt 4.4 QList types
+
 2008-03-02  Richard Dale  <rdale at foton.es>
 
 	* The QModelIndex::internalPointer() method was returning nil, as
--- trunk/KDE/kdebindings/ruby/qtruby/src/handlers.cpp #781700:781701
@@ -57,8 +57,10 @@
 #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"
@@ -2281,6 +2283,8 @@
 #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
 
@@ -2433,12 +2437,16 @@
     { "QList<QSslCertificate>&", marshall_QSslCertificateList },
     { "QList<QSslCipher>", marshall_QSslCipherList },
     { "QList<QSslCipher>&", marshall_QSslCipherList },
+    { "QList<QSslError>", marshall_QSslErrorList },
     { "QList<QSslError>&", marshall_QSslErrorList },
     { "QXmlStreamEntityDeclarations", marshall_QXmlStreamEntityDeclarations },
     { "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



More information about the Kde-bindings mailing list