summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/docs/examples
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/docs/examples')
-rw-r--r--kjsembed/docs/examples/html2text/test.htm10
-rw-r--r--kjsembed/docs/examples/imageinfo/example.html2
-rw-r--r--kjsembed/docs/examples/imageinfo/example1.htm2
-rw-r--r--kjsembed/docs/examples/imageinfo/thumbs.html2
-rw-r--r--kjsembed/docs/examples/index.html12
5 files changed, 14 insertions, 14 deletions
diff --git a/kjsembed/docs/examples/html2text/test.htm b/kjsembed/docs/examples/html2text/test.htm
index 457327d0..2a060c2d 100644
--- a/kjsembed/docs/examples/html2text/test.htm
+++ b/kjsembed/docs/examples/html2text/test.htm
@@ -53,7 +53,7 @@ pre {
&lt;li>Scripts can access the properties and slots of QObjects as if they were
normal Javascript properties and methods.&lt;/li>
&lt;li>Scripts can load dialogs and widgets created with Qt Designer.&lt;/li>
- &lt;li>Scripts can create instances of anu QWidget subclass supported by QWidgetFactory.&lt;/li>
+ &lt;li>Scripts can create instances of anu TQWidget subclass supported by TQWidgetFactory.&lt;/li>
&lt;li>Making your own QObjects/QWidgets available for scripting is one-liner.&lt;/li>
&lt;li>Scripts can traverse the widget tree, so your entire application can be
made scriptable without explicitly binding every object.&lt;/li>
@@ -87,11 +87,11 @@ JSConsoleWidget (KJSEmbed::JSConsoleWidget)
kjs> console.childCount()
4
kjs> console.childAt(1)
-CmdEdit (QComboBox)
+CmdEdit (TQComboBox)
kjs> console.childAt(2)
-RunButton (QPushButton)
+RunButton (TQPushButton)
kjs> console.child(&amp;quot;RunButton&amp;quot;)
-RunButton (QPushButton)
+RunButton (TQPushButton)
kjs> console.child(&amp;quot;RunButton&amp;quot;).text = &amp;quot;Go!&amp;quot;
Go!
kjs> console.caption = &amp;quot;Different Title&amp;quot;
@@ -145,7 +145,7 @@ print( cmd );
&lt;p class=&quot;precaption&quot;>Listing 1: A Script That Displays the Grep Dialog&lt;/p>
&lt;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 QLineEdit 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 QLineEdits
diff --git a/kjsembed/docs/examples/imageinfo/example.html b/kjsembed/docs/examples/imageinfo/example.html
index c5b5fd69..82af5e0b 100644
--- a/kjsembed/docs/examples/imageinfo/example.html
+++ b/kjsembed/docs/examples/imageinfo/example.html
@@ -10,7 +10,7 @@
<tr>
<td align="center"><a href="example1.png"><img border=0 width=197 height=160 src=thumb-example1.png></a></td>
<td width="60%" valign="top" align="justify"><b><a href="example1.png">example1.png</a></b> (848x686)<p>This image shows the results of running the imagegallery script. As you can
-see the script automatically creates thumbnails (using QImage::smoothScale()
+see the script automatically creates thumbnails (using TQImage::smoothScale()
for quality) and includes image descriptions if present. The descriptions can
include HTML markup <b>like</b> <i>this</i>, and even
<a href="http://xmelegance.org/kjsembed/">links</a>.
diff --git a/kjsembed/docs/examples/imageinfo/example1.htm b/kjsembed/docs/examples/imageinfo/example1.htm
index b18ff23c..bbe9bb0b 100644
--- a/kjsembed/docs/examples/imageinfo/example1.htm
+++ b/kjsembed/docs/examples/imageinfo/example1.htm
@@ -1,5 +1,5 @@
This image shows the results of running the imagegallery script. As you can
-see the script automatically creates thumbnails (using QImage::smoothScale()
+see the script automatically creates thumbnails (using TQImage::smoothScale()
for quality) and includes image descriptions if present. The descriptions can
include HTML markup <b>like</b> <i>this</i>, and even
<a href="http://xmelegance.org/kjsembed/">links</a>.
diff --git a/kjsembed/docs/examples/imageinfo/thumbs.html b/kjsembed/docs/examples/imageinfo/thumbs.html
index 674dcfe5..663246a0 100644
--- a/kjsembed/docs/examples/imageinfo/thumbs.html
+++ b/kjsembed/docs/examples/imageinfo/thumbs.html
@@ -10,7 +10,7 @@
<tr>
<td align="center"><a href="example1.png"><img border=0 width=197 height=160 src="thumb-example1.png"></a></td>
<td width="60%" valign="top" align="justify"><b><a href="example1.png">example1.png</a></b> (848x686)<p>This image shows the results of running the imagegallery script. As you can
-see the script automatically creates thumbnails (using QImage::smoothScale()
+see the script automatically creates thumbnails (using TQImage::smoothScale()
for quality) and includes image descriptions if present. The descriptions can
include HTML markup <b>like</b> <i>this</i>, and even
<a href="http://xmelegance.org/kjsembed/">links</a>.
diff --git a/kjsembed/docs/examples/index.html b/kjsembed/docs/examples/index.html
index bed4b787..4b48cc31 100644
--- a/kjsembed/docs/examples/index.html
+++ b/kjsembed/docs/examples/index.html
@@ -75,21 +75,21 @@ facilities.
<td>Two examples that create a graphical tree. One
from a JS data structure, the other from the widget tree of a ui file.</td></tr>
<tr><td><a href="qobject-dom">qobject-dom</a></td>
-<td>Illustrates the QObject DOM API.</td></tr>
+<td>Illustrates the TQObject DOM API.</td></tr>
<tr><td><a href="connect-cpp">connect-cpp</a></td>
<td>Connects a signal to slot.</td></tr>
<tr><td><a href="connect">connect</a></td>
<td>Connects signals of various types to JS methods.</td></tr>
<tr><td><a href="imageviewer">imageviewer</a></td>
-<td>Illustrates the use of QPixmap values.</td></tr>
+<td>Illustrates the use of TQPixmap values.</td></tr>
<tr><td><a href="netaccess">netaccess</a></td>
<td>Illustrates the bindings to KIO::NetAccess.</td></tr>
<tr><td><a href="listview">listview</a></td>
<td>Creates a simple KListView.</td></tr>
<tr><td><a href="frame">frame</a></td>
-<td>Shows off QFrame support and the use of enums.</td></tr>
+<td>Shows off TQFrame support and the use of enums.</td></tr>
<tr><td><a href="timer">timer</a></td>
-<td>Creates a flashing LED using QTimer.</td></tr>
+<td>Creates a flashing LED using TQTimer.</td></tr>
<tr><td><a href="actions">Actions</a></td>
<td>A simple KAction demo.</td></tr>
<tr><td><a href="builtins">Built-In Messages</a></td>
@@ -108,8 +108,8 @@ from a JS data structure, the other from the widget tree of a ui file.</td></tr>
<td>Opaque types.</td></tr>
<tr><td><a href="stdicons">Standard Icons</a></td>
<td>Loading standard icons.</td></tr>
-<tr><td><a href="combobox">QComboBox</a></td>
-<td>A simple demo of QComboBox.</td></tr>
+<tr><td><a href="combobox">TQComboBox</a></td>
+<td>A simple demo of TQComboBox.</td></tr>
<tr><td><a href="multipart">Embedding several KParts</a></td>
<td>Shows how to embed multiple parts in the same script.</td></tr>
<tr><td><a href="livedata">Writing data directly to a KPart</a></td>