Rename KApplication to TDEApplication to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 8a69eba2f0
commit 95c43a0f38

@ -7,7 +7,7 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KApplication app(argc, argv, "test-server", false, false); TDEApplication app(argc, argv, "test-server", false, false);
app.dcopClient()->registerAs("test-server", false); app.dcopClient()->registerAs("test-server", false);

@ -26,7 +26,7 @@ int main(int argc, char **argv)
about.addAuthor( "Julian Rockey", 0, "kde@jrockey.com" ); about.addAuthor( "Julian Rockey", 0, "kde@jrockey.com" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KApplication app; TDEApplication app;
KDEDcopTest *mainWin = 0; KDEDcopTest *mainWin = 0;
if (app.isRestored()) if (app.isRestored())

@ -208,7 +208,7 @@
- In Invoke() the method call will be looked up dynamically from the Smoke runtime - In Invoke() the method call will be looked up dynamically from the Smoke runtime
- The arguments are marsalled from C# to C++ on the Smoke::Stack, and the method - The arguments are marsalled from C# to C++ on the Smoke::Stack, and the method
invoked. invoked.
* The KDE doc comments are converted to C# xml style tags (eg KApplication.cs) * The KDE doc comments are converted to C# xml style tags (eg TDEApplication.cs)
* Problems * Problems
- A small fix was need for RealProxies with Mono 0.30. DotGnu doesn't have - A small fix was need for RealProxies with Mono 0.30. DotGnu doesn't have
RealProxies/remoting yet. RealProxies/remoting yet.

@ -300,7 +300,7 @@ BEGIN
'Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, 'Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1,
'Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, 'Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1,
'Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, 'Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1,
'Java_org_kde_koala_KApplication_setJavaSlotFactory' => 1, 'Java_org_kde_koala_TDEApplication_setJavaSlotFactory' => 1,
'Java_org_kde_koala_KMainWindow_memberList' => 1, 'Java_org_kde_koala_KMainWindow_memberList' => 1,
'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2' => 1, 'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2' => 1,
'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Lorg_kde_koala_KAboutData_2' => 1, 'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Lorg_kde_koala_KAboutData_2' => 1,
@ -1639,7 +1639,7 @@ EOF
#include <kdejava/KDEJavaSlot.h> #include <kdejava/KDEJavaSlot.h>
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_org_kde_koala_KApplication_setJavaSlotFactory(JNIEnv* env, jclass cls) Java_org_kde_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls)
{ {
(void) env; (void) env;
(void) cls; (void) cls;
@ -2417,7 +2417,7 @@ sub preParseClass
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
$className eq 'KApplicationPropsPlugin' || $className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KPrinter' || $className eq 'KPrinter' ||
$className eq 'KPty' || $className eq 'KPty' ||
$className eq 'KOpenWithHandler' || $className eq 'KOpenWithHandler' ||
@ -3081,7 +3081,7 @@ sub writeClassDoc
$jniCode .= $kcmdlineargsjniExtras; $jniCode .= $kcmdlineargsjniExtras;
} elsif ( $className eq 'KIO::Scheduler' ) { } elsif ( $className eq 'KIO::Scheduler' ) {
$jniCode .= $schedulerjniExtras; $jniCode .= $schedulerjniExtras;
} elsif ( $className eq 'KApplication' ) { } elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras; print CLASS $kapplicationExtras;
$jniCode .= $kapplicationjniExtras; $jniCode .= $kapplicationjniExtras;
} elsif ( $className eq 'KMainWindow' ) { } elsif ( $className eq 'KMainWindow' ) {

@ -724,7 +724,7 @@ sub preParseClass
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
$className eq 'KApplicationPropsPlugin' || $className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KPrinter' || $className eq 'KPrinter' ||
$className eq 'KPty' || $className eq 'KPty' ||
$className eq 'KOpenWithHandler' || $className eq 'KOpenWithHandler' ||
@ -1318,7 +1318,7 @@ sub writeClassDoc
print CLASS $qpointarrayExtras; print CLASS $qpointarrayExtras;
} elsif ( $className eq 'TQUriDrag' ) { } elsif ( $className eq 'TQUriDrag' ) {
print CLASS $quridragExtras; print CLASS $quridragExtras;
} elsif ( $className eq 'KApplication' ) { } elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras; print CLASS $kapplicationExtras;
} elsif ( $className eq 'KMainWindow' ) { } elsif ( $className eq 'KMainWindow' ) {
print CLASS $kmainwindowExtras; print CLASS $kmainwindowExtras;

@ -744,7 +744,7 @@ sub preParseClass
$className eq 'KEditListBox::CustomEditor' || $className eq 'KEditListBox::CustomEditor' ||
$className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
$className eq 'KApplicationPropsPlugin' || $className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KPrinter' || $className eq 'KPrinter' ||
$className eq 'KPty' || $className eq 'KPty' ||
$className eq 'KOpenWithHandler' || $className eq 'KOpenWithHandler' ||
@ -1345,7 +1345,7 @@ sub writeClassDoc
print CLASS $qsizepolicyExtras; print CLASS $qsizepolicyExtras;
} elsif ( $className eq 'TQUriDrag' ) { } elsif ( $className eq 'TQUriDrag' ) {
print CLASS $quridragExtras; print CLASS $quridragExtras;
} elsif ( $className eq 'KApplication' ) { } elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras; print CLASS $kapplicationExtras;
} elsif ( $className eq 'KMainWindow' ) { } elsif ( $className eq 'KMainWindow' ) {
print CLASS $kmainwindowExtras; print CLASS $kmainwindowExtras;

@ -380,7 +380,7 @@ sub preParseClass
$className eq 'KExtendedSocket' || $className eq 'KExtendedSocket' ||
$className eq 'KSocket' || $className eq 'KSocket' ||
$className eq 'KPerDomainSettings' || $className eq 'KPerDomainSettings' ||
$className eq 'KApplicationPropsPlugin' || $className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KOpenWithHandler' || $className eq 'KOpenWithHandler' ||
$className eq 'KFileOpenWithHandler' || $className eq 'KFileOpenWithHandler' ||
$className eq 'KBindingPropsPlugin' || $className eq 'KBindingPropsPlugin' ||

@ -731,9 +731,9 @@ BEGIN
'KAlphaPainter*' => 'kde_KAlphaPainter*', 'KAlphaPainter*' => 'kde_KAlphaPainter*',
'KAnimWidget*' => 'kde_KAnimWidget*' , 'KAnimWidget*' => 'kde_KAnimWidget*' ,
'KAppTreeListItem*' => 'kde_KAppTreeListItem*' , 'KAppTreeListItem*' => 'kde_KAppTreeListItem*' ,
'KApplication*' => 'kde_KApplication*' , 'TDEApplication*' => 'kde_TDEApplication*' ,
'KApplicationPropsPlugin*' => 'kde_KApplicationPropsPlugin*', 'TDEApplicationPropsPlugin*' => 'kde_TDEApplicationPropsPlugin*',
'KApplicationTree*' => 'kde_KApplicationTree*', 'TDEApplicationTree*' => 'kde_TDEApplicationTree*',
'KArchive*' => 'kde_KArchive*', 'KArchive*' => 'kde_KArchive*',
'KArchiveDirectory*' => 'kde_KArchiveDirectory*', 'KArchiveDirectory*' => 'kde_KArchiveDirectory*',
'KArchiveEntry*' => 'kde_KArchiveEntry*', 'KArchiveEntry*' => 'kde_KArchiveEntry*',

@ -31,9 +31,9 @@ NOTES ON THE NEW FORMAT
<VERSION="2.0"> <VERSION="2.0">
<BASE URL="http://www.kde.org/API/tdecore/"> <BASE URL="http://www.kde.org/API/tdecore/">
<C NAME="KApplication" REF="KApplication.html"> <C NAME="TDEApplication" REF="TDEApplication.html">
<IN NAME="TQObject"> <IN NAME="TQObject">
<ME NAME="getConfig" REF="KApplication.html#getConfig"> <ME NAME="getConfig" REF="TDEApplication.html#getConfig">
<M NAME="" REF=""> <M NAME="" REF="">
</C> </C>

File diff suppressed because one or more lines are too long

@ -11,7 +11,7 @@ import org.kde.koala.*;
* KBase reimplements the methods that KMainWindow provides for main window handling and supports * KBase reimplements the methods that KMainWindow provides for main window handling and supports
* full session management as well as using KActions. * full session management as well as using KActions.
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* *
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.

@ -12,7 +12,7 @@ import org.kde.koala.*;
* KScribbleApp reimplements the methods that KMainWindow provides for main window handling and supports * KScribbleApp reimplements the methods that KMainWindow provides for main window handling and supports
* full session management as well as keyboard accelerator configuration by using KAccel. * full session management as well as keyboard accelerator configuration by using KAccel.
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* @see KAccel * @see KAccel
* *
@ -50,14 +50,14 @@ public class KScribbleApp extends KMainWindow implements Resource {
private TQPrinter printer; private TQPrinter printer;
private int untitledCount = 0; private int untitledCount = 0;
private ArrayList pDocList; private ArrayList pDocList;
private KApplication kapp; private TDEApplication kapp;
private KIconLoader k = new KIconLoader(); private KIconLoader k = new KIconLoader();
/** construtor of KScribbleApp, calls all init functions to create the application. /** construtor of KScribbleApp, calls all init functions to create the application.
*/ */
public KScribbleApp(TQWidget parent, String name) { public KScribbleApp(TQWidget parent, String name) {
super(parent,name, 0); super(parent,name, 0);
kapp = KApplication.kApplication(); kapp = TDEApplication.kApplication();
config=kapp.config(); config=kapp.config();
printer = new TQPrinter(); printer = new TQPrinter();
@ -635,7 +635,7 @@ public class KScribbleApp extends KMainWindow implements Resource {
} }
/** saves the window properties for each open window during session end to the session config file, including saving the currently /** saves the window properties for each open window during session end to the session config file, including saving the currently
* opened file by a temporary filename provided by KApplication. * opened file by a temporary filename provided by TDEApplication.
* @see KTMainWindow#saveProperties * @see KTMainWindow#saveProperties
*/ */
protected void saveProperties(KConfig _cfg) { protected void saveProperties(KConfig _cfg) {

@ -6,7 +6,7 @@ import org.kde.koala.*;
/** KScribbleDoc provides a document object for a document-view model. /** KScribbleDoc provides a document object for a document-view model.
* *
* The KScribbleDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KScribbleView * The KScribbleDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KScribbleView
* to create a document-view model for standard KDE applications based on KApplication and KMainWindow. Thereby, the document object * to create a document-view model for standard KDE applications based on TDEApplication and KMainWindow. Thereby, the document object
* is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document
* data by KScribbleView objects. Also, KScribbleDoc contains the methods for serialization of the document data from and to files. * data by KScribbleView objects. Also, KScribbleDoc contains the methods for serialization of the document data from and to files.
* *

@ -21,7 +21,7 @@ import org.kde.koala.*;
* KBase reimplements the methods that KMainWindow provides for main window handling and supports * KBase reimplements the methods that KMainWindow provides for main window handling and supports
* full session management as well as using KActions. * full session management as well as using KActions.
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* *
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
@ -46,7 +46,7 @@ static String VERSION = "0.1";
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KImageIO.registerFormats(); KImageIO.registerFormats();
KScribbleApp kscribbleapp = new KScribbleApp(); KScribbleApp kscribbleapp = new KScribbleApp();

@ -40,9 +40,9 @@ class SimpleMailFrm extends KMainWindow {
TQGridLayout form1Layout; TQGridLayout form1Layout;
TQGridLayout groupBox1Layout; TQGridLayout groupBox1Layout;
KApplication parentApp = null; TDEApplication parentApp = null;
public SimpleMailFrm(KApplication kApp) public SimpleMailFrm(TDEApplication kApp)
{ {
super( null, null,0); super( null, null,0);

@ -14,7 +14,7 @@ import org.kde.koala.*;
* Note:The javamail and activation jar files have to be in your classpath! * Note:The javamail and activation jar files have to be in your classpath!
* *
*/ */
public class SimpleMailer extends KApplication{ public class SimpleMailer extends TDEApplication{
static { static {
qtjava.initialize(); qtjava.initialize();
kdejava.initialize(); kdejava.initialize();

File diff suppressed because it is too large Load Diff

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */ /* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KApplication__ #ifndef __org_kde_koala_TDEApplication__
#define __org_kde_koala_KApplication__ #define __org_kde_koala_TDEApplication__
#include <jni.h> #include <jni.h>
@ -10,158 +10,158 @@ extern "C"
{ {
#endif #endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_metaObject (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_className (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newKApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newKApplication__Z (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__Z (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newKApplication__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_sessionConfig (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sessionConfig (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_isRestored (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isRestored (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_disableSessionManagement (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableSessionManagement (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_enableSessionManagement (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableSessionManagement (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_requestShutDown__III (JNIEnv *env, jobject, jint, jint, jint); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__III (JNIEnv *env, jobject, jint, jint, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_requestShutDown__II (JNIEnv *env, jobject, jint, jint); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_requestShutDown__I (JNIEnv *env, jobject, jint); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_requestShutDown__ (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_propagateSessionManager (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_propagateSessionManager (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_commitData (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_commitData (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_saveState (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_saveState (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_sessionSaving (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_sessionSaving (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_icon (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_icon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_iconName (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_iconName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_miniIcon (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_miniIcon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_miniIconName (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_miniIconName (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_setTopWidget (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setTopWidget (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeHelp__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_caption (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_caption (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_makeStdCaption__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_makeStdCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_makeStdCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_tempSaveName (JNIEnv *env, jobject, jstring); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_tempSaveName (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_checkRecoverFile (JNIEnv *env, jobject, jstring, jboolean); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_checkRecoverFile (JNIEnv *env, jobject, jstring, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_enableStyles (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableStyles (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_disableStyles (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableStyles (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_installX11EventFilter (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installX11EventFilter (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_removeX11EventFilter (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeX11EventFilter (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_addKipcEventMask (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addKipcEventMask (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_removeKipcEventMask (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeKipcEventMask (JNIEnv *env, jobject, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_startupId (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_startupId (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_setStartupId (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setStartupId (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_updateUserTimestamp__ (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__ (JNIEnv *env, jobject);
extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KApplication_userTimestamp (JNIEnv *env, jobject); extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEApplication_userTimestamp (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_geometryArgument (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_geometryArgument (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_installKDEPropertyMap (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installKDEPropertyMap (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_authorize (JNIEnv *env, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorize (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_authorizeKAction (JNIEnv *env, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeKAction (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_authorizeURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeURLAction (JNIEnv *env, jobject, jstring, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_allowURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_allowURLAction (JNIEnv *env, jobject, jstring, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_authorizeControlModule (JNIEnv *env, jobject, jstring); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModule (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_notify (JNIEnv *env, jobject, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_notify (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeBrowser__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_cut (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_cut (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_copy (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_copy (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_paste (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_paste (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_clear (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_clear (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_selectAll (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_selectAll (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_ref (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_ref (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_deref (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_deref (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_addCmdLineOptions (JNIEnv *env, jclass); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addCmdLineOptions (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_kApplication (JNIEnv *env, jclass); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_kApplication (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_dcopClient (JNIEnv *env, jclass); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dcopClient (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_disableAutoDcopRegistration (JNIEnv *env, jclass); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_launcher (JNIEnv *env, jclass); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_launcher (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopPath__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_startServiceByDesktopName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExec__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_tdeinitExecWait__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_random (JNIEnv *env, jclass); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_random (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_randomString (JNIEnv *env, jclass, jint); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_randomString (JNIEnv *env, jclass, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_keyboardMouseState (JNIEnv *env, jclass); extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_keyboardMouseState (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_startKdeinit (JNIEnv *env, jclass); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_startKdeinit (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_createApplicationPalette__ (JNIEnv *env, jclass); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__ (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_createApplicationPalette__Lorg_kde_koala_KConfig_2I (JNIEnv *env, jclass, jobject, jint); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__Lorg_kde_koala_KConfig_2I (JNIEnv *env, jclass, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_installSigpipeHandler (JNIEnv *env, jclass); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installSigpipeHandler (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_guiEnabled (JNIEnv *env, jclass); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_guiEnabled (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newKApplication__ZZLorg_kde_koala_KInstanceInterface_2 (JNIEnv *env, jobject, jboolean, jboolean, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZLorg_kde_koala_KInstanceInterface_2 (JNIEnv *env, jobject, jboolean, jboolean, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_invokeEditSlot (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeEditSlot (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_finalize (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_dispose (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_isDisposed (JNIEnv *env, jobject); extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_dirs (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dirs (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_config (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_config (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_sharedConfig (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sharedConfig (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_iconLoader (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_iconLoader (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newIconLoader (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newIconLoader (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_aboutData (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_aboutData (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_instanceName (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_instanceName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_mimeSourceFactory (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_mimeSourceFactory (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_setConfigName (JNIEnv *env, jobject, jstring); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setConfigName (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_setJavaSlotFactory (JNIEnv *env, jclass); extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setJavaSlotFactory (JNIEnv *env, jclass);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* __org_kde_koala_KApplication__ */ #endif /* __org_kde_koala_TDEApplication__ */

File diff suppressed because one or more lines are too long

@ -13,7 +13,7 @@ import org.kde.qt.TQObject;
Inter-process communication and remote procedure calls Inter-process communication and remote procedure calls
for KDE applications. for KDE applications.
This class provides IPC and RPC for KDE applications. Usually you This class provides IPC and RPC for KDE applications. Usually you
will not have to instantiate one yourself because KApplication will not have to instantiate one yourself because TDEApplication
contains a method to return a pointer to a DCOPClient object which contains a method to return a pointer to a DCOPClient object which
can be used for your whole application. can be used for your whole application.
Before being able to send or receive any DCOP messages, you will have Before being able to send or receive any DCOP messages, you will have
@ -34,7 +34,7 @@ import org.kde.qt.TQObject;
@author Preston Brown <pbrown@kde.org>, Matthias Ettrich <ettrich@kde.org> @author Preston Brown <pbrown@kde.org>, Matthias Ettrich <ettrich@kde.org>
@short Inter-process communication and remote procedure calls for KDE applications. @short Inter-process communication and remote procedure calls for KDE applications.
@see KApplication#dcopClient @see TDEApplication#dcopClient
*/ */
public class DCOPClient extends TQObject { public class DCOPClient extends TQObject {
@ -564,7 +564,7 @@ public class DCOPClient extends TQObject {
Returns the application's main dcop client. The main client can Returns the application's main dcop client. The main client can
be used by objects that do not have any specific access to a dcop be used by objects that do not have any specific access to a dcop
client. In KDE applications, the main client usually is the same client. In KDE applications, the main client usually is the same
as KApplication.dcopClient(). as TDEApplication.dcopClient().
@return the application's main dcop client @return the application's main dcop client
@short Returns the application's main dcop client. @short Returns the application's main dcop client.
@ -574,7 +574,7 @@ public class DCOPClient extends TQObject {
Sets the application's main dcop client. The main client can Sets the application's main dcop client. The main client can
be used by objects that do not have any specific access to a dcop be used by objects that do not have any specific access to a dcop
client. In KDE applications, the main client usually is the same client. In KDE applications, the main client usually is the same
as KApplication.dcopClient(). as TDEApplication.dcopClient().
@param mainClient the new main dcop client @param mainClient the new main dcop client
@short Sets the application's main dcop client. @short Sets the application's main dcop client.
*/ */

@ -41,7 +41,7 @@ public interface DCOPClientSignals {
(i.e. more than 1/10 of a second) for an answer to a (i.e. more than 1/10 of a second) for an answer to a
synchronous call. In that case, it will enter a local event synchronous call. In that case, it will enter a local event
loop to keep the GUI updated until finally an answer arrives. loop to keep the GUI updated until finally an answer arrives.
In KDE, the KApplication object connects to this signal to be In KDE, the TDEApplication object connects to this signal to be
able to block any user input (i.e. mouse and key events) while able to block any user input (i.e. mouse and key events) while
we are waiting for an answer. If we did not do this, the we are waiting for an answer. If we did not do this, the
application might end up in an illegal state, as a keyboard application might end up in an illegal state, as a keyboard

@ -35,13 +35,13 @@ import org.kde.qt.TQApplication;
Installs a signal handler for the SIGCHLD signal in order to Installs a signal handler for the SIGCHLD signal in order to
avoid zombie children. If you want to catch this signal yourself or avoid zombie children. If you want to catch this signal yourself or
don't want it to be caught at all, you have set a new signal handler don't want it to be caught at all, you have set a new signal handler
(or SIG_IGN) after KApplication's constructor has run. (or SIG_IGN) after TDEApplication's constructor has run.
</li> </li>
<li> <li>
Installs an empty signal handler for the SIGPIPE signal using Installs an empty signal handler for the SIGPIPE signal using
installSigpipeHandler(). If you want to catch this signal installSigpipeHandler(). If you want to catch this signal
yourself, you have set a new signal handler after KApplication's yourself, you have set a new signal handler after TDEApplication's
constructor has run. constructor has run.
</li> </li>
@ -69,14 +69,14 @@ import org.kde.qt.TQApplication;
Only start the service if it isn't already running, Only start the service if it isn't already running,
wait until the service has registered with dcop. wait until the service has registered with dcop.
</li> </li>
See {@link KApplicationSignals} for signals emitted by KApplication See {@link TDEApplicationSignals} for signals emitted by TDEApplication
@author Matthias Kalle Dalheimer <kalle@kde.org> @author Matthias Kalle Dalheimer <kalle@kde.org>
@short Controls and provides information to all KDE applications. @short Controls and provides information to all KDE applications.
*/ */
public class KApplication extends TQApplication implements KInstanceInterface { public class TDEApplication extends TQApplication implements KInstanceInterface {
protected KApplication(Class dummy){super((Class) null);} protected TDEApplication(Class dummy){super((Class) null);}
public static final int ShiftModifier = 1<<0; public static final int ShiftModifier = 1<<0;
public static final int LockModifier = 1<<1; public static final int LockModifier = 1<<1;
public static final int ControlModifier = 1<<2; public static final int ControlModifier = 1<<2;
@ -155,21 +155,21 @@ public class KApplication extends TQApplication implements KInstanceInterface {
no styles either. no styles either.
@short This constructor takes aboutData and command line arguments from KCmdLineArgs. @short This constructor takes aboutData and command line arguments from KCmdLineArgs.
*/ */
public KApplication(boolean allowStyles, boolean GUIenabled) { public TDEApplication(boolean allowStyles, boolean GUIenabled) {
super((Class) null); super((Class) null);
newKApplication(allowStyles,GUIenabled); newTDEApplication(allowStyles,GUIenabled);
} }
private native void newKApplication(boolean allowStyles, boolean GUIenabled); private native void newTDEApplication(boolean allowStyles, boolean GUIenabled);
public KApplication(boolean allowStyles) { public TDEApplication(boolean allowStyles) {
super((Class) null); super((Class) null);
newKApplication(allowStyles); newTDEApplication(allowStyles);
} }
private native void newKApplication(boolean allowStyles); private native void newTDEApplication(boolean allowStyles);
public KApplication() { public TDEApplication() {
super((Class) null); super((Class) null);
newKApplication(); newTDEApplication();
} }
private native void newKApplication(); private native void newTDEApplication();
/** /**
Returns the application session config object. Returns the application session config object.
@return A pointer to the application's instance specific @return A pointer to the application's instance specific
@ -405,7 +405,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/** /**
Enables style plugins. Enables style plugins.
This is useful only to applications that normally This is useful only to applications that normally
do not display a GUI and create the KApplication with do not display a GUI and create the TDEApplication with
allowStyles set to false. allowStyles set to false.
@short Enables style plugins. @short Enables style plugins.
*/ */
@ -657,17 +657,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
*/ */
public native void selectAll(); public native void selectAll();
/** /**
Tells KApplication about one more operation that should be finished Tells TDEApplication about one more operation that should be finished
before the application exits. The standard behavior is to exit on the before the application exits. The standard behavior is to exit on the
"last window closed" event, but some events should outlive the last window closed "last window closed" event, but some events should outlive the last window closed
(e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client). (e.g. a file copy for a file manager, or 'compacting folders on exit' for a mail client).
@short Tells KApplication about one more operation that should be finished before the application exits. @short Tells TDEApplication about one more operation that should be finished before the application exits.
*/ */
public native void ref(); public native void ref();
/** /**
Tells KApplication that one operation such as those described in ref() just finished. Tells TDEApplication that one operation such as those described in ref() just finished.
The application exits if the counter is back to 0. The application exits if the counter is back to 0.
@short Tells KApplication that one operation such as those described in ref() just finished. @short Tells TDEApplication that one operation such as those described in ref() just finished.
*/ */
public native void deref(); public native void deref();
/** /**
@ -678,7 +678,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/** /**
Returns the current application object. Returns the current application object.
This is similar to the global TQApplication pointer tqApp. It This is similar to the global TQApplication pointer tqApp. It
allows access to the single global KApplication object, since allows access to the single global TDEApplication object, since
more than one cannot be created in the same application. It more than one cannot be created in the same application. It
saves you the trouble of having to pass the pointer explicitly saves you the trouble of having to pass the pointer explicitly
to every function that may require it. to every function that may require it.
@ -686,7 +686,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
@short Returns the current application object. @short Returns the current application object.
*/ */
public static native KApplication kApplication(); public static native TDEApplication kApplication();
/** /**
Returns a pointer to a DCOPClient for the application. Returns a pointer to a DCOPClient for the application.
If a client does not exist yet, it is created when this If a client does not exist yet, it is created when this
@ -698,8 +698,8 @@ public class KApplication extends TQApplication implements KInstanceInterface {
public static native DCOPClient dcopClient(); public static native DCOPClient dcopClient();
/** /**
Disable automatic dcop registration Disable automatic dcop registration
Must be called before creating a KApplication instance to have an effect. Must be called before creating a TDEApplication instance to have an effect.
@short Disable automatic dcop registration Must be called before creating a KApplication instance to have an effect. @short Disable automatic dcop registration Must be called before creating a TDEApplication instance to have an effect.
*/ */
public static native void disableAutoDcopRegistration(); public static native void disableAutoDcopRegistration();
/** /**
@ -967,7 +967,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
Installs a handler for the SIGPIPE signal. It is thrown when you write to Installs a handler for the SIGPIPE signal. It is thrown when you write to
a pipe or socket that has been closed. a pipe or socket that has been closed.
The handler is installed automatically in the constructor, but you may The handler is installed automatically in the constructor, but you may
need it if your application or component does not have a KApplication need it if your application or component does not have a TDEApplication
instance. instance.
@short Installs a handler for the SIGPIPE signal. @short Installs a handler for the SIGPIPE signal.
*/ */
@ -980,17 +980,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/** /**
@short @short
*/ */
public KApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) { public TDEApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) {
super((Class) null); super((Class) null);
newKApplication(allowStyles,GUIenabled,_instance); newTDEApplication(allowStyles,GUIenabled,_instance);
} }
private native void newKApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance); private native void newTDEApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance);
/** /**
This method is used internally to determine which edit slots are implemented This method is used internally to determine which edit slots are implemented
by the widget that has the focus, and to invoke those slots if available. by the widget that has the focus, and to invoke those slots if available.
@param slot is the slot as returned using the SLOT() macro, for example SLOT("cut()") @param slot is the slot as returned using the SLOT() macro, for example SLOT("cut()")
This method can be used in KApplication subclasses to implement application wide This method can be used in TDEApplication subclasses to implement application wide
edit actions not supported by the KApplication class. For example (in your subclass): edit actions not supported by the TDEApplication class. For example (in your subclass):
<pre> <pre>
void MyApplication.deselect() void MyApplication.deselect()
{ {

@ -11,38 +11,38 @@ import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget; import org.kde.qt.TQWidget;
import org.kde.qt.TQPalette; import org.kde.qt.TQPalette;
public interface KApplicationSignals { public interface TDEApplicationSignals {
/** /**
Emitted when KApplication has changed its palette due to a KControl request. Emitted when TDEApplication has changed its palette due to a KControl request.
Normally, widgets will update their palette automatically, but you Normally, widgets will update their palette automatically, but you
should connect to this to program special behavior. should connect to this to program special behavior.
@short Emitted when KApplication has changed its palette due to a KControl request. @short Emitted when TDEApplication has changed its palette due to a KControl request.
*/ */
void kdisplayPaletteChanged(); void kdisplayPaletteChanged();
/** /**
Emitted when KApplication has changed its GUI style in response to a KControl request. Emitted when TDEApplication has changed its GUI style in response to a KControl request.
Normally, widgets will update their styles automatically (as they would Normally, widgets will update their styles automatically (as they would
respond to an explicit setGUIStyle() call), but you should connect to respond to an explicit setGUIStyle() call), but you should connect to
this to program special behavior. this to program special behavior.
@short Emitted when KApplication has changed its GUI style in response to a KControl request. @short Emitted when TDEApplication has changed its GUI style in response to a KControl request.
*/ */
void kdisplayStyleChanged(); void kdisplayStyleChanged();
/** /**
Emitted when KApplication has changed its font in response to a KControl request. Emitted when TDEApplication has changed its font in response to a KControl request.
Normally widgets will update their fonts automatically, but you should Normally widgets will update their fonts automatically, but you should
connect to this to monitor global font changes, especially if you are connect to this to monitor global font changes, especially if you are
using explicit fonts. using explicit fonts.
Note: If you derive from a TQWidget-based class, a faster method is to Note: If you derive from a TQWidget-based class, a faster method is to
reimplement TQWidget.fontChange(). This is the preferred way reimplement TQWidget.fontChange(). This is the preferred way
to get informed about font updates. to get informed about font updates.
@short Emitted when KApplication has changed its font in response to a KControl request. @short Emitted when TDEApplication has changed its font in response to a KControl request.
*/ */
void kdisplayFontChanged(); void kdisplayFontChanged();
/** /**
Emitted when KApplication has changed either its GUI style, its font or its palette Emitted when TDEApplication has changed either its GUI style, its font or its palette
in response to a kdisplay request. Normally, widgets will update their styles in response to a kdisplay request. Normally, widgets will update their styles
automatically, but you should connect to this to program special automatically, but you should connect to this to program special
behavior. @short Emitted when KApplication has changed either its GUI style, its font or its palette in response to a kdisplay request. behavior. @short Emitted when TDEApplication has changed either its GUI style, its font or its palette in response to a kdisplay request.
*/ */
void appearanceChanged(); void appearanceChanged();
/** /**
@ -58,10 +58,10 @@ public interface KApplicationSignals {
void backgroundChanged(int desk); void backgroundChanged(int desk);
/** /**
Emitted when the global settings have been changed - see KGlobalSettings Emitted when the global settings have been changed - see KGlobalSettings
KApplication takes care of calling reparseConfiguration on KGlobal.config() TDEApplication takes care of calling reparseConfiguration on KGlobal.config()
so that applications/classes using this only have to re-read the configuration so that applications/classes using this only have to re-read the configuration
@param category the category among the enum above @param category the category among the enum above
@short Emitted when the global settings have been changed - see KGlobalSettings KApplication takes care of calling reparseConfiguration on KGlobal.config() so that applications/classes using this only have to re-read the configuration @short Emitted when the global settings have been changed - see KGlobalSettings TDEApplication takes care of calling reparseConfiguration on KGlobal.config() so that applications/classes using this only have to re-read the configuration
*/ */
void settingsChanged(int category); void settingsChanged(int category);
/** /**

@ -28,7 +28,7 @@ import java.util.ArrayList;
KUniqueApplication app; KUniqueApplication app;
.... ....
// Handle our own options/arguments // Handle our own options/arguments
// A KApplication will usually do this in main but this is not // A TDEApplication will usually do this in main but this is not
// necessary. // necessary.
// A KUniqueApplication might want to handle it in newInstance(). // A KUniqueApplication might want to handle it in newInstance().
KCmdLineArgs args = KCmdLineArgs.parsedArgs(); KCmdLineArgs args = KCmdLineArgs.parsedArgs();
@ -249,7 +249,7 @@ public class KCmdLineArgs implements QtSupport {
@param _description A short description of what your application is about. @param _description A short description of what your application is about.
@param _version A version. @param _version A version.
@param noKApp Set this true to not add commandline options for @param noKApp Set this true to not add commandline options for
TQApplication / KApplication TQApplication / TDEApplication
@short Initialize class. @short Initialize class.
*/ */
public static native void init(String[] _argv, String _appname, String programName, String _description, String _version, boolean noKApp); public static native void init(String[] _argv, String _appname, String programName, String _description, String _version, boolean noKApp);
@ -262,7 +262,7 @@ public class KCmdLineArgs implements QtSupport {
@param _argv As passed to <code>main</code>(...). @param _argv As passed to <code>main</code>(...).
@param about A KAboutData object describing your program. @param about A KAboutData object describing your program.
@param noKApp Set this true to not add commandline options for @param noKApp Set this true to not add commandline options for
TQApplication / KApplication TQApplication / TDEApplication
@short Initialize class. @short Initialize class.
*/ */
public static native void init(String[] _argv, KAboutData about, boolean noKApp); public static native void init(String[] _argv, KAboutData about, boolean noKApp);
@ -445,8 +445,8 @@ public class KCmdLineArgs implements QtSupport {
public static native void setCwd(String cwd); public static native void setCwd(String cwd);
/** /**
Reset all option definitions, i.e. cancel all addCmdLineOptions calls. Reset all option definitions, i.e. cancel all addCmdLineOptions calls.
Note that KApplication's options are removed too, you might want to Note that TDEApplication's options are removed too, you might want to
call KApplication.addCmdLineOptions if you want them back. call TDEApplication.addCmdLineOptions if you want them back.
You usually don't want to call this method. You usually don't want to call this method.
@short Reset all option definitions, i. @short Reset all option definitions, i.
*/ */

@ -360,7 +360,7 @@ public class KHTMLPart extends ReadOnlyPart {
Please note that enabling this option currently automatically disables Javascript, Please note that enabling this option currently automatically disables Javascript,
Java and Plugins support. This might change in the future if the security model Java and Plugins support. This might change in the future if the security model
is becoming more sophisticated, so don't rely on this behaviour. is becoming more sophisticated, so don't rely on this behaviour.
( default false - everything is loaded unless forbidden by KApplication.authorizeURLAction). ( default false - everything is loaded unless forbidden by TDEApplication.authorizeURLAction).
@short Security option. @short Security option.
*/ */
public native void setOnlyLocalReferences(boolean enable); public native void setOnlyLocalReferences(boolean enable);

@ -15,14 +15,14 @@ import org.kde.qt.QtSupport;
For anything more complex it is recommended to use DCOP -- the Desktop For anything more complex it is recommended to use DCOP -- the Desktop
Communications Protocol. Communications Protocol.
Messages with id code < 32 are called "System Messages". These are Messages with id code < 32 are called "System Messages". These are
directly handled by KApplication. Examples are: PaletteChanged and directly handled by TDEApplication. Examples are: PaletteChanged and
StyleChanged. Messages with id code >= 32 are user messages. KApplication StyleChanged. Messages with id code >= 32 are user messages. TDEApplication
emits the signal kipcMessage(id,arg) for each user message it receives. emits the signal kipcMessage(id,arg) for each user message it receives.
KIPC is implemented using X11 ClientMessage events. KIPC is implemented using X11 ClientMessage events.
@author Geert Jansen <jansen@kde.org> @author Geert Jansen <jansen@kde.org>
@short This class implements a very simple IPC mechanism for KDE. @short This class implements a very simple IPC mechanism for KDE.
@see KApplication#kipcMessage @see TDEApplication#kipcMessage
*/ */
public class KIPC implements QtSupport { public class KIPC implements QtSupport {

@ -68,7 +68,7 @@ public class KIconLoader implements QtSupport {
Usually, you use the default iconloader, which can be accessed via Usually, you use the default iconloader, which can be accessed via
KGlobal.iconLoader(), so you hardly ever have to create an KGlobal.iconLoader(), so you hardly ever have to create an
iconloader object yourself. That one is the current KInstance's iconloader object yourself. That one is the current KInstance's
(typically KApplication's) iconloader. (typically TDEApplication's) iconloader.
@short Constructs an iconloader. @short Constructs an iconloader.
@see KGlobal#iconLoader @see KGlobal#iconLoader
@see KInstance#iconLoader @see KInstance#iconLoader

@ -31,12 +31,12 @@ public class KInstance implements QtSupport, KInstanceInterface {
private native void newKInstance(String instanceName); private native void newKInstance(String instanceName);
/** /**
Constructor. Constructor.
When building a KInstance that is not your KApplication, When building a KInstance that is not your TDEApplication,
make sure that the KAboutData and the KInstance have the same life time. make sure that the KAboutData and the KInstance have the same life time.
You have to destroy both, since the instance doesn't own the about data. You have to destroy both, since the instance doesn't own the about data.
Don't build a KAboutData on the stack in this case ! Don't build a KAboutData on the stack in this case !
Building a KAboutData on the stack is only ok for usage with Building a KAboutData on the stack is only ok for usage with
KCmdLineArgs and KApplication (not destroyed until the app exits). KCmdLineArgs and TDEApplication (not destroyed until the app exits).
@param aboutData data about this instance (see KAboutData) @param aboutData data about this instance (see KAboutData)
@short Constructor. @short Constructor.
*/ */

@ -121,7 +121,7 @@ public class KLibLoader extends TQObject {
*/ */
public static native KLibLoader self(); public static native KLibLoader self();
/** /**
Internal Method, called by the KApplication destructor. Internal Method, called by the TDEApplication destructor.
Do not call it. Do not call it.
This is what makes it possible to rely on ~KLibFactory This is what makes it possible to rely on ~KLibFactory
being called in all cases, whether the library is unloaded being called in all cases, whether the library is unloaded

@ -37,7 +37,7 @@ import org.kde.qt.TQMainWindow;
Fixed aspect ratios (heightForWidth()) and fixed width widgets are Fixed aspect ratios (heightForWidth()) and fixed width widgets are
not supported. not supported.
KMainWindow will set icon, mini icon and caption, which it gets KMainWindow will set icon, mini icon and caption, which it gets
from KApplication. It provides full session management, and from TDEApplication. It provides full session management, and
will save its position, geometry and positions of toolbars and will save its position, geometry and positions of toolbars and
menubar on logout. If you want to save additional data, reimplement menubar on logout. If you want to save additional data, reimplement
saveProperties() and (to read them again on next login) saveProperties() and (to read them again on next login)
@ -54,7 +54,7 @@ import org.kde.qt.TQMainWindow;
@author Reginald Stadlbauer (reggie@kde.org) Stephan Kulow (coolo@kde.org), Matthias Ettrich (ettrich@kde.org), Chris Schlaeger (cs@kde.org), Sven Radej (radej@kde.org). Maintained by Sven Radej (radej@kde.org) @author Reginald Stadlbauer (reggie@kde.org) Stephan Kulow (coolo@kde.org), Matthias Ettrich (ettrich@kde.org), Chris Schlaeger (cs@kde.org), Sven Radej (radej@kde.org). Maintained by Sven Radej (radej@kde.org)
@short %KDE top level main window. @short %KDE top level main window.
@see KApplication @see TDEApplication
*/ */
public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface { public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface {
@ -635,14 +635,14 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
user interaction). user interaction).
If you need to do serious things on exit (like shutting a If you need to do serious things on exit (like shutting a
dial-up connection down), connect to the signal dial-up connection down), connect to the signal
KApplication.shutDown(). TDEApplication.shutDown().
Default implementation returns <code>true.</code> Returning <code>false</code> will Default implementation returns <code>true.</code> Returning <code>false</code> will
cancel the exiting. In the latter case, the last window will cancel the exiting. In the latter case, the last window will
remain visible. If KApplication.sessionSaving() is true, refusing remain visible. If TDEApplication.sessionSaving() is true, refusing
the exit will also cancel KDE logout. the exit will also cancel KDE logout.
@short Called before the very last window is closed, either by the user or indirectly by the session manager. @short Called before the very last window is closed, either by the user or indirectly by the session manager.
@see #queryClose @see #queryClose
@see KApplication#sessionSaving @see TDEApplication#sessionSaving
*/ */
protected native boolean queryExit(); protected native boolean queryExit();
/** /**
@ -651,7 +651,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
The purpose of this function is to prepare the window in a way that it is The purpose of this function is to prepare the window in a way that it is
safe to close it, i.e. without the user losing some data. safe to close it, i.e. without the user losing some data.
Default implementation returns true. Returning <code>false</code> will cancel Default implementation returns true. Returning <code>false</code> will cancel
the closing, and, if KApplication.sessionSaving() is true, it will also the closing, and, if TDEApplication.sessionSaving() is true, it will also
cancel KDE logout. cancel KDE logout.
Reimplement this function to prevent the user from losing data. Reimplement this function to prevent the user from losing data.
Example: Example:
@ -673,7 +673,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
may be canceled, in which case the document should remain open. may be canceled, in which case the document should remain open.
@short Called before the window is closed, either by the user or indirectly by the session manager. @short Called before the window is closed, either by the user or indirectly by the session manager.
@see #queryExit @see #queryExit
@see KApplication#sessionSaving @see TDEApplication#sessionSaving
*/ */
protected native boolean queryClose(); protected native boolean queryClose();
/** /**

@ -9,7 +9,7 @@ import org.kde.qt.TQMimeSourceFactory;
An extension to TQMimeSourceFactory that uses KIconLoader to An extension to TQMimeSourceFactory that uses KIconLoader to
find images. find images.
Normally you don't have to instantiate this class at all, KApplication does that for Normally you don't have to instantiate this class at all, TDEApplication does that for
you automagically and sets TQMimeSourceFactory.setDefaultFactory(). you automagically and sets TQMimeSourceFactory.setDefaultFactory().
@author Peter Putzer <putzer@kde.org> @author Peter Putzer <putzer@kde.org>

@ -100,7 +100,7 @@ public class KNotifyClient {
Pass the origin-widget's winId() here so that a PassivePopup can be Pass the origin-widget's winId() here so that a PassivePopup can be
placed appropriately. placed appropriately.
Call it by KNotifyClient.event(widget.winId(), "EventName"); Call it by KNotifyClient.event(widget.winId(), "EventName");
It will use KApplication.kApplication.dcopClient() to communicate to It will use TDEApplication.kApplication.dcopClient() to communicate to
the server the server
@param winId The winId() of the widget where the event originates @param winId The winId() of the widget where the event originates
@param message The name of the event @param message The name of the event

@ -33,7 +33,7 @@ import org.kde.qt.TQFrame;
Used by the panel to locate the applet DSO (Dynamic Shared Object) Used by the panel to locate the applet DSO (Dynamic Shared Object)
Example: X-TDE-Library=libexampleapplet Example: X-TDE-Library=libexampleapplet
<li><b>X-TDE-UniqueApplet </b></li> <li><b>X-TDE-UniqueApplet </b></li>
Similar to KApplication and KUniqueApplication there are Similar to TDEApplication and KUniqueApplication there are
two types of panel applets. Use unique applets when it makes no two types of panel applets. Use unique applets when it makes no
sence to run more than one instance of a applet in the panel. A sence to run more than one instance of a applet in the panel. A
good example for unique applets is the taskbar applet. Use normal good example for unique applets is the taskbar applet. Use normal

@ -32,7 +32,7 @@ import org.kde.qt.TQFrame;
Used by the panel to locate the extension DSO (Dynamic Shared Object) Used by the panel to locate the extension DSO (Dynamic Shared Object)
Example: X-TDE-Library=libexampleextension Example: X-TDE-Library=libexampleextension
<li><b>X-TDE-UniqueExtension </b></li> <li><b>X-TDE-UniqueExtension </b></li>
Similar to KApplication and KUniqueApplication there are Similar to TDEApplication and KUniqueApplication there are
two types of panel extensions. Use unique extensions when it makes no two types of panel extensions. Use unique extensions when it makes no
sence to run more than one instance of an extension in the panel. A sence to run more than one instance of an extension in the panel. A
good example for unique extensions is the taskbar extension. Use normal good example for unique extensions is the taskbar extension. Use normal

@ -9,7 +9,7 @@ import org.kde.qt.TQObject;
/** /**
A class for internal use by KProcess only. -- Exactly one instance A class for internal use by KProcess only. -- Exactly one instance
of this class is created by KApplication. of this class is created by TDEApplication.
This class takes care of the actual (UNX) signal handling. This class takes care of the actual (UNX) signal handling.
@author Christian Czezatke <e9025461@student.tuwien.ac.at> @author Christian Czezatke <e9025461@student.tuwien.ac.at>
@ -58,13 +58,13 @@ public class KProcessController extends TQObject {
public native void addProcess(int pid); public native void addProcess(int pid);
/** /**
Create an instance if none exists yet. Create an instance if none exists yet.
Called by KApplication.KApplication() Called by TDEApplication.TDEApplication()
@short Create an instance if none exists yet. @short Create an instance if none exists yet.
*/ */
public static native void ref(); public static native void ref();
/** /**
Destroy the instance if one exists and it is not referenced any more. Destroy the instance if one exists and it is not referenced any more.
Called by KApplication.~KApplication() Called by TDEApplication.~TDEApplication()
@short Destroy the instance if one exists and it is not referenced any more. @short Destroy the instance if one exists and it is not referenced any more.
*/ */
public static native void deref(); public static native void deref();

@ -32,7 +32,7 @@ public class KRandomSequence implements QtSupport {
you need to use kapp.random() instead. you need to use kapp.random() instead.
@param lngSeed Seed to initialize the sequence with. @param lngSeed Seed to initialize the sequence with.
If lngSeed is 0, the sequence is initialized with a value from If lngSeed is 0, the sequence is initialized with a value from
KApplication.random(). TDEApplication.random().
@short Creates a pseudo-random sequence based on the seed lngSeed. @short Creates a pseudo-random sequence based on the seed lngSeed.
*/ */
public KRandomSequence(long lngSeed) { public KRandomSequence(long lngSeed) {
@ -55,7 +55,7 @@ public class KRandomSequence implements QtSupport {
Restart the sequence based on lngSeed. Restart the sequence based on lngSeed.
@param lngSeed Seed to initialize the sequence with. @param lngSeed Seed to initialize the sequence with.
If lngSeed is 0, the sequence is initialized with a value from If lngSeed is 0, the sequence is initialized with a value from
KApplication.random(). TDEApplication.random().
@short Restart the sequence based on lngSeed. @short Restart the sequence based on lngSeed.
*/ */
public native void setSeed(long lngSeed); public native void setSeed(long lngSeed);

@ -11,7 +11,7 @@ import org.kde.qt.TQSessionManager;
base. base.
KSessionManaged makes it possible to provide implementations for KSessionManaged makes it possible to provide implementations for
TQApplication.commitData() and TQApplication.saveState(), without TQApplication.commitData() and TQApplication.saveState(), without
subclassing KApplication. KMainWindow internally makes use of this. subclassing TDEApplication. KMainWindow internally makes use of this.
You don't need to do anything with this class when using You don't need to do anything with this class when using
KMainWindow. Instead, use KMainWindow.saveProperties(), KMainWindow. Instead, use KMainWindow.saveProperties(),
KMainWindow.readProperties(), KMainWindow.queryClose(), KMainWindow.readProperties(), KMainWindow.queryClose(),
@ -32,7 +32,7 @@ public class KSessionManaged implements QtSupport {
private native void newKSessionManaged(); private native void newKSessionManaged();
/** /**
See TQApplication.saveState() for documentation. See TQApplication.saveState() for documentation.
This function is just a convenience version to avoid subclassing KApplication. This function is just a convenience version to avoid subclassing TDEApplication.
Return true to indicate a successful state save or false to Return true to indicate a successful state save or false to
indicate a problem and to halt the shutdown process (will indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ). implicitly call sm.cancel() ).
@ -41,7 +41,7 @@ public class KSessionManaged implements QtSupport {
public native boolean saveState(TQSessionManager sm); public native boolean saveState(TQSessionManager sm);
/** /**
See TQApplication.commitData() for documentation. See TQApplication.commitData() for documentation.
This function is just a convenience version to avoid subclassing KApplication. This function is just a convenience version to avoid subclassing TDEApplication.
Return true to indicate a successful commit of data or false to Return true to indicate a successful commit of data or false to
indicate a problem and to halt the shutdown process (will indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ). implicitly call sm.cancel() ).

@ -124,12 +124,12 @@ import java.util.ArrayList;
<li> <li>
emoticons - Emoticons themes (Since KDE 3.4) emoticons - Emoticons themes (Since KDE 3.4)
</li> </li>
A type that is added by the class KApplication if you use it, is A type that is added by the class TDEApplication if you use it, is
appdata. This one makes the use of the type data a bit easier as it appdata. This one makes the use of the type data a bit easier as it
appends the name of the application. appends the name of the application.
So while you had to .locate("data", "appname/filename") so you can So while you had to .locate("data", "appname/filename") so you can
also write .locate("appdata", "filename") if your KApplication instance also write .locate("appdata", "filename") if your TDEApplication instance
is called "appname" (as set via KApplication's constructor or KAboutData, if is called "appname" (as set via TDEApplication's constructor or KAboutData, if
you use the global KStandardDirs object KGlobal.dirs()). you use the global KStandardDirs object KGlobal.dirs()).
Please note though that you cannot use the "appdata" Please note though that you cannot use the "appdata"
type if you intend to use it in an applet for Kicker because 'appname' would type if you intend to use it in an applet for Kicker because 'appname' would

@ -34,7 +34,7 @@ import org.kde.qt.TQToolBar;
and toggle behavior. and toggle behavior.
KToolBar uses a global config group to load toolbar settings on KToolBar uses a global config group to load toolbar settings on
construction. It will reread this config group on a construction. It will reread this config group on a
KApplication.appearanceChanged() signal. TDEApplication.appearanceChanged() signal.
See {@link KToolBarSignals} for signals emitted by KToolBar See {@link KToolBarSignals} for signals emitted by KToolBar
@author Reginald Stadlbauer <reggie@kde.org>, Stephan Kulow <coolo@kde.org>, Sven Radej <radej@kde.org>. @author Reginald Stadlbauer <reggie@kde.org>, Stephan Kulow <coolo@kde.org>, Sven Radej <radej@kde.org>.

@ -23,11 +23,11 @@ import java.util.ArrayList;
@author Preston Brown <pbrown@kde.org> @author Preston Brown <pbrown@kde.org>
@short Maintains only a single instance of a running application at a time. @short Maintains only a single instance of a running application at a time.
@see KApplication @see TDEApplication
@see DCOPObject @see DCOPObject
*/ */
public class KUniqueApplication extends KApplication implements DCOPObjectInterface { public class KUniqueApplication extends TDEApplication implements DCOPObjectInterface {
protected KUniqueApplication(Class dummy){super((Class) null);} protected KUniqueApplication(Class dummy){super((Class) null);}
public native TQMetaObject metaObject(); public native TQMetaObject metaObject();
public native String className(); public native String className();
@ -37,7 +37,7 @@ public class KUniqueApplication extends KApplication implements DCOPObjectInterf
styles. This is only useful to applications that do not display a GUI styles. This is only useful to applications that do not display a GUI
normally. If you do create an application with <code>allowStyles</code> set to false normally. If you do create an application with <code>allowStyles</code> set to false
it normally runs in the background but under special circumstances it normally runs in the background but under special circumstances
displays widgets. Call KApplication.enableStyles() before displays widgets. Call TDEApplication.enableStyles() before
displaying any widgets. displaying any widgets.
@param GUIenabled Set to false to disable all GUI stuff. This implies @param GUIenabled Set to false to disable all GUI stuff. This implies
no styles either. no styles either.

File diff suppressed because one or more lines are too long

@ -27,7 +27,7 @@ public class kdejava {
public static void initialize() { public static void initialize() {
if (!_initialized) { if (!_initialized) {
System.loadLibrary("kdejava"); System.loadLibrary("kdejava");
KApplication.setJavaSlotFactory(); TDEApplication.setJavaSlotFactory();
_initialized = true; _initialized = true;
} }
} }

@ -17,7 +17,7 @@ public class Test{
"(C) 2002 Gert-Jan van der Heiden"); "(C) 2002 Gert-Jan van der Heiden");
KCmdLineArgs.init( argv, aboutData ); KCmdLineArgs.init( argv, aboutData );
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
app.dcopClient().registerAs("JavaTest", false); app.dcopClient().registerAs("JavaTest", false);
JavaDCOPObject object = new JavaDCOPObject(); JavaDCOPObject object = new JavaDCOPObject();
app.exec(); app.exec();

@ -11,7 +11,7 @@ import org.kde.koala.*;
* KBase reimplements the methods that KMainWindow provides for main window handling and supports * KBase reimplements the methods that KMainWindow provides for main window handling and supports
* full session management as well as using KActions. * full session management as well as using KActions.
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* *
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
@ -55,7 +55,7 @@ public class KBase extends KMainWindow
public KBase(TQWidget parent, String name) public KBase(TQWidget parent, String name)
{ {
super(parent, name, 0); super(parent, name, 0);
KApplication kapp = KApplication.kApplication(); TDEApplication kapp = TDEApplication.kApplication();
config=kapp.config(); config=kapp.config();
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
@ -230,7 +230,7 @@ protected void readOptions()
} }
/** saves the window properties for each open window during session end to the session config file, including saving the currently /** saves the window properties for each open window during session end to the session config file, including saving the currently
* opened file by a temporary filename provided by KApplication. * opened file by a temporary filename provided by TDEApplication.
* @see KTMainWindow#saveProperties * @see KTMainWindow#saveProperties
*/ */
protected void saveProperties(KConfig _cfg) protected void saveProperties(KConfig _cfg)
@ -245,7 +245,7 @@ protected void saveProperties(KConfig _cfg)
KURL url=doc.URL(); KURL url=doc.URL();
_cfg.writeEntry("filename", url.url()); _cfg.writeEntry("filename", url.url());
_cfg.writeEntry("modified", doc.isModified()); _cfg.writeEntry("modified", doc.isModified());
String tempname = KApplication.kApplication().tempSaveName(url.url()); String tempname = TDEApplication.kApplication().tempSaveName(url.url());
String tempurl= KURL.encode_string(tempname, 0); String tempurl= KURL.encode_string(tempname, 0);
KURL _url = new KURL(tempurl); KURL _url = new KURL(tempurl);
doc.saveDocument(_url); doc.saveDocument(_url);
@ -265,7 +265,7 @@ protected void readProperties(KConfig _cfg)
if(modified) if(modified)
{ {
boolean canRecover = false; boolean canRecover = false;
String tempname = KApplication.kApplication().checkRecoverFile(filename, canRecover); String tempname = TDEApplication.kApplication().checkRecoverFile(filename, canRecover);
KURL _url = new KURL(tempname); KURL _url = new KURL(tempname);
if(canRecover) if(canRecover)
@ -561,7 +561,7 @@ public static void main(String[] cmdLineArgs)
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
if (app.isRestored()) if (app.isRestored())
{ {

@ -6,7 +6,7 @@ import org.kde.koala.*;
/** KBaseDoc provides a document object for a document-view model. /** KBaseDoc provides a document object for a document-view model.
* *
* The KBaseDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KBaseView * The KBaseDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KBaseView
* to create a document-view model for standard KDE applications based on KApplication and KMainWindow. Thereby, the document object * to create a document-view model for standard KDE applications based on TDEApplication and KMainWindow. Thereby, the document object
* is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document
* data by KBaseView objects. Also, KBaseDoc contains the methods for serialization of the document data from and to files. * data by KBaseView objects. Also, KBaseDoc contains the methods for serialization of the document data from and to files.
* *

@ -13,7 +13,7 @@ import org.kde.koala.*;
* This is a translation to java from kblendtest.cpp in the tests library * This is a translation to java from kblendtest.cpp in the tests library
* of tdeui source. * of tdeui source.
* *
* @see KApplication * @see TDEApplication
* @see KImageEffect * @see KImageEffect
* *
* @author Cristian Tibirna <tibirna@kde.org>, java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author Cristian Tibirna <tibirna@kde.org>, java translation Kenneth J. Pouncey, kjpou@hotmail.com
@ -24,7 +24,7 @@ public class KBlendTest {
public static void main(String[] args) { public static void main(String[] args) {
KCmdLineArgs.init(args, "kblendtest", "KBlendTest", "It blends!", "0.1"); KCmdLineArgs.init(args, "kblendtest", "KBlendTest", "It blends!", "0.1");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KBlendWidget w = new KBlendWidget(null,"KBlendTest"); KBlendWidget w = new KBlendWidget(null,"KBlendTest");
w.setCaption(app.name()); w.setCaption(app.name());
app.setMainWidget(w); app.setMainWidget(w);

@ -12,7 +12,7 @@ public class KCharSelectTest {
KCmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest", KCmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest",
"A KCharSelect test app", "0.1"); "A KCharSelect test app", "0.1");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KCharSelect selector = new KCharSelect(null,"char selector"); KCharSelect selector = new KCharSelect(null,"char selector");
selector.resize( selector.sizeHint() ); selector.resize( selector.sizeHint() );
app.setMainWidget(selector); app.setMainWidget(selector);

@ -13,7 +13,7 @@ import java.util.*;
* - Editable ComboBox * - Editable ComboBox
* - Select Only ComboBox * - Select Only ComboBox
* @see KComboBox * @see KComboBox
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* *
* @author original author unknown, java translation Kenneth J. Pouncey, * @author original author unknown, java translation Kenneth J. Pouncey,
@ -35,7 +35,7 @@ import java.util.*;
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
// parse the args // parse the args
KCmdLineArgs args = KCmdLineArgs.parsedArgs(); KCmdLineArgs args = KCmdLineArgs.parsedArgs();

@ -9,7 +9,7 @@ public class KDatePickTest {
KLocale.setMainCatalogue("tdelibs"); KLocale.setMainCatalogue("tdelibs");
KCmdLineArgs.init(args, "kdatepickertest", "KDatePickTest", KCmdLineArgs.init(args, "kdatepickertest", "KDatePickTest",
"A KDatePicker test..", "0.1"); "A KDatePicker test..", "0.1");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KDatePicker picker = new KDatePicker(); KDatePicker picker = new KDatePicker();
app.setMainWidget(picker); app.setMainWidget(picker);
picker.show(); picker.show();

@ -34,7 +34,7 @@ import org.kde.koala.*;
* of tdeui source. * of tdeui source.
* *
* @see KFontDialog * @see KFontDialog
* @see KApplication * @see TDEApplication
* @see KConfig * @see KConfig
* *
* @author Bernd Johannes Wuebben, java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author Bernd Johannes Wuebben, java translation Kenneth J. Pouncey, kjpou@hotmail.com
@ -55,7 +55,7 @@ public class KFontDialogTest {
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
// parse the args // parse the args
KCmdLineArgs args = KCmdLineArgs.parsedArgs(); KCmdLineArgs args = KCmdLineArgs.parsedArgs();

@ -11,7 +11,7 @@ import org.kde.koala.*;
* *
* *
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* *
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
* @version 0.1 * @version 0.1
@ -26,7 +26,7 @@ public class KHelpers extends KMainWindow {
protected int idfiletquit; protected int idfiletquit;
// reference to the application // reference to the application
KApplication kapp; TDEApplication kapp;
// time to display the message in the status bar // time to display the message in the status bar
int HelpMessageTime = 200; int HelpMessageTime = 200;
@ -34,7 +34,7 @@ public class KHelpers extends KMainWindow {
public KHelpers () { public KHelpers () {
// get a reference to the application // get a reference to the application
kapp = KApplication.kApplication(); kapp = TDEApplication.kApplication();
TQPopupMenu file = new TQPopupMenu(this); TQPopupMenu file = new TQPopupMenu(this);

@ -10,7 +10,7 @@ import org.kde.koala.*;
* *
* ToolTips, What's This?, and More * ToolTips, What's This?, and More
* *
* @see KApplication * @see TDEApplication
* @see KCmdLineArgs * @see KCmdLineArgs
* *
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
@ -35,7 +35,7 @@ static String VERSION = "0.1";
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KHelpers khelpers = new KHelpers(); KHelpers khelpers = new KHelpers();
khelpers.show(); khelpers.show();

@ -246,7 +246,7 @@ void slotQuit(){
} }
if (slave != null ) if (slave != null )
Scheduler.disconnectSlave(slave); Scheduler.disconnectSlave(slave);
KApplication.kApplication().quit(); TDEApplication.kApplication().quit();
} }
@ -526,7 +526,7 @@ static String[][] options =
public static void main(String[] argv) { public static void main(String[] argv) {
KCmdLineArgs.init( argv, "kioslavetest", "KIOSlaveTest", description, version ); KCmdLineArgs.init( argv, "kioslavetest", "KIOSlaveTest", description, version );
KCmdLineArgs.addCmdLineOptions( options ); KCmdLineArgs.addCmdLineOptions( options );
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KCmdLineArgs args = KCmdLineArgs.parsedArgs(); KCmdLineArgs args = KCmdLineArgs.parsedArgs();

@ -15,7 +15,7 @@ import org.kde.koala.KCmdLineArgs;
import org.kde.qt.TQPopupMenu; import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQTextView; import org.kde.qt.TQTextView;
import org.kde.koala.KMenuBar; import org.kde.koala.KMenuBar;
import org.kde.koala.KApplication; import org.kde.koala.TDEApplication;
import org.kde.koala.KURL; import org.kde.koala.KURL;
import org.kde.koala.KFileDialog; import org.kde.koala.KFileDialog;
import org.kde.koala.KMessageBox; import org.kde.koala.KMessageBox;
@ -38,10 +38,10 @@ public class KdeMenuSample extends KMainWindow {
kdejava.initialize(); kdejava.initialize();
} }
KApplication kApp = null; TDEApplication kApp = null;
/** Creates a new instance of KdeMenuSample */ /** Creates a new instance of KdeMenuSample */
public KdeMenuSample(KApplication kApp) { public KdeMenuSample(TDEApplication kApp) {
super(null,"Menu Sample",1); super(null,"Menu Sample",1);
this.kApp = kApp; this.kApp = kApp;
setCaption("TDE Tutorial"); setCaption("TDE Tutorial");
@ -130,7 +130,7 @@ public class KdeMenuSample extends KMainWindow {
public static void main(String [] argv) { public static void main(String [] argv) {
KCmdLineArgs.init(argv, "menuapp", "MenuApp", KCmdLineArgs.init(argv, "menuapp", "MenuApp",
"A simple menu example", "0.1"); "A simple menu example", "0.1");
KApplication menuApp = new KApplication(); TDEApplication menuApp = new TDEApplication();
KdeMenuSample mainWnd = new KdeMenuSample(menuApp); KdeMenuSample mainWnd = new KdeMenuSample(menuApp);
mainWnd.resize(100,300); mainWnd.resize(100,300);

@ -8,7 +8,7 @@ import org.kde.koala.*;
* of tdeui source. * of tdeui source.
* *
* @see KProgress * @see KProgress
* @see KApplication * @see TDEApplication
* *
* @author orignal unknown, java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author orignal unknown, java translation Kenneth J. Pouncey, kjpou@hotmail.com
* @version 0.1 * @version 0.1
@ -29,7 +29,7 @@ public class KProgressTest {
KCmdLineArgs.init( cmdLineArgs, aboutData ); KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options. KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
// parse the args // parse the args
KCmdLineArgs args = KCmdLineArgs.parsedArgs(); KCmdLineArgs args = KCmdLineArgs.parsedArgs();

@ -13,7 +13,7 @@ public class Test {
KCmdLineArgs.init( argv, aboutData ); KCmdLineArgs.init( argv, aboutData );
KCmdLineArgs.addCmdLineOptions(options); KCmdLineArgs.addCmdLineOptions(options);
System.out.println("1"); System.out.println("1");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
System.out.println("2"); System.out.println("2");
KSystemTray systemTrayIcon = new KSystemTray(null, "test"); KSystemTray systemTrayIcon = new KSystemTray(null, "test");
System.out.println("3"); System.out.println("3");

@ -11,7 +11,7 @@ import org.kde.koala.*;
* A Simple Web Browser - A feature-limited Web Browser. * A Simple Web Browser - A feature-limited Web Browser.
* *
* @see KMainWindow * @see KMainWindow
* @see KApplication * @see TDEApplication
* @see KHTMLPart * @see KHTMLPart
* *
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com

@ -11,7 +11,7 @@ import org.kde.koala.*;
* A Simple Web Browser * A Simple Web Browser
* *
* *
* @see KApplication * @see TDEApplication
* *
* @author java translation Kenneth J. Pouncey, kjpou@hotmail.com * @author java translation Kenneth J. Pouncey, kjpou@hotmail.com
* @version 0.1 * @version 0.1
@ -23,7 +23,7 @@ public class Main {
KCmdLineArgs.init(cmdLineArgs, "ksimplebrowser", "KSimpleBrowser", KCmdLineArgs.init(cmdLineArgs, "ksimplebrowser", "KSimpleBrowser",
"A KDE 3 Development Example - KSimpleBrowser", "0.1"); "A KDE 3 Development Example - KSimpleBrowser", "0.1");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser"); KSimpleBrowser kbrowser = new KSimpleBrowser("KSimpleBrowser");
kbrowser.show(); kbrowser.show();

@ -39,7 +39,7 @@ int main( int argc, char **argv )
I18N_NOOP("Test"), I18N_NOOP("Test"),
KAboutData::License_LGPL, I18N_NOOP("(c) 2004 Ian Reinhart Geiser") ); KAboutData::License_LGPL, I18N_NOOP("(c) 2004 Ian Reinhart Geiser") );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
KApplication app; TDEApplication app;
// Setup Interpreter // Setup Interpreter
KJSEmbed::JSSecurityPolicy::setDefaultPolicy( KJSEmbed::JSSecurityPolicy::CapabilityAll ); KJSEmbed::JSSecurityPolicy::setDefaultPolicy( KJSEmbed::JSSecurityPolicy::CapabilityAll );

@ -35,7 +35,7 @@ int main(int argc, char **argv)
KAboutData::License_LGPL, "(C) 2004 Ian Reinhart Geiser", 0, 0, "geiseri@kde.org"); KAboutData::License_LGPL, "(C) 2004 Ian Reinhart Geiser", 0, 0, "geiseri@kde.org");
about.addAuthor( "Ian Reinhart Geiser", 0, "geiseri@kde.org" ); about.addAuthor( "Ian Reinhart Geiser", 0, "geiseri@kde.org" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KApplication app; TDEApplication app;
EmbedViewImp *view = new EmbedViewImp; EmbedViewImp *view = new EmbedViewImp;
app.setMainWidget(view); app.setMainWidget(view);

@ -92,13 +92,13 @@ int main( int argc, char **argv )
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// Setup KApplication // Setup TDEApplication
KApplication *app; TDEApplication *app;
if ( nogui ) { if ( nogui ) {
app = new KApplication( false, false ); app = new TDEApplication( false, false );
} }
else { else {
app = new KApplication; app = new TDEApplication;
app->connect( app, TQT_SIGNAL( lastWindowClosed() ), TQT_SLOT(quit()) ); app->connect( app, TQT_SIGNAL( lastWindowClosed() ), TQT_SLOT(quit()) );
} }

@ -64,7 +64,7 @@ void JSConsolePlugin::init()
KJS::Object global( interp->globalObject() ); KJS::Object global( interp->globalObject() );
js->addObject( js->view(), global, "console" ); js->addObject( js->view(), global, "console" );
js->addObject( parent(), global, "plugin_parent" ); js->addObject( parent(), global, "plugin_parent" );
js->addObject( KApplication::kApplication(), global, "application" ); js->addObject( TDEApplication::kApplication(), global, "application" );
if ( parent()->inherits("KParts::Part") ) { if ( parent()->inherits("KParts::Part") ) {
KParts::Part *part = static_cast<KParts::Part *>( parent() ); KParts::Part *part = static_cast<KParts::Part *>( parent() );

@ -34,7 +34,7 @@ int main( int argc, char **argv )
I18N_NOOP("Test"), I18N_NOOP("Test"),
KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2003 Richard Moore") ); KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2003 Richard Moore") );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
KApplication app; TDEApplication app;
// Setup Interpreter // Setup Interpreter
KJS::Interpreter *js = KJSEmbed::JSFactory::defaultJS(); KJS::Interpreter *js = KJSEmbed::JSFactory::defaultJS();

@ -37,7 +37,7 @@ int main( int argc, char **argv )
I18N_NOOP("Test"), I18N_NOOP("Test"),
KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2002 Richard Moore") ); KAboutData::License_LGPL, I18N_NOOP("(c) 2001-2002 Richard Moore") );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
KApplication app; TDEApplication app;
// Setup Interpreter // Setup Interpreter
KJS::Interpreter *js = Factory::defaultJS(); KJS::Interpreter *js = Factory::defaultJS();

@ -4,7 +4,7 @@ KDE Specific Infomation:
- Instead of require 'Qt', use require 'Korundum' for KDE programs. - Instead of require 'Qt', use require 'Korundum' for KDE programs.
- The KDE K* classes such as KApplication are renamed as KDE::Application. - The KDE K* classes such as TDEApplication are renamed as KDE::Application.
The other KDE classes are in the KParts::, KIO:: or DOM:: namespaces, The other KDE classes are in the KParts::, KIO:: or DOM:: namespaces,
with the same names as their C++ counterparts. with the same names as their C++ counterparts.

@ -1251,7 +1251,7 @@ can't get tabwidget working. umm... wonder what i'm messing up... (RECHECK)
wierd khtml bug wierd khtml bug
@rightpane.setResizeMode @viewed, TQt::Splitter::KeepSize @rightpane.setResizeMode @viewed, TQt::Splitter::KeepSize
in order to use KURL's as constants one must place this KApplication init in order to use KURL's as constants one must place this TDEApplication init
at the top of the file otherwise KInstance isn't init'ed before KURL usage at the top of the file otherwise KInstance isn't init'ed before KURL usage
class ProjectSelectDialog < KDE::DialogBase class ProjectSelectDialog < KDE::DialogBase

@ -193,7 +193,7 @@ aboutData = KDE::AboutData.new("rbKHTMLPart", "rbHTMLPart",
aboutData.addAuthor("Jim Bublitz", "Example for PyKDE", "jbublitz@nwinternet.com") aboutData.addAuthor("Jim Bublitz", "Example for PyKDE", "jbublitz@nwinternet.com")
aboutData.addAuthor('Richard Dale', 'Example for Korundum', 'Richard_Dale@tipitina.demon.co.uk') aboutData.addAuthor('Richard Dale', 'Example for Korundum', 'Richard_Dale@tipitina.demon.co.uk')
# This MUST go here (before KApplication () is called) # This MUST go here (before TDEApplication () is called)
KDE::CmdLineArgs.init(ARGV, aboutData) KDE::CmdLineArgs.init(ARGV, aboutData)
app = KDE::Application.new() app = KDE::Application.new()

@ -50,7 +50,7 @@ aboutData = KDE::AboutData.new("systry", "Systray test",\
aboutData.addAuthor('Jim Bublitz', 'Example for PyKDE', 'jbublitz@nwinternet.com') aboutData.addAuthor('Jim Bublitz', 'Example for PyKDE', 'jbublitz@nwinternet.com')
aboutData.addAuthor('Richard Dale', 'For Korundum', 'Richard_Dale@tipitina.demon.co.uk') aboutData.addAuthor('Richard Dale', 'For Korundum', 'Richard_Dale@tipitina.demon.co.uk')
# This MUST go here (before KApplication () is called) # This MUST go here (before TDEApplication () is called)
KDE::CmdLineArgs.init(ARGV, aboutData) KDE::CmdLineArgs.init(ARGV, aboutData)
app = KDE::Application.new() app = KDE::Application.new()
mainWindow = MainWin.new(nil, "main window") mainWindow = MainWin.new(nil, "main window")

@ -91,7 +91,7 @@ KDE::CmdLineArgs.addCmdLineOptions([["+files", "File to open", ""]])
# instantiate KDE::Application - no other TQObject # instantiate KDE::Application - no other TQObject
# or TQWidget based classes can be instantiated # or TQWidget based classes can be instantiated
# until there is a KApplication instance # until there is a TDEApplication instance
app = KDE::Application.new() app = KDE::Application.new()
# instantiate the subclass of KMainWindow # instantiate the subclass of KMainWindow

@ -97,7 +97,7 @@
<xsl:if test="not($abstract) and $main"> <xsl:if test="not($abstract) and $main">
<xsl:choose> <xsl:choose>
<xsl:when test="$kde"> <xsl:when test="$kde">
<class>KApplication</class> <class>TDEApplication</class>
<class>KCmdLineArgs</class> <class>KCmdLineArgs</class>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>

@ -2829,19 +2829,19 @@
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KApplication</name> <name>TDEApplication</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KApplicationPropsPlugin</name> <name>TDEApplicationPropsPlugin</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KApplicationPropsPluginSignals</name> <name>TDEApplicationPropsPluginSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>
<name>KApplicationSignals</name> <name>TDEApplicationSignals</name>
</class> </class>
<class> <class>
<package>org.kde.koala</package> <package>org.kde.koala</package>

@ -52,7 +52,7 @@
<xsl:choose> <xsl:choose>
<xsl:when test="$kde"> <xsl:when test="$kde">
KCmdLineArgs.init( args , "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="java:toJavaString(/UI/widget/property[@name='caption']/string)"/>", "version"); KCmdLineArgs.init( args , "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="$mainClass"/>", "<xsl:value-of select="java:toJavaString(/UI/widget/property[@name='caption']/string)"/>", "version");
KApplication app = new KApplication(); TDEApplication app = new TDEApplication();
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
TQApplication app = new TQApplication(args); TQApplication app = new TQApplication(args);

@ -1396,7 +1396,7 @@
about = KDE::KAboutData.new("one", "two", "three") about = KDE::KAboutData.new("one", "two", "three")
KDE::KCmdLineArgs.init(1, ["four"], about) KDE::KCmdLineArgs.init(1, ["four"], about)
a = KDE::KApplication.new() a = KDE::TDEApplication.new()
hello = KDE::KPushButton.new(nil) { setText "Hello World" } hello = KDE::KPushButton.new(nil) { setText "Hello World" }
a.setMainWidget(hello) a.setMainWidget(hello)
hello.show() hello.show()

@ -62,7 +62,7 @@ private:
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KApplication app( argc, argv, "xkpartsshell" ); TDEApplication app( argc, argv, "xkpartsshell" );
app.dcopClient()->registerAs("kshell"); app.dcopClient()->registerAs("kshell");

@ -66,7 +66,7 @@ void ShellWindow::mergeGUI()
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KApplication app( argc, argv, "xparthost_shell" ); TDEApplication app( argc, argv, "xparthost_shell" );
app.dcopClient()->registerAs("xparthost_shell"); app.dcopClient()->registerAs("xparthost_shell");

@ -80,7 +80,7 @@ int main( int argc, char **argv )
} }
printf("args: XPartHost appId = %s , XPartHost_KPart objId = %s\n", argv[1], argv[2] ); printf("args: XPartHost appId = %s , XPartHost_KPart objId = %s\n", argv[1], argv[2] );
KApplication app( argc, argv, "xp_notepad" ); TDEApplication app( argc, argv, "xp_notepad" );
XPartNotepad * xpn = new XPartNotepad("xp_notepad"); XPartNotepad * xpn = new XPartNotepad("xp_notepad");
app.setMainWidget( xpn ); app.setMainWidget( xpn );
app.dcopClient()->attach(); app.dcopClient()->attach();

Loading…
Cancel
Save