diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:00 -0600 |
commit | 2d84c9d3ad0aaea0620658024537d54e6a7939f4 (patch) | |
tree | 35675532f42e78dbfcd56c6b344e1f0e79013a2e /kdejava/koala/test/simplebrowser/KSimpleBrowser.java | |
parent | 980972d200e109a643e5a10037d7f9fcf02382ed (diff) | |
download | tdebindings-2d84c9d3ad0aaea0620658024537d54e6a7939f4.tar.gz tdebindings-2d84c9d3ad0aaea0620658024537d54e6a7939f4.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kdejava/koala/test/simplebrowser/KSimpleBrowser.java')
-rw-r--r-- | kdejava/koala/test/simplebrowser/KSimpleBrowser.java | 14 |
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))) ; } |