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.
tdebindings/kdejava/koala/test/khelpers/Main.java

53 lines
1.0 KiB

import org.kde.qt.*;
import org.kde.koala.*;
/**
* Main class.
*
* Taken from KDE 2.0 Development book
*
* Helping the User Use Your Application
*
* ToolTips, What's This?, and More
*
* @see KApplication
* @see KCmdLineArgs
*
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
* @version 0.1
*/
public class Main {
static String description = "KDE 2 Development example";
static String[][] options = { };
static String VERSION = "0.1";
public static void main(String[] cmdLineArgs) {
KAboutData aboutData = new KAboutData( "KHelpers", "KHelpers",
VERSION, description, KAboutData.License_GPL,
"KDE 2 Development");
KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication();
KHelpers khelpers = new KHelpers();
khelpers.show();
app.exec();
return;
}
static {
qtjava.initialize();
kdejava.initialize();
}
}