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[])
{
KApplication app(argc, argv, "test-server", false, false);
TDEApplication app(argc, argv, "test-server", false, 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" );
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
TDEApplication app;
KDEDcopTest *mainWin = 0;
if (app.isRestored())

@ -208,7 +208,7 @@
- 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
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
- A small fix was need for RealProxies with Mono 0.30. DotGnu doesn't have
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_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_koala_KApplication_setJavaSlotFactory' => 1,
'Java_org_kde_koala_TDEApplication_setJavaSlotFactory' => 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_2Lorg_kde_koala_KAboutData_2' => 1,
@ -1639,7 +1639,7 @@ EOF
#include <kdejava/KDEJavaSlot.h>
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) cls;
@ -2417,7 +2417,7 @@ sub preParseClass
$className eq 'KEditListBox::CustomEditor' ||
$className eq 'KIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' ||
$className eq 'KApplicationPropsPlugin' ||
$className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KPrinter' ||
$className eq 'KPty' ||
$className eq 'KOpenWithHandler' ||
@ -3081,7 +3081,7 @@ sub writeClassDoc
$jniCode .= $kcmdlineargsjniExtras;
} elsif ( $className eq 'KIO::Scheduler' ) {
$jniCode .= $schedulerjniExtras;
} elsif ( $className eq 'KApplication' ) {
} elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras;
$jniCode .= $kapplicationjniExtras;
} elsif ( $className eq 'KMainWindow' ) {

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

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

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

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

@ -31,9 +31,9 @@ NOTES ON THE NEW FORMAT
<VERSION="2.0">
<BASE URL="http://www.kde.org/API/tdecore/">
<C NAME="KApplication" REF="KApplication.html">
<C NAME="TDEApplication" REF="TDEApplication.html">
<IN NAME="TQObject">
<ME NAME="getConfig" REF="KApplication.html#getConfig">
<ME NAME="getConfig" REF="TDEApplication.html#getConfig">
<M NAME="" REF="">
</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
* full session management as well as using KActions.
* @see KMainWindow
* @see KApplication
* @see TDEApplication
* @see KConfig
*
* @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
* full session management as well as keyboard accelerator configuration by using KAccel.
* @see KMainWindow
* @see KApplication
* @see TDEApplication
* @see KConfig
* @see KAccel
*
@ -50,14 +50,14 @@ public class KScribbleApp extends KMainWindow implements Resource {
private TQPrinter printer;
private int untitledCount = 0;
private ArrayList pDocList;
private KApplication kapp;
private TDEApplication kapp;
private KIconLoader k = new KIconLoader();
/** construtor of KScribbleApp, calls all init functions to create the application.
*/
public KScribbleApp(TQWidget parent, String name) {
super(parent,name, 0);
kapp = KApplication.kApplication();
kapp = TDEApplication.kApplication();
config=kapp.config();
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
* opened file by a temporary filename provided by KApplication.
* opened file by a temporary filename provided by TDEApplication.
* @see KTMainWindow#saveProperties
*/
protected void saveProperties(KConfig _cfg) {

@ -6,7 +6,7 @@ import org.kde.koala.*;
/** 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
* 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
* 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
* full session management as well as using KActions.
* @see KMainWindow
* @see KApplication
* @see TDEApplication
* @see KConfig
*
* @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.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication();
TDEApplication app = new TDEApplication();
KImageIO.registerFormats();
KScribbleApp kscribbleapp = new KScribbleApp();

@ -40,9 +40,9 @@ class SimpleMailFrm extends KMainWindow {
TQGridLayout form1Layout;
TQGridLayout groupBox1Layout;
KApplication parentApp = null;
TDEApplication parentApp = null;
public SimpleMailFrm(KApplication kApp)
public SimpleMailFrm(TDEApplication kApp)
{
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!
*
*/
public class SimpleMailer extends KApplication{
public class SimpleMailer extends TDEApplication{
static {
qtjava.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 */
#ifndef __org_kde_koala_KApplication__
#define __org_kde_koala_KApplication__
#ifndef __org_kde_koala_TDEApplication__
#define __org_kde_koala_TDEApplication__
#include <jni.h>
@ -10,158 +10,158 @@ extern "C"
{
#endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_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_KApplication_newKApplication__Z (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newKApplication__ (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_sessionConfig (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_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_KApplication_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_KApplication_commitData (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_saveState (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_sessionSaving (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_icon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_iconName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_miniIcon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_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_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_KApplication_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_KApplication_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_KApplication_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_KApplication_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_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_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_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_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 jstring JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_tempSaveName (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_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_KApplication_removeKipcEventMask (JNIEnv *env, jobject, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_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_KApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_updateUserTimestamp__ (JNIEnv *env, jobject);
extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KApplication_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_KApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_geometryArgument (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_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_KApplication_authorizeKAction (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_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 jboolean JNICALL Java_org_kde_koala_KApplication_authorizeControlModule (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_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_KApplication_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_KApplication_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_KApplication_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_KApplication_dcopClient (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_disableAutoDcopRegistration (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_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_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_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_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_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_KApplication_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_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_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_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_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_KApplication_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_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_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_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_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_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_KApplication_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_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_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_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_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_KApplication_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_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_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_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_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_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_KApplication_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_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_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_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_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_KApplication_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_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_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_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_KApplication_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_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_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_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_KApplication_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_KApplication_random (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_randomString (JNIEnv *env, jclass, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KApplication_keyboardMouseState (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_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_KApplication_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 jboolean JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KApplication_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_KApplication_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_KApplication_iconLoader (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KApplication_newIconLoader (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_aboutData (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KApplication_instanceName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KApplication_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_KApplication_setJavaSlotFactory (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__Z (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sessionConfig (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isRestored (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableSessionManagement (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableSessionManagement (JNIEnv *env, jobject);
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_TDEApplication_requestShutDown__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_propagateSessionManager (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_commitData (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_TDEApplication_sessionSaving (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_icon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_iconName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_miniIcon (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_miniIconName (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setTopWidget (JNIEnv *env, jobject, jobject);
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_TDEApplication_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_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__ (JNIEnv *env, jobject);
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_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
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_TDEApplication_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_2 (JNIEnv *env, jobject, jobject);
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_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_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_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_TDEApplication_caption (JNIEnv *env, jobject);
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_TDEApplication_makeStdCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean);
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_TDEApplication_tempSaveName (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_checkRecoverFile (JNIEnv *env, jobject, jstring, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableStyles (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableStyles (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installX11EventFilter (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_TDEApplication_addKipcEventMask (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_TDEApplication_startupId (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setStartupId (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__ (JNIEnv *env, jobject);
extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEApplication_userTimestamp (JNIEnv *env, jobject);
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_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_geometryArgument (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installKDEPropertyMap (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorize (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_TDEApplication_authorizeURLAction (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_TDEApplication_authorizeControlModule (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_notify (JNIEnv *env, jobject, jobject, jobject);
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_TDEApplication_invokeBrowser__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_cut (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_copy (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_paste (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_clear (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_selectAll (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_ref (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_deref (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addCmdLineOptions (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_kApplication (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dcopClient (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_launcher (JNIEnv *env, jclass);
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_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_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_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_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_TDEApplication_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_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_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_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 (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_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject);
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_TDEApplication_startServiceByName__Ljava_lang_String_2 (JNIEnv *env, jclass, 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_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_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_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 (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_2 (JNIEnv *env, jclass, jstring, jstring, jobject);
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_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_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_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_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_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_TDEApplication_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 (JNIEnv *env, jclass, 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_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_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_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 (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_2 (JNIEnv *env, jclass, jstring, jstring, jobject);
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_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_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_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_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_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_TDEApplication_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 (JNIEnv *env, jclass, 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_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_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_TDEApplication_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 (JNIEnv *env, jclass, 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_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_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_TDEApplication_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 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_random (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_randomString (JNIEnv *env, jclass, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_keyboardMouseState (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_startKdeinit (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__ (JNIEnv *env, jclass);
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_TDEApplication_installSigpipeHandler (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_guiEnabled (JNIEnv *env, jclass);
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_TDEApplication_invokeEditSlot (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dirs (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_config (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sharedConfig (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_iconLoader (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newIconLoader (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_aboutData (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_instanceName (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_mimeSourceFactory (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setConfigName (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setJavaSlotFactory (JNIEnv *env, jclass);
#ifdef __cplusplus
}
#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
for KDE applications.
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
can be used for your whole application.
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>
@short Inter-process communication and remote procedure calls for KDE applications.
@see KApplication#dcopClient
@see TDEApplication#dcopClient
*/
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
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
as KApplication.dcopClient().
as TDEApplication.dcopClient().
@return 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
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
as KApplication.dcopClient().
as TDEApplication.dcopClient().
@param mainClient the new 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
synchronous call. In that case, it will enter a local event
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
we are waiting for an answer. If we did not do this, the
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
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
(or SIG_IGN) after KApplication's constructor has run.
(or SIG_IGN) after TDEApplication's constructor has run.
</li>
<li>
Installs an empty signal handler for the SIGPIPE signal using
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.
</li>
@ -69,14 +69,14 @@ import org.kde.qt.TQApplication;
Only start the service if it isn't already running,
wait until the service has registered with dcop.
</li>
See {@link KApplicationSignals} for signals emitted by KApplication
See {@link TDEApplicationSignals} for signals emitted by TDEApplication
@author Matthias Kalle Dalheimer <kalle@kde.org>
@short Controls and provides information to all KDE applications.
*/
public class KApplication extends TQApplication implements KInstanceInterface {
protected KApplication(Class dummy){super((Class) null);}
public class TDEApplication extends TQApplication implements KInstanceInterface {
protected TDEApplication(Class dummy){super((Class) null);}
public static final int ShiftModifier = 1<<0;
public static final int LockModifier = 1<<1;
public static final int ControlModifier = 1<<2;
@ -155,21 +155,21 @@ public class KApplication extends TQApplication implements KInstanceInterface {
no styles either.
@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);
newKApplication(allowStyles,GUIenabled);
newTDEApplication(allowStyles,GUIenabled);
}
private native void newKApplication(boolean allowStyles, boolean GUIenabled);
public KApplication(boolean allowStyles) {
private native void newTDEApplication(boolean allowStyles, boolean GUIenabled);
public TDEApplication(boolean allowStyles) {
super((Class) null);
newKApplication(allowStyles);
newTDEApplication(allowStyles);
}
private native void newKApplication(boolean allowStyles);
public KApplication() {
private native void newTDEApplication(boolean allowStyles);
public TDEApplication() {
super((Class) null);
newKApplication();
newTDEApplication();
}
private native void newKApplication();
private native void newTDEApplication();
/**
Returns the application session config object.
@return A pointer to the application's instance specific
@ -405,7 +405,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
Enables style plugins.
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.
@short Enables style plugins.
*/
@ -657,17 +657,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
*/
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
"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).
@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();
/**
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.
@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();
/**
@ -678,7 +678,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
Returns the current application object.
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
saves you the trouble of having to pass the pointer explicitly
to every function that may require it.
@ -686,7 +686,7 @@ public class KApplication extends TQApplication implements KInstanceInterface {
@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.
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();
/**
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 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 TDEApplication instance to have an effect.
*/
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
a pipe or socket that has been closed.
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.
@short Installs a handler for the SIGPIPE signal.
*/
@ -980,17 +980,17 @@ public class KApplication extends TQApplication implements KInstanceInterface {
/**
@short
*/
public KApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) {
public TDEApplication(boolean allowStyles, boolean GUIenabled, KInstanceInterface _instance) {
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
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()")
This method can be used in KApplication subclasses to implement application wide
edit actions not supported by the KApplication class. For example (in your subclass):
This method can be used in TDEApplication subclasses to implement application wide
edit actions not supported by the TDEApplication class. For example (in your subclass):
<pre>
void MyApplication.deselect()
{

@ -11,38 +11,38 @@ import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget;
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
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();
/**
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
respond to an explicit setGUIStyle() call), but you should connect to
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();
/**
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
connect to this to monitor global font changes, especially if you are
using explicit fonts.
Note: If you derive from a TQWidget-based class, a faster method is to
reimplement TQWidget.fontChange(). This is the preferred way
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();
/**
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
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();
/**
@ -58,10 +58,10 @@ public interface KApplicationSignals {
void backgroundChanged(int desk);
/**
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
@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);
/**

@ -28,7 +28,7 @@ import java.util.ArrayList;
KUniqueApplication app;
....
// 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.
// A KUniqueApplication might want to handle it in newInstance().
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 _version A version.
@param noKApp Set this true to not add commandline options for
TQApplication / KApplication
TQApplication / TDEApplication
@short Initialize class.
*/
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 about A KAboutData object describing your program.
@param noKApp Set this true to not add commandline options for
TQApplication / KApplication
TQApplication / TDEApplication
@short Initialize class.
*/
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);
/**
Reset all option definitions, i.e. cancel all addCmdLineOptions calls.
Note that KApplication's options are removed too, you might want to
call KApplication.addCmdLineOptions if you want them back.
Note that TDEApplication's options are removed too, you might want to
call TDEApplication.addCmdLineOptions if you want them back.
You usually don't want to call this method.
@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,
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.
( default false - everything is loaded unless forbidden by KApplication.authorizeURLAction).
( default false - everything is loaded unless forbidden by TDEApplication.authorizeURLAction).
@short Security option.
*/
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
Communications Protocol.
Messages with id code < 32 are called "System Messages". These are
directly handled by KApplication. Examples are: PaletteChanged and
StyleChanged. Messages with id code >= 32 are user messages. KApplication
directly handled by TDEApplication. Examples are: PaletteChanged and
StyleChanged. Messages with id code >= 32 are user messages. TDEApplication
emits the signal kipcMessage(id,arg) for each user message it receives.
KIPC is implemented using X11 ClientMessage events.
@author Geert Jansen <jansen@kde.org>
@short This class implements a very simple IPC mechanism for KDE.
@see KApplication#kipcMessage
@see TDEApplication#kipcMessage
*/
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
KGlobal.iconLoader(), so you hardly ever have to create an
iconloader object yourself. That one is the current KInstance's
(typically KApplication's) iconloader.
(typically TDEApplication's) iconloader.
@short Constructs an iconloader.
@see KGlobal#iconLoader
@see KInstance#iconLoader

@ -31,12 +31,12 @@ public class KInstance implements QtSupport, KInstanceInterface {
private native void newKInstance(String instanceName);
/**
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.
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 !
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)
@short Constructor.
*/

@ -121,7 +121,7 @@ public class KLibLoader extends TQObject {
*/
public static native KLibLoader self();
/**
Internal Method, called by the KApplication destructor.
Internal Method, called by the TDEApplication destructor.
Do not call it.
This is what makes it possible to rely on ~KLibFactory
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
not supported.
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
menubar on logout. If you want to save additional data, reimplement
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)
@short %KDE top level main window.
@see KApplication
@see TDEApplication
*/
public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface, KXMLGUIClientInterface {
@ -635,14 +635,14 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
user interaction).
If you need to do serious things on exit (like shutting a
dial-up connection down), connect to the signal
KApplication.shutDown().
TDEApplication.shutDown().
Default implementation returns <code>true.</code> Returning <code>false</code> 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.
@short Called before the very last window is closed, either by the user or indirectly by the session manager.
@see #queryClose
@see KApplication#sessionSaving
@see TDEApplication#sessionSaving
*/
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
safe to close it, i.e. without the user losing some data.
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.
Reimplement this function to prevent the user from losing data.
Example:
@ -673,7 +673,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
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.
@see #queryExit
@see KApplication#sessionSaving
@see TDEApplication#sessionSaving
*/
protected native boolean queryClose();
/**

@ -9,7 +9,7 @@ import org.kde.qt.TQMimeSourceFactory;
An extension to TQMimeSourceFactory that uses KIconLoader to
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().
@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
placed appropriately.
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
@param winId The winId() of the widget where the event originates
@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)
Example: X-TDE-Library=libexampleapplet
<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
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

@ -32,7 +32,7 @@ import org.kde.qt.TQFrame;
Used by the panel to locate the extension DSO (Dynamic Shared Object)
Example: X-TDE-Library=libexampleextension
<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
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

@ -9,7 +9,7 @@ import org.kde.qt.TQObject;
/**
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.
@author Christian Czezatke <e9025461@student.tuwien.ac.at>
@ -58,13 +58,13 @@ public class KProcessController extends TQObject {
public native void addProcess(int pid);
/**
Create an instance if none exists yet.
Called by KApplication.KApplication()
Called by TDEApplication.TDEApplication()
@short Create an instance if none exists yet.
*/
public static native void ref();
/**
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.
*/
public static native void deref();

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

@ -11,7 +11,7 @@ import org.kde.qt.TQSessionManager;
base.
KSessionManaged makes it possible to provide implementations for
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
KMainWindow. Instead, use KMainWindow.saveProperties(),
KMainWindow.readProperties(), KMainWindow.queryClose(),
@ -32,7 +32,7 @@ public class KSessionManaged implements QtSupport {
private native void newKSessionManaged();
/**
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
indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ).
@ -41,7 +41,7 @@ public class KSessionManaged implements QtSupport {
public native boolean saveState(TQSessionManager sm);
/**
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
indicate a problem and to halt the shutdown process (will
implicitly call sm.cancel() ).

@ -124,12 +124,12 @@ import java.util.ArrayList;
<li>
emoticons - Emoticons themes (Since KDE 3.4)
</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
appends the name of the application.
So while you had to .locate("data", "appname/filename") so you can
also write .locate("appdata", "filename") if your KApplication instance
is called "appname" (as set via KApplication's constructor or KAboutData, if
also write .locate("appdata", "filename") if your TDEApplication instance
is called "appname" (as set via TDEApplication's constructor or KAboutData, if
you use the global KStandardDirs object KGlobal.dirs()).
Please note though that you cannot use the "appdata"
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.
KToolBar uses a global config group to load toolbar settings on
construction. It will reread this config group on a
KApplication.appearanceChanged() signal.
TDEApplication.appearanceChanged() signal.
See {@link KToolBarSignals} for signals emitted by KToolBar
@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>
@short Maintains only a single instance of a running application at a time.
@see KApplication
@see TDEApplication
@see DCOPObject
*/
public class KUniqueApplication extends KApplication implements DCOPObjectInterface {
public class KUniqueApplication extends TDEApplication implements DCOPObjectInterface {
protected KUniqueApplication(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
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
normally. If you do create an application with <code>allowStyles</code> set to false
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.
@param GUIenabled Set to false to disable all GUI stuff. This implies
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() {
if (!_initialized) {
System.loadLibrary("kdejava");
KApplication.setJavaSlotFactory();
TDEApplication.setJavaSlotFactory();
_initialized = true;
}
}

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

@ -11,7 +11,7 @@ import org.kde.koala.*;
* KBase reimplements the methods that KMainWindow provides for main window handling and supports
* full session management as well as using KActions.
* @see KMainWindow
* @see KApplication
* @see TDEApplication
* @see KConfig
*
* @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)
{
super(parent, name, 0);
KApplication kapp = KApplication.kApplication();
TDEApplication kapp = TDEApplication.kApplication();
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
* opened file by a temporary filename provided by KApplication.
* opened file by a temporary filename provided by TDEApplication.
* @see KTMainWindow#saveProperties
*/
protected void saveProperties(KConfig _cfg)
@ -245,7 +245,7 @@ protected void saveProperties(KConfig _cfg)
KURL url=doc.URL();
_cfg.writeEntry("filename", url.url());
_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);
KURL _url = new KURL(tempurl);
doc.saveDocument(_url);
@ -265,7 +265,7 @@ protected void readProperties(KConfig _cfg)
if(modified)
{
boolean canRecover = false;
String tempname = KApplication.kApplication().checkRecoverFile(filename, canRecover);
String tempname = TDEApplication.kApplication().checkRecoverFile(filename, canRecover);
KURL _url = new KURL(tempname);
if(canRecover)
@ -561,7 +561,7 @@ public static void main(String[] cmdLineArgs)
KCmdLineArgs.init( cmdLineArgs, aboutData );
KCmdLineArgs.addCmdLineOptions( options ); // Add our own options.
KApplication app = new KApplication();
TDEApplication app = new TDEApplication();
if (app.isRestored())
{

@ -6,7 +6,7 @@ import org.kde.koala.*;
/** 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
* 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
* 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
* of tdeui source.
*
* @see KApplication
* @see TDEApplication
* @see KImageEffect
*
* @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) {
KCmdLineArgs.init(args, "kblendtest", "KBlendTest", "It blends!", "0.1");
KApplication app = new KApplication();
TDEApplication app = new TDEApplication();
KBlendWidget w = new KBlendWidget(null,"KBlendTest");
w.setCaption(app.name());
app.setMainWidget(w);

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

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

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

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

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

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

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

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

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

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

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

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

@ -39,7 +39,7 @@ int main( int argc, char **argv )
I18N_NOOP("Test"),
KAboutData::License_LGPL, I18N_NOOP("(c) 2004 Ian Reinhart Geiser") );
TDECmdLineArgs::init( argc, argv, &about );
KApplication app;
TDEApplication app;
// Setup Interpreter
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");
about.addAuthor( "Ian Reinhart Geiser", 0, "geiseri@kde.org" );
TDECmdLineArgs::init(argc, argv, &about);
KApplication app;
TDEApplication app;
EmbedViewImp *view = new EmbedViewImp;
app.setMainWidget(view);

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

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

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

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

@ -4,7 +4,7 @@ KDE Specific Infomation:
- 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,
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
@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
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('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)
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('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)
app = KDE::Application.new()
mainWindow = MainWin.new(nil, "main window")

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

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

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

@ -52,7 +52,7 @@
<xsl:choose>
<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");
KApplication app = new KApplication();
TDEApplication app = new TDEApplication();
</xsl:when>
<xsl:otherwise>
TQApplication app = new TQApplication(args);

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

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

@ -66,7 +66,7 @@ void ShellWindow::mergeGUI()
int main( int argc, char **argv )
{
KApplication app( argc, argv, "xparthost_shell" );
TDEApplication app( argc, argv, "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] );
KApplication app( argc, argv, "xp_notepad" );
TDEApplication app( argc, argv, "xp_notepad" );
XPartNotepad * xpn = new XPartNotepad("xp_notepad");
app.setMainWidget( xpn );
app.dcopClient()->attach();

Loading…
Cancel
Save