Hi, I'm trying to figure out how to use the DCOP interface. The KDE C++
examples make use of << and >>, but how to do it with python? Is there a work
around for this?
The example I'm working from has a part like so:
void MainWindow::bookLocation()
{
DCOPClient *client=kapp->dcopClient();
QByteArray params;
QDataStream stream(params, IO_WriteOnly);
stream << location->text();
if (!client->send("p6-*", "bookmarkList", "add(QString)", params))
kdDebug() << "Error with DCOP\n";
}
How would I do that with python? Thanks for any help.
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde