[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/dropin/kio
From:       Eva Brucherseifer <eva () kde ! org>
Date:       2006-03-24 15:06:13
Message-ID: 1143212773.905630.10213.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 522130 by eva:

- recreate DCOP skeleton files
We actually should somehow automate this, or at least add a readme.
Those files were unchanged since 2003 and of course a lot changed since
then.


 M  +16 -2     authcache_skel.cpp  
 M  +9 -2      uiserver_skel.cpp  


--- trunk/kdenox/konq-embed/dropin/kio/authcache_skel.cpp #522129:522130
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** DCOP Skeleton created by dcopidl2cpp from authcache.kidl
+** DCOP Skeleton generated by dcopidl2cpp from authcache.idl
 **
 ** WARNING! All changes made in this file will be lost!
 **
@@ -17,6 +17,11 @@
     { "void", "wipeAuthCache()", "wipeAuthCache()" },
     { 0, 0, 0 }
 };
+static const int KAuthCacheServer_ftable_hiddens[3] = {
+    0,
+    0,
+    0,
+};
 
 bool KAuthCacheServer::process(const QCString &fun, const QByteArray &data, \
QCString& replyType, QByteArray &replyData)  {
@@ -27,10 +32,15 @@
 	QString arg3;
 	QString arg4;
 	QDataStream arg( data, IO_ReadOnly );
+	if (arg.atEnd()) return false;
 	arg >> arg0;
+	if (arg.atEnd()) return false;
 	arg >> arg1;
+	if (arg.atEnd()) return false;
 	arg >> arg2;
+	if (arg.atEnd()) return false;
 	arg >> arg3;
+	if (arg.atEnd()) return false;
 	arg >> arg4;
 	replyType = KAuthCacheServer_ftable[0][0]; 
 	storeAuthCache(arg0, arg1, arg2, arg3, arg4 );
@@ -38,7 +48,9 @@
 	QString arg0;
 	QString arg1;
 	QDataStream arg( data, IO_ReadOnly );
+	if (arg.atEnd()) return false;
 	arg >> arg0;
+	if (arg.atEnd()) return false;
 	arg >> arg1;
 	replyType = KAuthCacheServer_ftable[1][0]; 
 	QDataStream _replyStream( replyData, IO_WriteOnly );
@@ -49,7 +61,7 @@
     } else {
 	return DCOPObject::process( fun, data, replyType, replyData );
     }
-    return TRUE;
+    return true;
 }
 
 QCStringList KAuthCacheServer::interfaces()
@@ -63,6 +75,8 @@
 {
     QCStringList funcs = DCOPObject::functions();
     for ( int i = 0; KAuthCacheServer_ftable[i][2]; i++ ) {
+	if (KAuthCacheServer_ftable_hiddens[i])
+	    continue;
 	QCString func = KAuthCacheServer_ftable[i][0];
 	func += ' ';
 	func += KAuthCacheServer_ftable[i][2];
--- trunk/kdenox/konq-embed/dropin/kio/uiserver_skel.cpp #522129:522130
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** DCOP Skeleton created by dcopidl2cpp from uiserver.kidl
+** DCOP Skeleton generated by dcopidl2cpp from uiserver.idl
 **
 ** WARNING! All changes made in this file will be lost!
 **
@@ -15,6 +15,9 @@
     { "void", "showSSLInfoDialog(QString,KIO::MetaData)", "showSSLInfoDialog(QString \
url,KIO::MetaData data)" },  { 0, 0, 0 }
 };
+static const int UIServer_ftable_hiddens[1] = {
+    0,
+};
 
 bool UIServer::process(const QCString &fun, const QByteArray &data, QCString& \
replyType, QByteArray &replyData)  {
@@ -22,14 +25,16 @@
 	QString arg0;
 	KIO::MetaData arg1;
 	QDataStream arg( data, IO_ReadOnly );
+	if (arg.atEnd()) return false;
 	arg >> arg0;
+	if (arg.atEnd()) return false;
 	arg >> arg1;
 	replyType = UIServer_ftable[0][0]; 
 	showSSLInfoDialog(arg0, arg1 );
     } else {
 	return DCOPObject::process( fun, data, replyType, replyData );
     }
-    return TRUE;
+    return true;
 }
 
 QCStringList UIServer::interfaces()
@@ -43,6 +48,8 @@
 {
     QCStringList funcs = DCOPObject::functions();
     for ( int i = 0; UIServer_ftable[i][2]; i++ ) {
+	if (UIServer_ftable_hiddens[i])
+	    continue;
 	QCString func = UIServer_ftable[i][0];
 	func += ' ';
 	func += UIServer_ftable[i][2];


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic