summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
commit3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch)
tree23ba07d28f7fad17824db1fc40e9cf1ad4942480 /kjsembed/docs/examples
parent3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff)
downloadtdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz
tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kjsembed/docs/examples')
-rw-r--r--kjsembed/docs/examples/README4
-rw-r--r--kjsembed/docs/examples/actions/simple-actions.js2
-rw-r--r--kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui2
-rwxr-xr-xkjsembed/docs/examples/buttonmaker/buttonmaker.js2
-rwxr-xr-xkjsembed/docs/examples/dcop/rss.js2
-rw-r--r--kjsembed/docs/examples/docviewer/docviewer.js12
-rw-r--r--kjsembed/docs/examples/docviewer/docviewer.ui2
-rw-r--r--kjsembed/docs/examples/envelopemaker/EnvelopeMakerUI.ui2
-rwxr-xr-xkjsembed/docs/examples/envelopemaker/env.js2
-rw-r--r--kjsembed/docs/examples/html2text/html2text_plugin.xml4
-rw-r--r--kjsembed/docs/examples/html2text/test.htm4
-rwxr-xr-xkjsembed/docs/examples/imagetweak/imagetweak.js2
-rw-r--r--kjsembed/docs/examples/imunge/effectbrowser.ui2
-rwxr-xr-xkjsembed/docs/examples/imunge/imunge.js12
-rwxr-xr-xkjsembed/docs/examples/imunge/imunge_actions.js28
-rw-r--r--kjsembed/docs/examples/index.html4
-rwxr-xr-xkjsembed/docs/examples/invaders/invaders.js2
-rw-r--r--kjsembed/docs/examples/listview/listview.js4
-rwxr-xr-xkjsembed/docs/examples/readonlypart/readonlypart.js2
-rwxr-xr-xkjsembed/docs/examples/readwritepart/readwritepart.js2
-rwxr-xr-xkjsembed/docs/examples/sql/sql.js4
-rwxr-xr-xkjsembed/docs/examples/xmlgui/xmlgui.js2
22 files changed, 51 insertions, 51 deletions
diff --git a/kjsembed/docs/examples/README b/kjsembed/docs/examples/README
index 2156b57d..e72bd0bd 100644
--- a/kjsembed/docs/examples/README
+++ b/kjsembed/docs/examples/README
@@ -45,10 +45,10 @@ connect-cpp Connects a signal to slot.
connect Connects signals of various types to JS methods.
imageviewer Illustrates the use of TQPixmap values.
netaccess Illustrates the bindings to TDEIO::NetAccess.
-listview Creates a simple KListView.
+listview Creates a simple TDEListView.
frame Shows off TQFrame support and the use of enums.
timer Creates a flashing LED using TQTimer.
-Actions A simple KAction demo.
+Actions A simple TDEAction demo.
Built-In Messages Demonstrates the built-in message dialogs.
Image Tweak Tweaking images.
Image Fun More fun with images
diff --git a/kjsembed/docs/examples/actions/simple-actions.js b/kjsembed/docs/examples/actions/simple-actions.js
index 121c9d15..63fcd83d 100644
--- a/kjsembed/docs/examples/actions/simple-actions.js
+++ b/kjsembed/docs/examples/actions/simple-actions.js
@@ -1,6 +1,6 @@
#!/usr/bin/env kjscmd
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var view = new KTextEdit(mw);
mw.setCentralWidget( view );
diff --git a/kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui b/kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui
index 60339d6a..f11b08ee 100644
--- a/kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui
+++ b/kjsembed/docs/examples/buttonmaker/ButtonMakerUI.ui
@@ -384,7 +384,7 @@
<cstring>font</cstring>
</property>
</widget>
- <widget class="KFontRequester">
+ <widget class="TDEFontRequester">
<property name="name">
<cstring>Font</cstring>
</property>
diff --git a/kjsembed/docs/examples/buttonmaker/buttonmaker.js b/kjsembed/docs/examples/buttonmaker/buttonmaker.js
index 8cb82ba3..995fb95e 100755
--- a/kjsembed/docs/examples/buttonmaker/buttonmaker.js
+++ b/kjsembed/docs/examples/buttonmaker/buttonmaker.js
@@ -3,7 +3,7 @@
StdDirs.addResourceType("buttonmaker", StdDirs.kde_default("data") + "/buttonmaker");
var imgfx = new ImageFX();
-var win = new KMainWindow(this);
+var win = new TDEMainWindow(this);
try {
//var view = Factory.loadui(StdDirs.findResource("buttonmaker", "ButtonMakerUI.ui"), this, win);
diff --git a/kjsembed/docs/examples/dcop/rss.js b/kjsembed/docs/examples/dcop/rss.js
index 7ec9f2eb..f42e7915 100755
--- a/kjsembed/docs/examples/dcop/rss.js
+++ b/kjsembed/docs/examples/dcop/rss.js
@@ -6,7 +6,7 @@ function newArticles( articles )
var box = new TQVBox(main);
var count = articles.call("count()");
var label = new TQLabel(box);
- var list = new KListBox(box);
+ var list = new TDEListBox(box);
label.text = count + " articles for " + articles.call("title()");
diff --git a/kjsembed/docs/examples/docviewer/docviewer.js b/kjsembed/docs/examples/docviewer/docviewer.js
index bf80121a..46184444 100644
--- a/kjsembed/docs/examples/docviewer/docviewer.js
+++ b/kjsembed/docs/examples/docviewer/docviewer.js
@@ -29,7 +29,7 @@ function setup_sidebar( builtins, special, qt, kde, all )
//
// Create the UI
-var mw = new KMainWindow(this);
+var mw = new TDEMainWindow(this);
var ac = mw.actionCollection();
var split = new TQSplitter( mw );
@@ -138,7 +138,7 @@ view.setup = function()
}
// Setup the sidebar
-builtinside = new KListView( side, 'builtinside' );
+builtinside = new TDEListView( side, 'builtinside' );
builtinside.addColumn( 'Class' );
builtinside.resizeMode = 2; // LastColumn
@@ -148,7 +148,7 @@ builtinside.changed = function()
view.set_class( item.text(0) );
}
-specialside = new KListView( side, 'specialsidebar' );
+specialside = new TDEListView( side, 'specialsidebar' );
specialside.addColumn( 'Class' );
specialside.resizeMode = 2; // LastColumn
@@ -158,7 +158,7 @@ specialside.changed = function()
view.set_class( item.text(0) );
}
-qtside = new KListView( side, 'qtsidebar' );
+qtside = new TDEListView( side, 'qtsidebar' );
qtside.addColumn( 'Class' );
qtside.resizeMode = 2; // LastColumn
@@ -168,7 +168,7 @@ qtside.changed = function()
view.set_class( item.text(0) );
}
-kdeside = new KListView( side, 'kdesidebar' );
+kdeside = new TDEListView( side, 'kdesidebar' );
kdeside.addColumn( 'Class' );
kdeside.resizeMode = 2; // LastColumn
@@ -178,7 +178,7 @@ kdeside.changed = function()
view.set_class( item.text(0) );
}
-allside = new KListView( side, 'allsidebar' );
+allside = new TDEListView( side, 'allsidebar' );
allside.addColumn( 'Class' );
allside.resizeMode = 2; // LastColumn
diff --git a/kjsembed/docs/examples/docviewer/docviewer.ui b/kjsembed/docs/examples/docviewer/docviewer.ui
index 3ccf0d02..f27e3559 100644
--- a/kjsembed/docs/examples/docviewer/docviewer.ui
+++ b/kjsembed/docs/examples/docviewer/docviewer.ui
@@ -46,7 +46,7 @@
<string>Object types:</string>
</property>
</widget>
- <widget class="KListBox" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="TDEListBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>toc_view</cstring>
</property>
diff --git a/kjsembed/docs/examples/envelopemaker/EnvelopeMakerUI.ui b/kjsembed/docs/examples/envelopemaker/EnvelopeMakerUI.ui
index c9830b55..5a63fc94 100644
--- a/kjsembed/docs/examples/envelopemaker/EnvelopeMakerUI.ui
+++ b/kjsembed/docs/examples/envelopemaker/EnvelopeMakerUI.ui
@@ -487,7 +487,7 @@
</widget>
</vbox>
</widget>
- <widget class="KFontRequester">
+ <widget class="TDEFontRequester">
<property name="name">
<cstring>font</cstring>
</property>
diff --git a/kjsembed/docs/examples/envelopemaker/env.js b/kjsembed/docs/examples/envelopemaker/env.js
index 8e71a6ca..91e30216 100755
--- a/kjsembed/docs/examples/envelopemaker/env.js
+++ b/kjsembed/docs/examples/envelopemaker/env.js
@@ -2,7 +2,7 @@
StdDirs.addResourceType("envelopemaker", StdDirs.kde_default("data") + "/envelopemaker");
-var win = new KMainWindow(this);
+var win = new TDEMainWindow(this);
var view = Factory.loadui(StdDirs.findResource("envelopemaker", "EnvelopeMakerUI.ui"), this, win);
//var view = Factory.loadui("EnvelopeMakerUI.ui", this, win);
var Print = view.child('print');
diff --git a/kjsembed/docs/examples/html2text/html2text_plugin.xml b/kjsembed/docs/examples/html2text/html2text_plugin.xml
index 634b88cd..9cae1f9a 100644
--- a/kjsembed/docs/examples/html2text/html2text_plugin.xml
+++ b/kjsembed/docs/examples/html2text/html2text_plugin.xml
@@ -7,7 +7,7 @@
</header>
<action>
<name>html_to_text</name>
- <type>KAction</type>
+ <type>TDEAction</type>
<icons>text</icons>
<label><text>Convert HTML To Text</text></label>
<statustext>Converts the selected text from HTML to text.</statustext>
@@ -15,7 +15,7 @@
</action>
<action>
<name>text_to_html</name>
- <type>KAction</type>
+ <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>
diff --git a/kjsembed/docs/examples/html2text/test.htm b/kjsembed/docs/examples/html2text/test.htm
index 1639b375..129032e1 100644
--- a/kjsembed/docs/examples/html2text/test.htm
+++ b/kjsembed/docs/examples/html2text/test.htm
@@ -49,7 +49,7 @@ pre {
&lt;li>Console dialog that can be used to execute Javascript interactively.&lt;/li>
&lt;li>Command line tool for running scripts (this can even operate without an
X server if you don't need to display a GUI).&lt;/li>
- &lt;li>Define new KActions using XML.&lt;/li>
+ &lt;li>Define new TDEActions using XML.&lt;/li>
&lt;li>Scripts can access the properties and slots of TQObjects 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>
@@ -180,7 +180,7 @@ function text2html( text )
}
&lt;/pre>
&lt;p>The details...&lt;/p>
-&lt;pre>&amp;lt;!DOCTYPE actionset&amp;gt;&lt;br>&amp;lt;actionset&amp;gt;&lt;br>&amp;lt;header&amp;gt;&lt;br> &amp;lt;name&amp;gt;html2text_actions&amp;lt;/name&amp;gt;&lt;br> &amp;lt;label&amp;gt;HTML To Text Actions&amp;lt;/label&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot; src=&amp;quot;html2text_plugin.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/header&amp;gt;&lt;br>&amp;lt;action&amp;gt;&lt;br> &amp;lt;name&amp;gt;html_to_text&amp;lt;/name&amp;gt;&lt;br> &amp;lt;type&amp;gt;KAction&amp;lt;/type&amp;gt;&lt;br> &amp;lt;icons&amp;gt;text&amp;lt;/icons&amp;gt;&lt;br> &amp;lt;label&amp;gt;&amp;lt;text&amp;gt;Convert HTML To Text&amp;lt;/text&amp;gt;&amp;lt;/label&amp;gt;&lt;br> &amp;lt;statustext&amp;gt;Converts the selected text from HTML to text.&amp;lt;/statustext&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot;&amp;gt;kpart.selectedText = html2text( kpart.selectedText )&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/action&amp;gt;&lt;br>&amp;lt;action&amp;gt;&lt;br> &amp;lt;name&amp;gt;text_to_html&amp;lt;/name&amp;gt;&lt;br> &amp;lt;type&amp;gt;KAction&amp;lt;/type&amp;gt;&lt;br> &amp;lt;icons&amp;gt;html&amp;lt;/icons&amp;gt;&lt;br> &amp;lt;label&amp;gt;&amp;lt;text&amp;gt;Quote For HTML&amp;lt;/text&amp;gt;&amp;lt;/label&amp;gt;&lt;br> &amp;lt;statustext&amp;gt;Quotes the selected text for inclusion in an HTML document.&amp;lt;/statustext&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot;&amp;gt;kpart.selectedText = text2html( kpart.selectedText )&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/action&amp;gt;&lt;br>&amp;lt;/actionset&amp;gt;&lt;br>&lt;/pre>
+&lt;pre>&amp;lt;!DOCTYPE actionset&amp;gt;&lt;br>&amp;lt;actionset&amp;gt;&lt;br>&amp;lt;header&amp;gt;&lt;br> &amp;lt;name&amp;gt;html2text_actions&amp;lt;/name&amp;gt;&lt;br> &amp;lt;label&amp;gt;HTML To Text Actions&amp;lt;/label&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot; src=&amp;quot;html2text_plugin.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/header&amp;gt;&lt;br>&amp;lt;action&amp;gt;&lt;br> &amp;lt;name&amp;gt;html_to_text&amp;lt;/name&amp;gt;&lt;br> &amp;lt;type&amp;gt;TDEAction&amp;lt;/type&amp;gt;&lt;br> &amp;lt;icons&amp;gt;text&amp;lt;/icons&amp;gt;&lt;br> &amp;lt;label&amp;gt;&amp;lt;text&amp;gt;Convert HTML To Text&amp;lt;/text&amp;gt;&amp;lt;/label&amp;gt;&lt;br> &amp;lt;statustext&amp;gt;Converts the selected text from HTML to text.&amp;lt;/statustext&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot;&amp;gt;kpart.selectedText = html2text( kpart.selectedText )&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/action&amp;gt;&lt;br>&amp;lt;action&amp;gt;&lt;br> &amp;lt;name&amp;gt;text_to_html&amp;lt;/name&amp;gt;&lt;br> &amp;lt;type&amp;gt;TDEAction&amp;lt;/type&amp;gt;&lt;br> &amp;lt;icons&amp;gt;html&amp;lt;/icons&amp;gt;&lt;br> &amp;lt;label&amp;gt;&amp;lt;text&amp;gt;Quote For HTML&amp;lt;/text&amp;gt;&amp;lt;/label&amp;gt;&lt;br> &amp;lt;statustext&amp;gt;Quotes the selected text for inclusion in an HTML document.&amp;lt;/statustext&amp;gt;&lt;br> &amp;lt;script type=&amp;quot;js&amp;quot;&amp;gt;kpart.selectedText = text2html( kpart.selectedText )&amp;lt;/script&amp;gt;&lt;br>&amp;lt;/action&amp;gt;&lt;br>&amp;lt;/actionset&amp;gt;&lt;br>&lt;/pre>
&lt;p>&lt;br>
The xmlgui:&lt;/p>
&lt;pre>
diff --git a/kjsembed/docs/examples/imagetweak/imagetweak.js b/kjsembed/docs/examples/imagetweak/imagetweak.js
index ea1d0944..65238874 100755
--- a/kjsembed/docs/examples/imagetweak/imagetweak.js
+++ b/kjsembed/docs/examples/imagetweak/imagetweak.js
@@ -7,7 +7,7 @@ if ( application.args.length == 0 ) {
//
// Setup main window
//
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var view = new TQScrollView( mw, 'view' );
mw.setCentralWidget( view );
diff --git a/kjsembed/docs/examples/imunge/effectbrowser.ui b/kjsembed/docs/examples/imunge/effectbrowser.ui
index d088d18e..10eb2d79 100644
--- a/kjsembed/docs/examples/imunge/effectbrowser.ui
+++ b/kjsembed/docs/examples/imunge/effectbrowser.ui
@@ -85,7 +85,7 @@
<set>AlignVCenter</set>
</property>
</widget>
- <widget class="KListView" row="2" column="0" rowspan="2" colspan="1">
+ <widget class="TDEListView" row="2" column="0" rowspan="2" colspan="1">
<column>
<property name="text">
<string>Effect Name</string>
diff --git a/kjsembed/docs/examples/imunge/imunge.js b/kjsembed/docs/examples/imunge/imunge.js
index 137cb272..96924670 100755
--- a/kjsembed/docs/examples/imunge/imunge.js
+++ b/kjsembed/docs/examples/imunge/imunge.js
@@ -3,7 +3,7 @@
//
// Setup main window
//
-mw = new KMainWindow();
+mw = new TDEMainWindow();
ac = mw.actionCollection();
mb = mw.menuBar();
sb = mw.statusBar();
@@ -162,12 +162,12 @@ mw.setup_actions = function()
saveas_action = StdAction.saveAs( null, '', ac );
saveas_action.connect( saveas_action, 'activated()', this, 'saveFileAs' );
- savecopyas_action = new KAction( ac, 'save_copy_as_action' );
+ savecopyas_action = new TDEAction( ac, 'save_copy_as_action' );
savecopyas_action.text = 'Save Copy As...';
savecopyas_action.icon = 'filesaveas';
savecopyas_action.connect( savecopyas_action, 'activated()', this, 'saveCopyAs' );
- fileproperties_action = new KAction( ac, 'file_properties_action' );
+ fileproperties_action = new TDEAction( ac, 'file_properties_action' );
fileproperties_action.text = 'Properties...';
fileproperties_action.connect( fileproperties_action, 'activated()', this, 'fileProperties' );
@@ -186,7 +186,7 @@ mw.setup_actions = function()
// StdAction.redisplay( null, '', ac );
// Effects
- browseeffects_action = new KAction( ac, 'browseeffects_action' );
+ browseeffects_action = new TDEAction( ac, 'browseeffects_action' );
browseeffects_action.text = 'Browse Effects...';
browseeffects_action.shortcut = 'Ctrl+E';
browseeffects_action.connect( browseeffects_action, 'activated()', this, 'browse_effects' );
@@ -196,12 +196,12 @@ mw.setup_actions = function()
this.create_image_operations( mw, ac );
// Tools
- ksnapshot_action = new KAction( ac, 'ksnapshot_action' );
+ ksnapshot_action = new TDEAction( ac, 'ksnapshot_action' );
ksnapshot_action.text = 'KSnapshot';
ksnapshot_action.icon = 'ksnapshot';
ksnapshot_action.connect( ksnapshot_action, 'activated()', this, 'run_ksnapshot' );
- scriptconsole_action = new KToggleAction( ac, 'scriptconsole_action' );
+ scriptconsole_action = new TDEToggleAction( ac, 'scriptconsole_action' );
scriptconsole_action.text = 'Script Console';
scriptconsole_action.icon = 'konsole';
scriptconsole_action.connect( scriptconsole_action, 'toggled(bool)', part.view(), 'setShown(bool)' );
diff --git a/kjsembed/docs/examples/imunge/imunge_actions.js b/kjsembed/docs/examples/imunge/imunge_actions.js
index e07d01d4..abc967d0 100755
--- a/kjsembed/docs/examples/imunge/imunge_actions.js
+++ b/kjsembed/docs/examples/imunge/imunge_actions.js
@@ -38,7 +38,7 @@ mw.create_all_effects = function( mw, ac )
//
// Water color
//
- var action = new KAction( ac, 'watercolor_action' );
+ var action = new TDEAction( ac, 'watercolor_action' );
action.text = '&Water Color';
action.icon = 'imageeffect';
@@ -61,7 +61,7 @@ mw.create_all_effects = function( mw, ac )
//
// To Gray
//
- action = new KAction( ac, 'togray_action' );
+ action = new TDEAction( ac, 'togray_action' );
action.text = '&Grayscale';
action.icon = 'imageeffect';
@@ -77,7 +77,7 @@ mw.create_all_effects = function( mw, ac )
//
// Charcoal
//
- action = new KAction( ac, 'charcoal_action' );
+ action = new TDEAction( ac, 'charcoal_action' );
action.text = '&Charcoal';
action.icon = 'imageeffect';
@@ -93,7 +93,7 @@ mw.create_all_effects = function( mw, ac )
//
// Implode
//
- var action = new KAction( ac, 'implode_action' );
+ var action = new TDEAction( ac, 'implode_action' );
action.text = '&Implode';
action.icon = 'imageeffect';
@@ -109,7 +109,7 @@ mw.create_all_effects = function( mw, ac )
//
// Emboss
//
- action = new KAction( ac, 'emboss_action' );
+ action = new TDEAction( ac, 'emboss_action' );
action.text = '&Emboss';
action.icon = 'imageeffect';
@@ -125,7 +125,7 @@ mw.create_all_effects = function( mw, ac )
//
// Normalize
//
- action = new KAction( ac, 'normalize_action' );
+ action = new TDEAction( ac, 'normalize_action' );
action.text = '&Normalize';
action.icon = 'imageeffect';
@@ -141,7 +141,7 @@ mw.create_all_effects = function( mw, ac )
//
// Equalize
//
- action = new KAction( ac, 'equalize_action' );
+ action = new TDEAction( ac, 'equalize_action' );
action.text = 'Equa&lize';
action.icon = 'imageeffect';
@@ -157,7 +157,7 @@ mw.create_all_effects = function( mw, ac )
//
// Despeckle
//
- action = new KAction( ac, 'despeckle_action' );
+ action = new TDEAction( ac, 'despeckle_action' );
action.text = '&Despeckle';
action.icon = 'imageeffect';
@@ -178,7 +178,7 @@ mw.create_image_operations = function( mw, ac )
//
// Crop
//
- action = new KAction( ac, 'crop_action' );
+ action = new TDEAction( ac, 'crop_action' );
action.text = 'Crop...';
action.icon = 'crop';
@@ -243,7 +243,7 @@ mw.create_image_operations = function( mw, ac )
//
// Resize
//
- action = new KAction( ac, 'resize_action' );
+ action = new TDEAction( ac, 'resize_action' );
action.text = 'Resize...';
action.icon = 'transform';
@@ -263,7 +263,7 @@ mw.create_image_operations = function( mw, ac )
//
// Rotate right
//
- action = new KAction( ac, 'rotate_right_action' );
+ action = new TDEAction( ac, 'rotate_right_action' );
action.text = 'Rotate &Right';
action.icon = 'rotate_cw';
@@ -278,7 +278,7 @@ mw.create_image_operations = function( mw, ac )
//
// Rotate left
//
- action = new KAction( ac, 'rotate_left_action' );
+ action = new TDEAction( ac, 'rotate_left_action' );
action.text = 'Rotate &Left';
action.icon = 'rotate';
@@ -293,7 +293,7 @@ mw.create_image_operations = function( mw, ac )
//
// Mirror Vertical
//
- action = new KAction( ac, 'mirror_vertical_action' );
+ action = new TDEAction( ac, 'mirror_vertical_action' );
action.text = 'Mirror &Vertical';
mw.apply_mirror_vertical = function()
@@ -307,7 +307,7 @@ mw.create_image_operations = function( mw, ac )
//
// Mirror Horizontal
//
- action = new KAction( ac, 'mirror_horizontal_action' );
+ action = new TDEAction( ac, 'mirror_horizontal_action' );
action.text = 'Mirror &Horizontal';
mw.apply_mirror_horizontal = function()
diff --git a/kjsembed/docs/examples/index.html b/kjsembed/docs/examples/index.html
index 706f3fb2..03750beb 100644
--- a/kjsembed/docs/examples/index.html
+++ b/kjsembed/docs/examples/index.html
@@ -85,13 +85,13 @@ from a JS data structure, the other from the widget tree of a ui file.</td></tr>
<tr><td><a href="netaccess">netaccess</a></td>
<td>Illustrates the bindings to TDEIO::NetAccess.</td></tr>
<tr><td><a href="listview">listview</a></td>
-<td>Creates a simple KListView.</td></tr>
+<td>Creates a simple TDEListView.</td></tr>
<tr><td><a href="frame">frame</a></td>
<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 TQTimer.</td></tr>
<tr><td><a href="actions">Actions</a></td>
-<td>A simple KAction demo.</td></tr>
+<td>A simple TDEAction demo.</td></tr>
<tr><td><a href="builtins">Built-In Messages</a></td>
<td>Demonstrates the built-in message dialogs.</td></tr>
<tr><td><a href="imagetweak">Image Tweak</a></td>
diff --git a/kjsembed/docs/examples/invaders/invaders.js b/kjsembed/docs/examples/invaders/invaders.js
index bca6dce4..3d70d1b2 100755
--- a/kjsembed/docs/examples/invaders/invaders.js
+++ b/kjsembed/docs/examples/invaders/invaders.js
@@ -17,7 +17,7 @@ var rsmiss = "";
var timer = new TQTimer(this);
timer.connect(timer, "timeout()", this, "doTurn");
-var win = new KMainWindow(this);
+var win = new TDEMainWindow(this);
var box = new TQVBox(win);
var view = new TQLabel(box);
//view.setMouseTracking(true);
diff --git a/kjsembed/docs/examples/listview/listview.js b/kjsembed/docs/examples/listview/listview.js
index 04197005..9d1e07df 100644
--- a/kjsembed/docs/examples/listview/listview.js
+++ b/kjsembed/docs/examples/listview/listview.js
@@ -1,11 +1,11 @@
#!/usr/bin/env kjscmd
// Create main view
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var box = new TQVBox( mw );
mw.setCentralWidget(box);
-var lv = new KListView( box );
+var lv = new TDEListView( box );
lv.addColumn('Pix');
lv.addColumn('One');
diff --git a/kjsembed/docs/examples/readonlypart/readonlypart.js b/kjsembed/docs/examples/readonlypart/readonlypart.js
index af1ec59c..de06edd2 100755
--- a/kjsembed/docs/examples/readonlypart/readonlypart.js
+++ b/kjsembed/docs/examples/readonlypart/readonlypart.js
@@ -8,7 +8,7 @@ if ( application.args.length )
url = application.args[0];
// Create the UI
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var box = new TQHBox( mw );
mw.setCentralWidget(box);
diff --git a/kjsembed/docs/examples/readwritepart/readwritepart.js b/kjsembed/docs/examples/readwritepart/readwritepart.js
index d9663f8d..25e68cfc 100755
--- a/kjsembed/docs/examples/readwritepart/readwritepart.js
+++ b/kjsembed/docs/examples/readwritepart/readwritepart.js
@@ -8,7 +8,7 @@ if ( application.args.length )
url = application.args[0];
// Create the UI
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var box = new TQHBox( mw );
mw.setCentralWidget(box);
diff --git a/kjsembed/docs/examples/sql/sql.js b/kjsembed/docs/examples/sql/sql.js
index 118510d4..bdd4f1d5 100755
--- a/kjsembed/docs/examples/sql/sql.js
+++ b/kjsembed/docs/examples/sql/sql.js
@@ -1,7 +1,7 @@
#!/usr/bin/env kjscmd
var db = new SqlDatabase();
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var box = new TQVBox( mw );
mw.setCentralWidget(box);
@@ -18,7 +18,7 @@ if ( db.addDatabase("TQMYSQL3", "test" ))
println("Host Name:" + db.hostName);
println("Port:" + db.port);
println("Driver Name:" + db.driverName);
- var list = new KListView(box);
+ var list = new TDEListView(box);
list.addColumn('One');
list.addColumn('Two');
list.addColumn('Three');
diff --git a/kjsembed/docs/examples/xmlgui/xmlgui.js b/kjsembed/docs/examples/xmlgui/xmlgui.js
index a951a2ed..9fc85f48 100755
--- a/kjsembed/docs/examples/xmlgui/xmlgui.js
+++ b/kjsembed/docs/examples/xmlgui/xmlgui.js
@@ -3,7 +3,7 @@
//
// Setup main window
//
-var mw = new KMainWindow();
+var mw = new TDEMainWindow();
var view = new TQTextEdit( mw, 'view' );
view.text = '<h1>Hello World</h1>'