[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kde4/kdeaddons/konq-plugins/khtmlsettingsplugin
From: Laurent Montel <montel () kde ! org>
Date: 2005-07-19 16:06:41
Message-ID: 1121789201.899801.22654.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 436370 by mlaurent:
Fix qdatastream versioning
M +9 -0 settingsplugin.cpp
--- branches/work/kde4/kdeaddons/konq-plugins/khtmlsettingsplugin/settingsplugin.cpp \
#436369:436370 @@ -191,6 +191,9 @@
QByteArray replyData;
QDataStream stream( &data, IO_WriteOnly );
+
+
+ stream.setVersion(QDataStream::Qt_3_1);
stream << part->url().url() << advice;
bool ok = kapp->dcopClient()->call( "kded", "kcookiejar",
"setDomainAdvice(QString,QString)",
@@ -227,6 +230,8 @@
QByteArray data, reply;
DCOPCString replyType;
QDataStream stream( &data, IO_WriteOnly );
+
+ stream.setVersion(QDataStream::Qt_3_1);
stream << url;
kapp->dcopClient()->call( "kcookiejar", "kcookiejar", \
"getDomainAdvice(QString)", data, replyType, reply, true );
@@ -236,6 +241,8 @@
{
QString advice;
QDataStream s( &reply, IO_ReadOnly );
+
+ s.setVersion(QDataStream::Qt_3_1);
s >> advice;
enabled = ( advice == "Accept" );
if ( !enabled && advice == "Dunno" ) {
@@ -318,6 +325,8 @@
QByteArray data;
QDataStream stream( &data, IO_WriteOnly );
+ stream.setVersion(QDataStream::Qt_3_1);
+
DCOPClient* client = kapp->dcopClient();
if ( !client->isAttached() )
client->attach();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic