[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Fwd: PATCH: dcop and KURL
From: Michael =?iso-8859-1?q?H=E4ckel?= <Michael () Haeckel ! Net>
Date: 2000-11-20 22:33:19
[Download RAW message or body]
Hi,
can this change go into kdelibs?
Regards,
Michael Häckel
---------- Forwarded Message ----------
Subject: PATCH: dcop and KURL
Date: Mon, 20 Nov 2000 22:25:13 +0000
From: Daniel Andor <da209@cam.ac.uk>
To: kmail@max.tat.physik.uni-tuebingen.de
Very simple patch to the dcop client so that I could try your patch from the
command line. Seems to work nicely here.
--
Daniel
"We are sorry, you have reached and imaginary number. Please rotate you phone
through 90 degrees and try again."
-------------------------------------------------------
["dcop_client.diff" (text/x-c)]
Index: Makefile.am
===================================================================
RCS file: /home/kde/kdelibs/dcop/client/Makefile.am,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1 Makefile.am
--- Makefile.am 2000/07/16 01:43:47 1.1
+++ Makefile.am 2000/11/20 22:21:12
@@ -9,6 +9,6 @@ bin_PROGRAMS = dcop
dcop_SOURCES = dcop.cpp
noinst_HEADERS =
-dcop_LDADD = $(LIB_QT) $(LIB_DCOP)
+dcop_LDADD = $(LIB_QT) $(LIB_DCOP) $(LIB_KDECORE)
dcop_LDFLAGS = $(KDE_RPATH)
Index: dcop.cpp
===================================================================
RCS file: /home/kde/kdelibs/dcop/client/dcop.cpp,v
retrieving revision 1.10
diff -u -3 -p -u -r1.10 dcop.cpp
--- dcop.cpp 2000/10/01 15:54:10 1.10
+++ dcop.cpp 2000/11/20 22:21:12
@@ -23,6 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE
#include <qvariant.h>
#include <qcolor.h>
#include "../../kdecore/kdatastream.h"
+#include "../../kdecore/kurl.h"
#include "../dcopclient.h"
#include "../dcopref.h"
#include <stdlib.h>
@@ -196,6 +197,8 @@ void callFunction( const char* app, cons
arg << s.toDouble();
else if ( type == "bool" )
arg << mkBool( s );
+ else if ( type == "KURL" )
+ arg << KURL( s );
else if ( type == "QString" )
arg << s;
else if ( type == "QCString" )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic