[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kresources/groupwise/soap
From: Laurent Montel <montel () kde ! org>
Date: 2005-10-28 7:40:20
Message-ID: 1130485220.149340.30203.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 475078 by mlaurent:
Fix some compile error
M +1 -1 groupwiseserver.cpp
M +1 -1 incidenceconverter.cpp
M +4 -2 ksslsocket.cpp
--- trunk/KDE/kdepim/kresources/groupwise/soap/groupwiseserver.cpp #475077:475078
@@ -289,7 +289,7 @@
ngwt__PlainText pt;
- pt.username = mUser.utf8();
+ pt.username = mUser.toUtf8().data();
pt.password = conv.qStringToString( mPassword );
loginReq.auth = &pt;
mSoap->userid = strdup( mUser.utf8() );
--- trunk/KDE/kdepim/kresources/groupwise/soap/incidenceconverter.cpp #475077:475078
@@ -350,7 +350,7 @@
std::vector<ngwt__ContainerRef*>* container = \
soap_new_std__vectorTemplateOfPointerTongwt__ContainerRef( soap(), -1 \
);
ngwt__ContainerRef* containerRef = soap_new_ngwt__ContainerRef( soap(), -1 );
containerRef->deleted = 0;
- containerRef->__item = incidence->customProperty( "GWRESOURCE", "CONTAINER" \
).utf8(); + containerRef->__item = incidence->customProperty( "GWRESOURCE", \
"CONTAINER" ).toUtf8().data()/*.utf8()*/; container->push_back( containerRef );
item->container = *container;
--- trunk/KDE/kdepim/kresources/groupwise/soap/ksslsocket.cpp #475077:475078
@@ -178,7 +178,8 @@
kdDebug(0) << "messageBox " << type << " " << text << " - " << caption << buttonYes \
<< buttonNo << endl; QByteArray data, result;
Q3CString returnType;
- QDataStream arg(data, QIODevice::WriteOnly);
+ QDataStream arg( &data,QIODevice::WriteOnly);
+ arg.setVersion(QDataStream::Qt_3_1);
arg << (int)1 << (int)type << text << caption << buttonYes << buttonNo;
if ( ! d->dcc ){
@@ -196,7 +197,8 @@
if( returnType == "int" )
{
int res;
- QDataStream r(result, QIODevice::ReadOnly);
+ QDataStream r( &result,QIODevice::ReadOnly);
+ r.setVersion(QDataStream::Qt_3_1);
r >> res;
return res;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic