blob: d5a64ab399a2faa655a83d8945fe589937a0f264 (
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 KApplication
*
* @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");
KApplication app = new KApplication();
KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser");
kbrowser.show();
app.exec();
return;
}
static {
qtjava.initialize();
kdejava.initialize();
}
}
|