You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
762 B
41 lines
762 B
15 years ago
|
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();
|
||
|
}
|
||
|
|
||
|
}
|