diff options
Diffstat (limited to 'kjsembed/docs/examples')
-rw-r--r-- | kjsembed/docs/examples/html2text/test.htm | 10 | ||||
-rw-r--r-- | kjsembed/docs/examples/imageinfo/example.html | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/imageinfo/example1.htm | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/imageinfo/thumbs.html | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/index.html | 12 |
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 { <li>Scripts can access the properties and slots of QObjects 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 QWidget subclass supported by QWidgetFactory.</li> + <li>Scripts can create instances of anu TQWidget subclass supported by TQWidgetFactory.</li> <li>Making your own QObjects/QWidgets 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> @@ -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(&quot;RunButton&quot;) -RunButton (QPushButton) +RunButton (TQPushButton) kjs> console.child(&quot;RunButton&quot;).text = &quot;Go!&quot; Go! kjs> console.caption = &quot;Different Title&quot; @@ -145,7 +145,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 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> |