summaryrefslogtreecommitdiffstats
path: root/DCOP-bindings
diff options
context:
space:
mode:
authorDarrell Anderson <darrella@clovermail.net>2025-05-09 10:57:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-10 17:52:17 +0900
commitdbbf7cbca8343460f814641558c184d269b2b017 (patch)
tree894b3b8565961690e5bbfc7abbd2b4b3027243eb /DCOP-bindings
parent0fbfccea4070ebc71e11299017e0fff165c26d2b (diff)
downloadkchmviewer-dbbf7cbc.tar.gz
kchmviewer-dbbf7cbc.zip
Fix misspelled DCOP-bingings document
Signed-off-by: Darrell Anderson <darrella@clovermail.net> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 25cabb41ffc34ac0add32f7d746b90c947512a0a)
Diffstat (limited to 'DCOP-bindings')
-rw-r--r--DCOP-bindings22
1 files changed, 22 insertions, 0 deletions
diff --git a/DCOP-bindings b/DCOP-bindings
new file mode 100644
index 0000000..a3cfb03
--- /dev/null
+++ b/DCOP-bindings
@@ -0,0 +1,22 @@
+kchmviewer supports the following DCOP bindings:
+
+Interface name: KCHMDCOPIface
+
+Bingings:
+
+ // Loads a CHM file filename , and opens the URL url. Use URL "/" to open default homepage
+ void loadHelpFile( String filename, String url );
+
+ // Opens a specific url inside the loaded CHM file
+ void openPage( String url );
+
+ // Tries to find word in index, opening the index window and scrolling it there
+ void guiFindInIndex( String word );
+
+ // Executes a search in GUI. query contains the complete search query.
+ void guiSearchQuery( String query );
+
+ // Executes a search; GUI is not involved and user sees nothing.
+ // query contains the complete search query.
+ // Returns a list of URLs, or empty array if nothing os
+ StringList searchQuery( String query );