diff options
Diffstat (limited to 'kjsembed')
-rw-r--r-- | kjsembed/Makefile.am | 2 | ||||
-rw-r--r-- | kjsembed/customobject_imp.cpp | 20 | ||||
-rw-r--r-- | kjsembed/customobject_imp.h | 6 | ||||
-rw-r--r-- | kjsembed/docs/ChangeLog | 8 | ||||
-rw-r--r-- | kjsembed/docs/examples/README | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/index.html | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/readonlypart/README | 2 | ||||
-rw-r--r-- | kjsembed/docs/examples/readwritepart/README | 2 | ||||
-rw-r--r-- | kjsembed/docs/features.html | 2 | ||||
-rw-r--r-- | kjsembed/docs/kjsembed-qsa.html | 2 | ||||
-rw-r--r-- | kjsembed/jsobjectproxy.h | 2 |
11 files changed, 25 insertions, 25 deletions
diff --git a/kjsembed/Makefile.am b/kjsembed/Makefile.am index ad4b48f4..8a66883f 100644 --- a/kjsembed/Makefile.am +++ b/kjsembed/Makefile.am @@ -55,7 +55,7 @@ libkjsembed_la_LIBADD = bindings/libkjsembedbindings.la \ qtbindings/libkjsembedqtbindings.la \ -ltqui \ $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) \ - $(LIB_KFILE) $(LIB_KHTML) -lkjs $(LIBSOCKET) + $(LIB_KFILE) $(LIB_TDEHTML) -lkjs $(LIBSOCKET) kjscmd_SOURCES = kjscmd.cpp kjscmd_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KIO) $(LIB_KJS) diff --git a/kjsembed/customobject_imp.cpp b/kjsembed/customobject_imp.cpp index ab006c77..652f3f5b 100644 --- a/kjsembed/customobject_imp.cpp +++ b/kjsembed/customobject_imp.cpp @@ -280,13 +280,13 @@ void CustomObjectImp::addBindings( KJS::ExecState *exec, KJS::Object &object ) object.put( exec, "closeStream", KJS::Object(obj) ); } - KHTMLPart *htmlpart = dynamic_cast<KHTMLPart *>( qobj ); + TDEHTMLPart *htmlpart = dynamic_cast<TDEHTMLPart *>( qobj ); if ( htmlpart ) { - obj = new CustomObjectImp( exec, KHTMLPartSelectAll, proxy ); + obj = new CustomObjectImp( exec, TDEHTMLPartSelectAll, proxy ); object.put( exec, "selectAll", KJS::Object(obj) ); - obj = new CustomObjectImp( exec, KHTMLPartHasSelection, proxy ); + obj = new CustomObjectImp( exec, TDEHTMLPartHasSelection, proxy ); object.put( exec, "hasSelection", KJS::Object(obj) ); - obj = new CustomObjectImp( exec, KHTMLPartSelectedText, proxy ); + obj = new CustomObjectImp( exec, TDEHTMLPartSelectedText, proxy ); object.put( exec, "selectedText", KJS::Object(obj) ); } @@ -434,14 +434,14 @@ KJS::Value CustomObjectImp::call( KJS::ExecState *exec, KJS::Object &self, const hboxSpacing( exec, self, args ); return KJS::Value(); break; - case KHTMLPartSelectAll: + case TDEHTMLPartSelectAll: tdehtmlPartSelectAll( exec, self, args ); return KJS::Value(); break; - case KHTMLPartHasSelection: + case TDEHTMLPartHasSelection: return tdehtmlPartHasSelection( exec, self, args ); break; - case KHTMLPartSelectedText: + case TDEHTMLPartSelectedText: return tdehtmlPartSelectedText( exec, self, args ); break; case KSystemTrayContextMenu: @@ -1098,7 +1098,7 @@ void CustomObjectImp::tdehtmlPartSelectAll( KJS::ExecState *, KJS::Object &, con { #ifndef QT_ONLY - KHTMLPart *htmlpart = dynamic_cast<KHTMLPart *>( proxy->object() ); + TDEHTMLPart *htmlpart = dynamic_cast<TDEHTMLPart *>( proxy->object() ); if ( htmlpart ) htmlpart->selectAll(); @@ -1109,7 +1109,7 @@ KJS::Value CustomObjectImp::tdehtmlPartHasSelection( KJS::ExecState *, KJS::Obje { #ifndef QT_ONLY - KHTMLPart *htmlpart = dynamic_cast<KHTMLPart *>( proxy->object() ); + TDEHTMLPart *htmlpart = dynamic_cast<TDEHTMLPart *>( proxy->object() ); if ( !htmlpart ) return KJS::Boolean(); @@ -1122,7 +1122,7 @@ KJS::Value CustomObjectImp::tdehtmlPartSelectedText( KJS::ExecState *, KJS::Obje { #ifndef QT_ONLY - KHTMLPart *htmlpart = dynamic_cast<KHTMLPart *>( proxy->object() ); + TDEHTMLPart *htmlpart = dynamic_cast<TDEHTMLPart *>( proxy->object() ); if ( !htmlpart ) return KJS::String(); diff --git a/kjsembed/customobject_imp.h b/kjsembed/customobject_imp.h index 2b11686c..28a5a07f 100644 --- a/kjsembed/customobject_imp.h +++ b/kjsembed/customobject_imp.h @@ -96,9 +96,9 @@ public: HBoxSpacing, - KHTMLPartSelectAll, - KHTMLPartHasSelection, - KHTMLPartSelectedText, + TDEHTMLPartSelectAll, + TDEHTMLPartHasSelection, + TDEHTMLPartSelectedText, KSystemTrayContextMenu, KSystemTrayActionCollection, diff --git a/kjsembed/docs/ChangeLog b/kjsembed/docs/ChangeLog index 1fb28d23..6212bcf7 100644 --- a/kjsembed/docs/ChangeLog +++ b/kjsembed/docs/ChangeLog @@ -1061,7 +1061,7 @@ 2004-05-03 Monday 21:21 rich - - Added support for a few KHTMLPart method to the custom bindings. + - Added support for a few TDEHTMLPart method to the custom bindings. - Added a simple example of embedding the engine. This will be used by the embedding tutorial i'm working on. The example is based on @@ -1341,7 +1341,7 @@ Added support for the setSpacing method of TQHBox. - Converted the docviewer example to use the KHTML streaming API and made it + Converted the docviewer example to use the TDEHTML streaming API and made it work properly. 2004-04-10 Saturday 17:24 rich @@ -1425,7 +1425,7 @@ 2004-03-17 Wednesday 11:48 faure - Lazy loading - don't slow down the loading of every KHTMLPart in Konqueror. + Lazy loading - don't slow down the loading of every TDEHTMLPart in Konqueror. OKayed by Rich. 2004-03-05 Friday 16:29 jowenn @@ -3325,7 +3325,7 @@ - Added support for creating read-only KParts. - - Added an example that displays the KDE homepage in a KHTMLPart. This + - Added an example that displays the KDE homepage in a TDEHTMLPart. This example also shows the use of the main window bindings. diff --git a/kjsembed/docs/examples/README b/kjsembed/docs/examples/README index ec5e40da..2156b57d 100644 --- a/kjsembed/docs/examples/README +++ b/kjsembed/docs/examples/README @@ -11,7 +11,7 @@ combined to create useful tools. ButtonMaker An application for creating buttons for web sites. EnvelopeMaker An application for creating printed envelopes. xmlgui Creates a complete KDE GUI shell using XMLGUI and KStdAction. -readonlypart A simple web browser that embeds KHTMLPart. +readonlypart A simple web browser that embeds TDEHTMLPart. readwritepart Shows how to embed a read-write KPart. calc A simple calculator application. grepdialog Loads .ui files to provide a GUI for grep. diff --git a/kjsembed/docs/examples/index.html b/kjsembed/docs/examples/index.html index ef7c81cc..706f3fb2 100644 --- a/kjsembed/docs/examples/index.html +++ b/kjsembed/docs/examples/index.html @@ -23,7 +23,7 @@ can be combined to create useful tools. <tr><td><a href="xmlgui">xmlgui</a></td> <td>Creates a complete KDE GUI shell using XMLGUI and KStdAction.</td></tr> <tr><td><a href="readonlypart">readonlypart</a></td> -<td>A simple web browser that embeds KHTMLPart.</td></tr> +<td>A simple web browser that embeds TDEHTMLPart.</td></tr> <tr><td><a href="readwritepart">readwritepart</a></td> <td>Shows how to embed a read-write KPart.</td></tr> <tr><td><a href="calc">calc</a></td> diff --git a/kjsembed/docs/examples/readonlypart/README b/kjsembed/docs/examples/readonlypart/README index 41a5cf1a..33fdecc1 100644 --- a/kjsembed/docs/examples/readonlypart/README +++ b/kjsembed/docs/examples/readonlypart/README @@ -1,3 +1,3 @@ Shows how to load read only parts from a script. The example will load -the URL specified on the command line into a KHTML part. If no URL is +the URL specified on the command line into a TDEHTML part. If no URL is specified then www.kde.org is loaded. diff --git a/kjsembed/docs/examples/readwritepart/README b/kjsembed/docs/examples/readwritepart/README index 41a5cf1a..33fdecc1 100644 --- a/kjsembed/docs/examples/readwritepart/README +++ b/kjsembed/docs/examples/readwritepart/README @@ -1,3 +1,3 @@ Shows how to load read only parts from a script. The example will load -the URL specified on the command line into a KHTML part. If no URL is +the URL specified on the command line into a TDEHTML part. If no URL is specified then www.kde.org is loaded. diff --git a/kjsembed/docs/features.html b/kjsembed/docs/features.html index ae6f0b7b..64b47d75 100644 --- a/kjsembed/docs/features.html +++ b/kjsembed/docs/features.html @@ -24,7 +24,7 @@ This document is a high-level summary of the feature set of KJSEmbed. <h2>KDE Integration</h2> <ul> -<li>Create KParts from scripts (including KHTMLPart). +<li>Create KParts from scripts (including TDEHTMLPart). <li>Create KAction classes. <li>Support for KDE's XMLGUI framework. <li>Create any KDE widget supported by the KDE designer plugin (and a few diff --git a/kjsembed/docs/kjsembed-qsa.html b/kjsembed/docs/kjsembed-qsa.html index 9355c268..a9787600 100644 --- a/kjsembed/docs/kjsembed-qsa.html +++ b/kjsembed/docs/kjsembed-qsa.html @@ -30,7 +30,7 @@ differences between the two libraries. does not support these types by default, but does provide facilities for adding support yourself.</li> - <li>KJSEmbed can access the DOM from a KHTML part so it can work + <li>KJSEmbed can access the DOM from a TDEHTML part so it can work nicely with HTML and XML documents. Note that this binding is only available if the host application chooses to publish the DOM to the interpreter.</li> diff --git a/kjsembed/jsobjectproxy.h b/kjsembed/jsobjectproxy.h index b8ead87c..90b215fd 100644 --- a/kjsembed/jsobjectproxy.h +++ b/kjsembed/jsobjectproxy.h @@ -61,7 +61,7 @@ class JSObjectEventProxy; * * <h3>Security Facilities</h3> * In order to ensure scripts don't run amok and to ensure the script - * interpreter used by KHTML remains secure, JSObjectProxy applies a + * interpreter used by TDEHTML remains secure, JSObjectProxy applies a * security policy. Every time a script tries to access an object or * property the following tests are performed: * <ul> |