diff options
author | Timothy Pearson <[email protected]> | 2013-01-27 21:03:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-27 21:03:46 -0600 |
commit | 87f718054d89323f6c32b0c6a15d8ee18cf572df (patch) | |
tree | fda21abec2bd9b3c2bbde864cddde07caa555e27 /kjsembed/customobject_imp.cpp | |
parent | d581c9e95286acbc16b4c0edaee742e994d58d29 (diff) | |
download | tdebindings-87f718054d89323f6c32b0c6a15d8ee18cf572df.tar.gz tdebindings-87f718054d89323f6c32b0c6a15d8ee18cf572df.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'kjsembed/customobject_imp.cpp')
-rw-r--r-- | kjsembed/customobject_imp.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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(); |