From 3ed7c09d22a5f310a97516f5bab6068e5688a813 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kjsembed/docs/tutorial/kjsembed.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kjsembed/docs/tutorial') diff --git a/kjsembed/docs/tutorial/kjsembed.html b/kjsembed/docs/tutorial/kjsembed.html index c9ae359e..58aa869e 100644 --- a/kjsembed/docs/tutorial/kjsembed.html +++ b/kjsembed/docs/tutorial/kjsembed.html @@ -49,7 +49,7 @@ pre {
  • Console dialog that can be used to execute Javascript interactively.
  • Command line tool for running scripts (this can even operate without an X server if you don't need to display a GUI).
  • -
  • Define new KActions using XML.
  • +
  • Define new TDEActions using XML.
  • Scripts can connect signals to slots.
  • Scripts can access the properties and slots of TQObjects as if they were normal Javascript properties and methods.
  • @@ -184,7 +184,7 @@ function text2html( text ) }

    The details...

    -
    <!DOCTYPE actionset>
    <actionset>
    <header>
    <name>html2text_actions</name>
    <label>HTML To Text Actions</label>
    <script type="js" src="html2text_plugin.js"></script>
    </header>
    <action>
    <name>html_to_text</name>
    <type>KAction</type>
    <icons>text</icons>
    <label><text>Convert HTML To Text</text></label>
    <statustext>Converts the selected text from HTML to text.</statustext>
    <script type="js">kpart.selectedText = html2text( kpart.selectedText )</script>
    </action>
    <action>
    <name>text_to_html</name>
    <type>KAction</type>
    <icons>html</icons>
    <label><text>Quote For HTML</text></label>
    <statustext>Quotes the selected text for inclusion in an HTML document.</statustext>
    <script type="js">kpart.selectedText = text2html( kpart.selectedText )</script>
    </action>
    </actionset>
    +
    <!DOCTYPE actionset>
    <actionset>
    <header>
    <name>html2text_actions</name>
    <label>HTML To Text Actions</label>
    <script type="js" src="html2text_plugin.js"></script>
    </header>
    <action>
    <name>html_to_text</name>
    <type>TDEAction</type>
    <icons>text</icons>
    <label><text>Convert HTML To Text</text></label>
    <statustext>Converts the selected text from HTML to text.</statustext>
    <script type="js">kpart.selectedText = html2text( kpart.selectedText )</script>
    </action>
    <action>
    <name>text_to_html</name>
    <type>TDEAction</type>
    <icons>html</icons>
    <label><text>Quote For HTML</text></label>
    <statustext>Quotes the selected text for inclusion in an HTML document.</statustext>
    <script type="js">kpart.selectedText = text2html( kpart.selectedText )</script>
    </action>
    </actionset>


    The xmlgui:

    -- 
    cgit v1.2.1