summaryrefslogtreecommitdiffstats
path: root/doc/ru/krusader-tools.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ru/krusader-tools.docbook')
-rw-r--r--doc/ru/krusader-tools.docbook4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ru/krusader-tools.docbook b/doc/ru/krusader-tools.docbook
index 9292487..38739ed 100644
--- a/doc/ru/krusader-tools.docbook
+++ b/doc/ru/krusader-tools.docbook
@@ -4042,7 +4042,7 @@
> that will be more explenatory.</para>
<para
->When a script is executed, the script doesn't know it's origin (or maybe there is a way which that we don't know) and all relative path's are relative to the current working-dir. But this dir is (normaly) not the one where the script is located but the current dir of the active Panel of Krusader. This needs to stay like this. However, for referenceing additional files like .ui (Userinterface, exported by &Qt;'s Designer) one need the path of the script. The alternative where absolute path's but this is more then unhandy. For this reason the Variable "scriptDir" was introduced. If a Script want to load a &GUI; from a .ui-file this can be done this way: <emphasis
+>When a script is executed, the script doesn't know it's origin (or maybe there is a way which that we don't know) and all relative path's are relative to the current working-dir. But this dir is (normaly) not the one where the script is located but the current dir of the active Panel of Krusader. This needs to stay like this. However, for referenceing additional files like .ui (Userinterface, exported by &TQt;'s Designer) one need the path of the script. The alternative where absolute path's but this is more then unhandy. For this reason the Variable "scriptDir" was introduced. If a Script want to load a &GUI; from a .ui-file this can be done this way: <emphasis
>var ui = Factory.loadui( scriptDir + 'filename.ui' );</emphasis
> I recomend using Dialog as a base when designing &GUI;'s for using with JS. Execute the dialog with: <emphasis
>ui.exec();</emphasis
@@ -4062,7 +4062,7 @@
<para
>The JavaScript-support is based on &kjsembed_url;. Some expamples which show the power of this library can be found on <ulink url="http://xmelegance.org/kjsembed/examples/index.html"
></ulink
->. Support for all of KDE's ground-laying technologies like DCOP or KParts is provided. You can even load whole GUI's from .ui-files, created with &Qt;'s Designer. An example extension making use of this can be found <ulink url="http://www.krusader.org/phpBB/viewtopic.php?p=4832#4832"
+>. Support for all of TDE's ground-laying technologies like DCOP or KParts is provided. You can even load whole GUI's from .ui-files, created with &TQt;'s Designer. An example extension making use of this can be found <ulink url="http://www.krusader.org/phpBB/viewtopic.php?p=4832#4832"
>here</ulink
>. </para>