summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/tutorial/kjsembed.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/docs/tutorial/kjsembed.html
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/docs/tutorial/kjsembed.html')
-rw-r--r--kjsembed/docs/tutorial/kjsembed.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/kjsembed/docs/tutorial/kjsembed.html b/kjsembed/docs/tutorial/kjsembed.html
index 7e2c38fd..c9ae359e 100644
--- a/kjsembed/docs/tutorial/kjsembed.html
+++ b/kjsembed/docs/tutorial/kjsembed.html
@@ -54,7 +54,7 @@ pre {
<li>Scripts can access the properties and slots of TQObjects as if they were
normal Javascript properties and methods.</li>
<li>Scripts can load dialogs and widgets created with Qt Designer.</li>
- <li>Scripts can create instances of anu TTQWidget subclass supported by TTQWidgetFactory.</li>
+ <li>Scripts can create instances of anu TQWidget subclass supported by TQWidgetFactory.</li>
<li>Making your own TQObjects/TQWidgets available for scripting is one-liner.</li>
<li>Scripts can traverse the widget tree, so your entire application can be
made scriptable without explicitly binding every object.</li>
@@ -88,11 +88,11 @@ JSConsoleWidget (KJSEmbed::JSConsoleWidget)
kjs> console.childCount()
4
kjs> console.child(1)
-CmdEdit (TTQComboBox)
+CmdEdit (TQComboBox)
kjs> console.child(2)
-RunButton (TTQPushButton)
+RunButton (TQPushButton)
kjs> console.child(&quot;RunButton&quot;)
-RunButton (TTQPushButton)
+RunButton (TQPushButton)
kjs> console.child(&quot;RunButton&quot;).text = &quot;Go!&quot;
Go!
kjs> console.caption = &quot;Different Title&quot;
@@ -149,7 +149,7 @@ print( cmd );
<p class="precaption">Listing 1: A Script That Displays the Grep Dialog</p>
<p>In order to find out what the user asked us to search for we need to extract
the contents of the various fields in our dialog. We know that the field for
- entering the text to be searched for is a TTQLineEdit called 'search_edit', so
+ entering the text to be searched for is a TQLineEdit called 'search_edit', so
we can use the child() method to get hold of it (this method searches through
the children of an object until it finds one with a matching name). Once we've
found the right object getting hold of the text is easy because all TQLineEdits