summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/simplebrowser/KSimpleBrowser.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/test/simplebrowser/KSimpleBrowser.java')
-rw-r--r--kdejava/koala/test/simplebrowser/KSimpleBrowser.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java b/kdejava/koala/test/simplebrowser/KSimpleBrowser.java
index 051dfeab..3af57ba5 100644
--- a/kdejava/koala/test/simplebrowser/KSimpleBrowser.java
+++ b/kdejava/koala/test/simplebrowser/KSimpleBrowser.java
@@ -23,7 +23,7 @@ public class KSimpleBrowser extends KMainWindow {
static final int URLLined = 1;
- KHTMLPart khtmlpart;
+ KHTMLPart tdehtmlpart;
public KSimpleBrowser (String name) {
@@ -35,25 +35,25 @@ public class KSimpleBrowser extends KMainWindow {
toolBar().setItemAutoSized(URLLined);
- khtmlpart = new KHTMLPart(this);
- khtmlpart.begin();
+ tdehtmlpart = new KHTMLPart(this);
+ tdehtmlpart.begin();
- khtmlpart.write("<HTML><BODY><H1>KSimpleBrowser</H1>" +
+ tdehtmlpart.write("<HTML><BODY><H1>KSimpleBrowser</H1>" +
"<P>To load a web page, type its URL in the line " +
"edit box and press enter,</P>" +
"</BODY></HTML>");
- khtmlpart.end();
+ tdehtmlpart.end();
setCaption("KDE 2 Development book example - KSimpleBrowser");
- setCentralWidget(khtmlpart.view());
+ setCentralWidget(tdehtmlpart.view());
}
public void slotNewURL () {
- khtmlpart.openURL(new KURL(this.toolBar().getLinedText(URLLined))) ;
+ tdehtmlpart.openURL(new KURL(this.toolBar().getLinedText(URLLined))) ;
}