"KLauncher" supports the following DCOP functions:

/**
 * Starts a program.
 */
void exec_blind(QCString name, QValueList<QCString> argList);

/**
 * Start a service by name.
 *
 * 'serviceName' refers to the service name as given by 
 * the Name field in the desktop file describing the service.
 *
 * 'url', if not empty, will be passed to the service as
 * argument.
 *
 */
serviceResult start_service_by_name(QString serviceName, QString url)

/**
 * Start a service by desktop path.
 *
 * 'serviceName' refers to a desktop file describing the service.
 * This may be an absolute path or a path relative to $KDEDIRS/applnk
 * and/or $KDEDIRS/services
 * E.g. it should have the form "Applications/korganizer.desktop" or
 * "/opt/kde/share/applnk/Applications/korganizer.desktop".
 *
 * 'url', if not empty, will be passed to the service as
 * argument.
 */
serviceResult start_service_by_desktop_path(QString serviceName, QString url)


/**
 * Start a service by desktop name.
 *
 * 'serviceName' refers to a desktop file describing the service.
 * The service is looked up anywhere in $KDEDIR/applnk and/or
 * $KDEDIR/services.
 * E.g. it should have the form "korganizer".
 *
 * 'url', if not empty, will be passed to the service as
 * argument.
 *
 */
serviceResult start_service_by_desktop_name(QString serviceName, QString url)

struct serviceResult
{
  int result;         // 0 means success. > 0 means error
  QCString dcopName; // Contains DCOP name on success
  QString error;     // Contains error description on failure.
}

