diff options
Diffstat (limited to 'dcop/client/README.dcop')
-rw-r--r-- | dcop/client/README.dcop | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dcop/client/README.dcop b/dcop/client/README.dcop index 8868b1c55..e352cb439 100644 --- a/dcop/client/README.dcop +++ b/dcop/client/README.dcop @@ -21,7 +21,7 @@ exit-code of '0' means success. An exit-code of '1' means error, the error msg is printed to stderr and no data is printed to stdout. -dcoptqfind [-l] [-a] <app-id> [<object-id> [<select_func> [args]]] +dcopfind [-l] [-a] <app-id> [<object-id> [<select_func> [args]]] Finds an existing DCOP application/object. The select_func can be used to select a specific single instance out of many based on some criteria. @@ -38,7 +38,7 @@ With the -a option it prints out "<app-id>" instead of a DCOPRef. With the -l option it calls "dcopstart <app-id>" if no object is found, stripping off any wildcard from the <app-id>. If the dcopstart command is -successful the tqfind command is repeated, if the dcopstart command fails, an +successful the find command is repeated, if the dcopstart command fails, an error message is printed to stderr and the command exits with exit-code '2'. The default selection criteria is "any". Applications can declare their own @@ -46,7 +46,7 @@ select_func as they see fit, e.g. konqueror could declare "isDoingProtocol(QString protocol)" and then the following command would select a konqueror mainwindow that is currently handling the help-protocol: - "dcoptqfind 'konqueror*' 'konqueror-mainwindow*' 'isDoingProtocol(QString + "dcopfind 'konqueror*' 'konqueror-mainwindow*' 'isDoingProtocol(QString protocol)' help" @@ -57,7 +57,7 @@ In addtion to the current syntax of dcop <appid> <object> <function> args you will now also be able to use <dcopref> to make calls with <dcopref> being -"DCOPRef(<appid>, <objectid>)" as returned by dcoptqfind. +"DCOPRef(<appid>, <objectid>)" as returned by dcopfind. Additional utilities: |