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
Timothy Pearson 9ba0474277
Initial TQt conversion
13 years ago
..
koala Initial TQt conversion 13 years ago
AUTHORS Initial TQt conversion 13 years ago
COPYING.LIB Initial TQt conversion 13 years ago
ChangeLog Initial TQt conversion 13 years ago
INSTALL Initial TQt conversion 13 years ago
Makefile.am Additional renaming of kde to tde 13 years ago
NEWS Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Additional renaming of kde to tde 13 years ago
TODO Additional kde to tde renaming 13 years ago
configure.in.in Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
koala.kdevprj Additional renaming of kde to tde 13 years ago

README

/***************************************************************************
 * 	(C) 2000-2003 Lost Highway Ltd. All rights reserved.               *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

Here are Java JNI based api bindings for KDE 3.2.

All the C++/Java files in this project are generated from the KDE 3.2 C++ headers,
apart from the following:

KDESupport.cpp
KDESupport.h
	C++ static type conversion methods; Java <--> C++
	
BUILD INSTRUCTIONS

1)  Ensure that the tdebindings/qtjava project has been built first.
    $ cd tdebindings/kdejava
    $ make
    $ make install

  The koala.jar file is installed in $(kde_libraries)/java.You will need to add
  qtjava.jar and koala.jar to your classpath.

2) That's it - you should be able to compile and run the Java example
   kdejava/koala/examples/kscribble by typing:

	$ javac *.java
	$ java Main

3) If you wish to write KDE Java applications, include the following in the class which has a main() function:

	static {
		qtjava.initialize();
		kdejava.initialize();
	}

It will load the KDE Java 'libkdejava.so' and 'libqtjava.so' shared libraries

4)
# Generate documentation
cd kdejava/koala/api
javadoc -classpath "../koala.jar:../../../qtjava/javalib/qtjava.jar" \
  -author -version -splitindex -windowtitle  "Koala KDE 3.2 Java api" ../org/kde/koala/*.java -J-Xmx128m