From 7427e438358d44c37e3c8b0a9cfbb225ffd60e79 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 15:54:26 -0600 Subject: Rename KHTML and kiobuffer --- tdehtml/java/kjavaappletcontext.h | 6 +++--- tdehtml/java/kjavaappletviewer.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tdehtml/java') diff --git a/tdehtml/java/kjavaappletcontext.h b/tdehtml/java/kjavaappletcontext.h index 119699f23..8ccedfe38 100644 --- a/tdehtml/java/kjavaappletcontext.h +++ b/tdehtml/java/kjavaappletcontext.h @@ -30,7 +30,7 @@ * @short Provides a context for KJavaAppletWidgets * * Applets run in a context- (see the Java documentation for more information - * on contexts). Currently, each document in KHTML creates one context, in + * on contexts). Currently, each document in TDEHTML creates one context, in * which multiple applets can run. * * @author Richard J. Moore, rich@kde.org @@ -112,12 +112,12 @@ signals: void showStatus ( const TQString& txt ); /** - * Signals the KHTML Part to show a url in a given target + * Signals the TDEHTML Part to show a url in a given target */ void showDocument( const TQString& url, const TQString& target ); /** - * Signals the KHTML Part an applet is loaded + * Signals the TDEHTML Part an applet is loaded **/ void appletLoaded(); diff --git a/tdehtml/java/kjavaappletviewer.cpp b/tdehtml/java/kjavaappletviewer.cpp index 194a6324a..913678092 100644 --- a/tdehtml/java/kjavaappletviewer.cpp +++ b/tdehtml/java/kjavaappletviewer.cpp @@ -241,15 +241,15 @@ KJavaAppletViewer::KJavaAppletViewer (TQWidget * wparent, const char *, kdDebug(6100) << "name=" << name << " value=" << value << endl; if (!name.isEmpty()) { const TQString name_lower = name.lower (); - if (name == "__KHTML__PLUGINBASEURL") { + if (name == "__TDEHTML__PLUGINBASEURL") { baseurl = KURL (KURL (value), TQString (".")).url (); - } else if (name == "__KHTML__CODEBASE") + } else if (name == "__TDEHTML__CODEBASE") tdehtml_codebase = value; else if (name_lower == TQString::fromLatin1("codebase") || name_lower == TQString::fromLatin1("java_codebase")) { if (!value.isEmpty ()) codebase = value; - } else if (name == "__KHTML__CLASSID") + } else if (name == "__TDEHTML__CLASSID") //else if (name.lower()==TQString::fromLatin1("classid")) classid = value; else if (name_lower == TQString::fromLatin1("code") || @@ -267,7 +267,7 @@ KJavaAppletViewer::KJavaAppletViewer (TQWidget * wparent, const char *, width = value.toInt(); else if (name_lower == TQString::fromLatin1("height")) height = value.toInt(); - if (!name.startsWith ("__KHTML__")) { + if (!name.startsWith ("__TDEHTML__")) { applet->setParameter (name, value); } } -- cgit v1.2.1