blob: e7902629386204bb11312166fad925f8bea5d5d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
import org.kde.qt.*;
import org.kde.koala.*;
/**
* Main class.
*
* Taken from KDE 2.0 Development book
*
* Rendering HTML Files
*
* A Simple Web Browser
*
*
* @see TDEApplication
*
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
* @version 0.1
*/
public class Main {
public static void main(String[] cmdLineArgs) {
KCmdLineArgs.init(cmdLineArgs, "ksimplebrowser", "KSimpleBrowser",
"A KDE 3 Development Example - KSimpleBrowser", "0.1");
TDEApplication app = new TDEApplication();
KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser");
kbrowser.show();
app.exec();
return;
}
static {
qtjava.initialize();
kdejava.initialize();
}
}
|