Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 43e3dc950c
commit 72a82366e0

@ -2407,7 +2407,7 @@ sub preParseClass
$className eq 'KBookmarkMenu::DynMenuInfo' ||
$className eq 'KCompletionMatches' ||
$className eq 'KDEDesktopMimeType::Service' ||
$className eq 'KGlobalSettings::KMouseSettings' ||
$className eq 'TDEGlobalSettings::KMouseSettings' ||
$className eq 'KMimeType::Format' ||
$className eq 'KNotifyClient::Instance' ||
$className eq 'KParts::Plugin::PluginInfo' ||
@ -2551,7 +2551,7 @@ sub preParseClass
|| ($classNode->{astNodeName} eq 'KFileDialog' and $name eq 'getDirEntry')
|| ($classNode->{astNodeName} eq 'KFileView' and $name eq 'selectionMode')
|| ($classNode->{astNodeName} eq 'KFind' and $name eq 'KFind' and @{$m->{ParamList}} == 4)
|| ($classNode->{astNodeName} eq 'KGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'TDEGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'KCharsets' and $name eq 'encodingsForLanguage')
|| ($classNode->{astNodeName} eq 'KInputDialog' and $name eq 'getInteger')
|| ($classNode->{astNodeName} eq 'KIO' and $name eq 'buildHTMLErrorString')
@ -3803,7 +3803,7 @@ sub generateMethod($$$$$$$$$)
$name = "nil";
} elsif ( $name eq 'form' and $javaClassName =~ /^HTML/ ) {
$name = "formElement";
} elsif ( $name eq 'wait' and $javaClassName eq 'KProcess' ) {
} elsif ( $name eq 'wait' and $javaClassName eq 'TDEProcess' ) {
$name = "waitThread";
} elsif ( $name eq 'finalize' and $javaClassName eq 'KMD5' ) {
$name = "finalizeDigest";

@ -714,7 +714,7 @@ sub preParseClass
$className eq 'KBookmarkMenu::DynMenuInfo' ||
$className eq 'KCompletionMatches' ||
$className eq 'KDEDesktopMimeType::Service' ||
$className eq 'KGlobalSettings::KMouseSettings' ||
$className eq 'TDEGlobalSettings::KMouseSettings' ||
$className eq 'KMimeType::Format' ||
$className eq 'KNotifyClient::Instance' ||
$className eq 'KParts::Plugin::PluginInfo' ||
@ -858,7 +858,7 @@ sub preParseClass
|| ($classNode->{astNodeName} eq 'KFileDialog' and $name eq 'getDirEntry')
|| ($classNode->{astNodeName} eq 'KFileView' and $name eq 'selectionMode')
|| ($classNode->{astNodeName} eq 'KFind' and $name eq 'KFind' and @{$m->{ParamList}} == 4)
|| ($classNode->{astNodeName} eq 'KGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'TDEGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'KCharsets' and $name eq 'encodingsForLanguage')
|| ($classNode->{astNodeName} eq 'KInputDialog' and $name eq 'getInteger')
|| ($classNode->{astNodeName} eq 'KIO' and $name eq 'buildHTMLErrorString')
@ -1884,7 +1884,7 @@ sub generateMethod($$$$$$$)
$name = "nil";
} elsif ( $name eq 'form' and $javaClassName =~ /^HTML/ ) {
$name = "formElement";
} elsif ( $name eq 'wait' and $javaClassName eq 'KProcess' ) {
} elsif ( $name eq 'wait' and $javaClassName eq 'TDEProcess' ) {
$name = "waitThread";
} elsif ( $name eq 'finalize' and $javaClassName eq 'KMD5' ) {
$name = "finalizeDigest";

@ -734,7 +734,7 @@ sub preParseClass
$className eq 'KBookmarkMenu::DynMenuInfo' ||
$className eq 'KCompletionMatches' ||
$className eq 'KDEDesktopMimeType::Service' ||
$className eq 'KGlobalSettings::KMouseSettings' ||
$className eq 'TDEGlobalSettings::KMouseSettings' ||
$className eq 'KMimeType::Format' ||
$className eq 'KNotifyClient::Instance' ||
$className eq 'KParts::Plugin::PluginInfo' ||
@ -904,7 +904,7 @@ sub preParseClass
|| ($classNode->{astNodeName} eq 'KFileDialog' and $name eq 'getDirEntry')
|| ($classNode->{astNodeName} eq 'KFileView' and $name eq 'selectionMode')
|| ($classNode->{astNodeName} eq 'KFind' and $name eq 'KFind' and @{$m->{ParamList}} == 4)
|| ($classNode->{astNodeName} eq 'KGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'TDEGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'KCharsets' and $name eq 'encodingsForLanguage')
|| ($classNode->{astNodeName} eq 'KInputDialog' and $name eq 'getInteger')
|| ($classNode->{astNodeName} eq 'KIO' and $name eq 'buildHTMLErrorString')
@ -1934,7 +1934,7 @@ sub generateMethod($$$$$$$)
$name = "nil";
} elsif ( $name eq 'form' and $csharpClassName =~ /^HTML/ ) {
$name = "formElement";
} elsif ( $name eq 'wait' and $csharpClassName eq 'KProcess' ) {
} elsif ( $name eq 'wait' and $csharpClassName eq 'TDEProcess' ) {
$name = "waitThread";
} elsif ( $name eq 'icon' and $csharpClassName eq 'TQMessageBox' ) {
$name = "iconId";

@ -367,7 +367,7 @@ sub preParseClass
$className eq 'KDEDesktopMimeType::Service' ||
$className eq 'KEntry' ||
$className eq 'KEntryKey' ||
$className eq 'KGlobalSettings::KMouseSettings' ||
$className eq 'TDEGlobalSettings::KMouseSettings' ||
$className eq 'KMimeType::Format' ||
$className eq 'KNotifyClient::Instance' ||
$className eq 'KParts::ComponentFactory' ||
@ -554,7 +554,7 @@ sub preParseClass
|| ($classNode->{astNodeName} eq 'KFileItem' and $name eq 'extraData')
|| ($classNode->{astNodeName} eq 'KFileView' and $name eq 'selectionMode')
|| ($classNode->{astNodeName} eq 'KFind' and $name eq 'KFind' and @{$m->{ParamList}} == 4)
|| ($classNode->{astNodeName} eq 'KGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'TDEGlobalAccel' and $name eq 'setEnabled')
|| ($classNode->{astNodeName} eq 'KCharsets' and $name eq 'encodingsForLanguage')
|| ($classNode->{astNodeName} eq 'KInputDialog' and $name eq 'getInteger')
|| ($classNode->{astNodeName} eq 'SlaveBase' and $name eq 'checkCachedAuthentication')

@ -913,10 +913,10 @@ BEGIN
'KFontSizeAction*' => 'kde_KFontSizeAction*',
'KGenericFactory*' => 'kde_KGenericFactory*',
'KGenericFactoryBase*' => 'kde_KGenericFactoryBase*',
'KGlobal*' => 'kde_KGlobal*',
'KGlobalAccel*' => 'kde_KGlobalAccel*' ,
'KGlobalSettings*' => 'kde_KGlobalSettings*',
'KGlobalSettings::Completion' => 'int' ,
'TDEGlobal*' => 'kde_TDEGlobal*',
'TDEGlobalAccel*' => 'kde_TDEGlobalAccel*' ,
'TDEGlobalSettings*' => 'kde_TDEGlobalSettings*',
'TDEGlobalSettings::Completion' => 'int' ,
'KGradientSelector*' => 'kde_KGradientSelector*',
'KGuiItem&' => 'kde_KGuiItem*',
'KGuiItem' => 'kde_KGuiItem*',
@ -1056,10 +1056,10 @@ BEGIN
'KPrinter*' => 'kde_KPrinter*',
'KPrinterWrapper*' => 'kde_KPrinterWrapper*',
'KProcIO*' => 'kde_KProcIO*' ,
'KProcess&' => 'kde_KProcess*' ,
'KProcess*' => 'kde_KProcess*' ,
'KProcessController*' => 'kde_KProcessController*',
'KProcessRunner*' => 'kde_KProcessRunner*',
'TDEProcess&' => 'kde_TDEProcess*' ,
'TDEProcess*' => 'kde_TDEProcess*' ,
'TDEProcessController*' => 'kde_TDEProcessController*',
'TDEProcessRunner*' => 'kde_TDEProcessRunner*',
'KProgress*' => 'kde_KProgress*',
'KPropertiesDialog*' => 'kde_KPropertiesDialog*' ,
'KPropsDlgPlugin*' => 'kde_KPropsDlgPlugin*' ,

@ -10,7 +10,7 @@
2005-02-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk>
* Added missing KGlobal class
* Added missing TDEGlobal class
2005-02-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk>

File diff suppressed because one or more lines are too long

@ -12,7 +12,7 @@ class KAccelShortcutListJBridge : public KAccelShortcutList
{
public:
KAccelShortcutListJBridge(KAccel* arg1) : KAccelShortcutList(arg1) {};
KAccelShortcutListJBridge(KGlobalAccel* arg1) : KAccelShortcutList(arg1) {};
KAccelShortcutListJBridge(TDEGlobalAccel* arg1) : KAccelShortcutList(arg1) {};
KAccelShortcutListJBridge(KAccelActions& arg1,bool arg2) : KAccelShortcutList(arg1,arg2) {};
~KAccelShortcutListJBridge() {QtSupport::qtKeyDeleted(this);}
};
@ -105,10 +105,10 @@ Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAcc
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel)
Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KAccelShortcutListJBridge((KGlobalAccel*) QtSupport::getQt(env, accel)));
QtSupport::setQt(env, obj, new KAccelShortcutListJBridge((TDEGlobalAccel*) QtSupport::getQt(env, accel)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;

@ -11,7 +11,7 @@ extern "C"
#endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KGlobalAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KAccelShortcutList_newKAccelShortcutList__Lorg_kde_koala_KAccelActions_2Z (JNIEnv *env, jobject, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAccelShortcutList_count (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAccelShortcutList_name (JNIEnv *env, jobject, jint);

@ -757,7 +757,7 @@ static TQString* _qstring_arg1 = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KComboBox_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionMode((KGlobalSettings::Completion) mode);
((KCompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
return;
}

@ -277,7 +277,7 @@ static TQString* _qstring_item = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KCompletion_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
((KCompletion*) QtSupport::getQt(env, obj))->setCompletionMode((KGlobalSettings::Completion) mode);
((KCompletion*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
return;
}

@ -91,7 +91,7 @@ static TQString* _qstring_text = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KCompletionBase_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
((KCompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((KGlobalSettings::Completion) mode);
((KCompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
return;
}

@ -57,7 +57,7 @@ static const char * const javaToQtTypeSignatureMap[][2] = {
{"(KFileTreeView,TQDropEvent,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*)"},
{"(KFileTreeView,TQDropEvent,TQListViewItem,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"},
{"(KFileView)", "(KFileView*)"},
{"(int)", "(KGlobalSettings::Completion)"},
{"(int)", "(TDEGlobalSettings::Completion)"},
{"(Job)", "(KIO::Job*)"},
{"(Job,KURL)", "(KIO::Job*,const KURL&)"},
{"Job,KURL,KURL)", "(KIO::Job*,const KURL&,const KURL&)"},
@ -84,8 +84,8 @@ static const char * const javaToQtTypeSignatureMap[][2] = {
{"(Part)", "(KParts::Part*)"},
{"(KPopupMenu,Calendar)", "(KPopupMenu*,const TQDate&)"},
{"(KPopupMenu,int,TQPopupMenu)", "(KPopupMenu*,int,TQPopupMenu*)"},
{"(KProcess)", "(KProcess*)"},
{"(KProcess,String,int)", "(KProcess*,char*,int)"},
{"(TDEProcess)", "(TDEProcess*)"},
{"(TDEProcess,String,int)", "(TDEProcess*,char*,int)"},
{"(KProcIO)", "(KProcIO*)"},
{"(KSpell)", "(KSpell*)"},
{"(int)", "(KToolBar::BarPosition)"},
@ -858,7 +858,7 @@ KDEJavaSlot::invoke(KFileView* arg1)
}
void
KDEJavaSlot::invoke(KGlobalSettings::Completion arg1)
KDEJavaSlot::invoke(TDEGlobalSettings::Completion arg1)
{
JNIEnv * env;
jclass cls;
@ -1483,7 +1483,7 @@ KDEJavaSlot::invoke(KPopupMenu* arg1,int arg2,TQPopupMenu* arg3)
}
void
KDEJavaSlot::invoke(KProcess* arg1)
KDEJavaSlot::invoke(TDEProcess* arg1)
{
JNIEnv * env;
jclass cls;
@ -1500,12 +1500,12 @@ KDEJavaSlot::invoke(KProcess* arg1)
}
result = env->CallObjectMethod( invocation,
mid,
QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KProcess") );
QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess") );
env->PopLocalFrame(0);
}
void
KDEJavaSlot::invoke(KProcess* arg1,char* arg2, int arg3)
KDEJavaSlot::invoke(TDEProcess* arg1,char* arg2, int arg3)
{
JNIEnv * env;
jclass cls;
@ -1522,7 +1522,7 @@ KDEJavaSlot::invoke(KProcess* arg1,char* arg2, int arg3)
}
result = env->CallObjectMethod( invocation,
mid,
QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KProcess"),
QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess"),
QtSupport::fromCharString(env, arg2),
(jint) arg3 );
env->PopLocalFrame(0);

@ -93,7 +93,7 @@ public slots:
void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3);
void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3,TQListViewItem* arg4);
void invoke(KFileView* arg1);
void invoke(KGlobalSettings::Completion arg1);
void invoke(TDEGlobalSettings::Completion arg1);
void invoke(KIO::Job* arg1);
void invoke(KIO::Job* arg1,const KURL& arg2);
void invoke(KIO::Job* arg1,const KURL& arg2,const KURL& arg3);
@ -120,8 +120,8 @@ public slots:
void invoke(KParts::Part* arg1);
void invoke(KPopupMenu* arg1,const TQDate& arg2);
void invoke(KPopupMenu* arg1,int arg2,TQPopupMenu* arg3);
void invoke(KProcess* arg1);
void invoke(KProcess* arg1,char* arg2, int arg3);
void invoke(TDEProcess* arg1);
void invoke(TDEProcess* arg1,char* arg2, int arg3);
void invoke(KProcIO* arg1);
void invoke(KSpell* arg1);
void invoke(KToolBar::BarPosition arg1);

@ -4,152 +4,152 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KGlobal.h>
#include <kdejava/TDEGlobal.h>
class KGlobalJBridge : public KGlobal
class TDEGlobalJBridge : public TDEGlobal
{
public:
KGlobalJBridge() : KGlobal() {};
~KGlobalJBridge() {QtSupport::qtKeyDeleted(this);}
TDEGlobalJBridge() : TDEGlobal() {};
~TDEGlobalJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_activeInstance(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_activeInstance(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::activeInstance(), "org.kde.koala.TDEInstanceInterface");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::activeInstance(), "org.kde.koala.TDEInstanceInterface");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_charsets(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_charsets(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::charsets(), "org.kde.koala.KCharsets");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::charsets(), "org.kde.koala.KCharsets");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_config(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_config(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::config(), "org.kde.koala.KConfig");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::config(), "org.kde.koala.KConfig");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_deleteStaticDeleters(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_deleteStaticDeleters(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
KGlobalJBridge::deleteStaticDeleters();
TDEGlobalJBridge::deleteStaticDeleters();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_dirs(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_dirs(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::dirs(), "org.kde.koala.KStandardDirs");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::dirs(), "org.kde.koala.KStandardDirs");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_dispose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobal_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KGlobal_finalize(env, obj);
Java_org_kde_koala_TDEGlobal_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_finalize(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobal_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KGlobal*)QtSupport::getQt(env, obj);
delete (TDEGlobal*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_iconLoader(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_iconLoader(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::iconLoader(), "org.kde.koala.KIconLoader");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::iconLoader(), "org.kde.koala.KIconLoader");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_instance(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_instance(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::instance(), "org.kde.koala.TDEInstanceInterface");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::instance(), "org.kde.koala.TDEInstanceInterface");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobal_isDisposed(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobal_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_locale(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_locale(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::locale(), "org.kde.koala.KLocale");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::locale(), "org.kde.koala.KLocale");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_newKGlobal(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobal_newTDEGlobal(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KGlobalJBridge());
QtSupport::setQt(env, obj, new TDEGlobalJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_registerStaticDeleter(JNIEnv* env, jclass cls, jobject d)
Java_org_kde_koala_TDEGlobal_registerStaticDeleter(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::registerStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
TDEGlobalJBridge::registerStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_setActiveInstance(JNIEnv* env, jclass cls, jobject d)
Java_org_kde_koala_TDEGlobal_setActiveInstance(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::setActiveInstance((TDEInstance*) QtSupport::getQt(env, d));
TDEGlobalJBridge::setActiveInstance((TDEInstance*) QtSupport::getQt(env, d));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobal_sharedConfig(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobal_sharedConfig(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)KGlobalJBridge::sharedConfig(), "org.kde.koala.KSharedConfig");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::sharedConfig(), "org.kde.koala.KSharedConfig");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobal_staticQString(JNIEnv* env, jclass cls, jstring str)
Java_org_kde_koala_TDEGlobal_staticQString(JNIEnv* env, jclass cls, jstring str)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_str = 0;
_qstring = KGlobalJBridge::staticQString((const char*) QtSupport::toCharString(env, str, &_qstring_str));
_qstring = TDEGlobalJBridge::staticQString((const char*) QtSupport::toCharString(env, str, &_qstring_str));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobal_unregisterStaticDeleter(JNIEnv* env, jclass cls, jobject d)
Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter(JNIEnv* env, jclass cls, jobject d)
{
(void) cls;
KGlobalJBridge::unregisterStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
TDEGlobalJBridge::unregisterStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d));
return;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KGlobal__
#define __org_kde_koala_KGlobal__
#ifndef __org_kde_koala_TDEGlobal__
#define __org_kde_koala_TDEGlobal__
#include <jni.h>
@ -10,26 +10,26 @@ extern "C"
{
#endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_newKGlobal (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_instance (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_dirs (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_config (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_sharedConfig (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_iconLoader (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_locale (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_charsets (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobal_staticQString (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_registerStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_unregisterStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_deleteStaticDeleters (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_setActiveInstance (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_activeInstance (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobal_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_newTDEGlobal (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_instance (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_dirs (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_config (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_sharedConfig (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_iconLoader (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_locale (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_charsets (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobal_staticQString (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_registerStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_deleteStaticDeleters (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_setActiveInstance (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_activeInstance (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobal_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KGlobal__ */
#endif /* __org_kde_koala_TDEGlobal__ */

@ -5,14 +5,14 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KGlobalAccel.h>
#include <kdejava/TDEGlobalAccel.h>
class KGlobalAccelJBridge : public KGlobalAccel
class TDEGlobalAccelJBridge : public TDEGlobalAccel
{
public:
KGlobalAccelJBridge(TQObject* arg1,const char* arg2) : KGlobalAccel(arg1,arg2) {};
KGlobalAccelJBridge(TQObject* arg1) : KGlobalAccel(arg1) {};
~KGlobalAccelJBridge() {QtSupport::qtKeyDeleted(this);}
TDEGlobalAccelJBridge(TQObject* arg1,const char* arg2) : TDEGlobalAccel(arg1,arg2) {};
TDEGlobalAccelJBridge(TQObject* arg1) : TDEGlobalAccel(arg1) {};
~TDEGlobalAccelJBridge() {QtSupport::qtKeyDeleted(this);}
void removeChild(TQObject* arg1) {
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
TQObject::removeChild(arg1);
@ -44,7 +44,7 @@ public:
return;
}
bool eventFilter(TQObject* object,TQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KGlobalAccel",object,event)) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEGlobalAccel",object,event)) {
return TQObject::eventFilter(object,event);
} else {
return TRUE;
@ -53,239 +53,239 @@ public:
};
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_blockShortcuts(JNIEnv* env, jclass cls, jboolean block)
Java_org_kde_koala_TDEGlobalAccel_blockShortcuts(JNIEnv* env, jclass cls, jboolean block)
{
(void) cls;
(void) env;
KGlobalAccelJBridge::blockShortcuts((bool) block);
TDEGlobalAccelJBridge::blockShortcuts((bool) block);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalAccel_className(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KGlobalAccel*) QtSupport::getQt(env, obj))->className();
_qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalAccel_configGroup(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_configGroup(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KGlobalAccel*) QtSupport::getQt(env, obj))->configGroup();
_qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->configGroup();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_disableBlocking(JNIEnv* env, jobject obj, jboolean disable)
Java_org_kde_koala_TDEGlobalAccel_disableBlocking(JNIEnv* env, jobject obj, jboolean disable)
{
((KGlobalAccel*) QtSupport::getQt(env, obj))->disableBlocking((bool) disable);
((TDEGlobalAccel*) QtSupport::getQt(env, obj))->disableBlocking((bool) disable);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_dispose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KGlobalAccel_finalize(env, obj);
Java_org_kde_koala_TDEGlobalAccel_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_finalize(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj) && ((KGlobalAccel*)QtSupport::getQt(env, obj))->parent() == 0) {
delete (KGlobalAccel*)QtSupport::getQt(env, obj);
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEGlobalAccel*)QtSupport::getQt(env, obj))->parent() == 0) {
delete (TDEGlobalAccel*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName, jstring sLabel)
Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName, jstring sLabel)
{
static TQString* _qstring_sName = 0;
static TQString* _qstring_sLabel = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.KAccelAction");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.KAccelAction");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot)
Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot)
{
static TQString* _qstring_sAction = 0;
static TQString* _qstring_sLabel = 0;
static TQString* _qstring_sWhatsThis = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.KAccelAction");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable)
Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable)
{
static TQString* _qstring_sAction = 0;
static TQString* _qstring_sLabel = 0;
static TQString* _qstring_sWhatsThis = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.KAccelAction");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled)
Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled)
{
static TQString* _qstring_sAction = 0;
static TQString* _qstring_sLabel = 0;
static TQString* _qstring_sWhatsThis = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)((KGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef3), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.KAccelAction");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_isDisposed(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_isEnabled(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_isEnabled(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->isEnabled();
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->isEnabled();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalAccel_label(JNIEnv* env, jobject obj, jstring sAction)
Java_org_kde_koala_TDEGlobalAccel_label(JNIEnv* env, jobject obj, jstring sAction)
{
TQString _qstring;
static TQString* _qstring_sAction = 0;
_qstring = ((KGlobalAccel*) QtSupport::getQt(env, obj))->label((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction));
_qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->label((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_metaObject(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KGlobalAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_newKGlobalAccel__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject pParent)
Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject pParent)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent)));
QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_newKGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName)
Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName)
{
static TQCString* _qstring_psName = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName)));
QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_readSettings__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_readSettings__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->readSettings();
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_readSettings__Lorg_kde_koala_KConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig)
Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_KConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->readSettings((KConfigBase*) QtSupport::getQt(env, pConfig));
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings((KConfigBase*) QtSupport::getQt(env, pConfig));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_remove(JNIEnv* env, jobject obj, jstring sAction)
Java_org_kde_koala_TDEGlobalAccel_remove(JNIEnv* env, jobject obj, jstring sAction)
{
static TQString* _qstring_sAction = 0;
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction));
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_setActionEnabled(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnable)
Java_org_kde_koala_TDEGlobalAccel_setActionEnabled(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnable)
{
static TQString* _qstring_sAction = 0;
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->setActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnable);
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnable);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring cg)
Java_org_kde_koala_TDEGlobalAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring cg)
{
static TQString* _qstring_cg = 0;
((KGlobalAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, cg, &_qstring_cg));
((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, cg, &_qstring_cg));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut)
Java_org_kde_koala_TDEGlobalAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut)
{
static TQString* _qstring_sAction = 0;
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut));
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const KShortcut&)*(const KShortcut*) QtSupport::getQt(env, shortcut));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot)
Java_org_kde_koala_TDEGlobalAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot)
{
static TQString* _qstring_sAction = 0;
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()");
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction)
Java_org_kde_koala_TDEGlobalAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction)
{
static TQString* _qstring_sAction = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((KGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.KShortcut");
jobject xret = QtSupport::objectForQtKey(env, (void*)(KShortcut *) &((TDEGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.KShortcut");
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_updateConnections(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_updateConnections(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->updateConnections();
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->updateConnections();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_useFourModifierKeys(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalAccelJBridge::useFourModifierKeys();
jboolean xret = (jboolean) TDEGlobalAccelJBridge::useFourModifierKeys();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_writeSettings__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalAccel_writeSettings__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings();
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig)
Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((KConfigBase*) QtSupport::getQt(env, pConfig));
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((KConfigBase*) QtSupport::getQt(env, pConfig));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2Z(JNIEnv* env, jobject obj, jobject pConfig, jboolean bGlobal)
Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2Z(JNIEnv* env, jobject obj, jobject pConfig, jboolean bGlobal)
{
jboolean xret = (jboolean) ((KGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((KConfigBase*) QtSupport::getQt(env, pConfig), (bool) bGlobal);
jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((KConfigBase*) QtSupport::getQt(env, pConfig), (bool) bGlobal);
return xret;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KGlobalAccel__
#define __org_kde_koala_KGlobalAccel__
#ifndef __org_kde_koala_TDEGlobalAccel__
#define __org_kde_koala_TDEGlobalAccel__
#include <jni.h>
@ -10,38 +10,38 @@ extern "C"
{
#endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalAccel_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_newKGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_newKGlobalAccel__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_isEnabled (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_remove (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_updateConnections (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalAccel_shortcut (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_setActionEnabled (JNIEnv *env, jobject, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalAccel_label (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalAccel_configGroup (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_setConfigGroup (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_readSettings__Lorg_kde_koala_KConfigBase_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_readSettings__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_writeSettings__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2Z (JNIEnv *env, jobject, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_disableBlocking (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_useFourModifierKeys (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_blockShortcuts (JNIEnv *env, jclass, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalAccel_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalAccel_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isEnabled (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KShortcut_2Lorg_kde_koala_KShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_remove (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_updateConnections (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_shortcut (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setActionEnabled (JNIEnv *env, jobject, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_label (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_configGroup (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_setConfigGroup (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_KConfigBase_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_KConfigBase_2Z (JNIEnv *env, jobject, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_disableBlocking (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_blockShortcuts (JNIEnv *env, jclass, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KGlobalAccel__ */
#endif /* __org_kde_koala_TDEGlobalAccel__ */

@ -9,451 +9,451 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KGlobalSettings.h>
#include <kdejava/TDEGlobalSettings.h>
class KGlobalSettingsJBridge : public KGlobalSettings
class TDEGlobalSettingsJBridge : public TDEGlobalSettings
{
public:
KGlobalSettingsJBridge() : KGlobalSettings() {};
~KGlobalSettingsJBridge() {QtSupport::qtKeyDeleted(this);}
TDEGlobalSettingsJBridge() : TDEGlobalSettings() {};
~TDEGlobalSettingsJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_activeTextColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_activeTextColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::activeTextColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTextColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_activeTitleColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_activeTitleColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::activeTitleColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTitleColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_alternateBackgroundColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::alternateBackgroundColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::alternateBackgroundColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_autoSelectDelay(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::autoSelectDelay();
jint xret = (jint) TDEGlobalSettingsJBridge::autoSelectDelay();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalSettings_autostartPath(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_autostartPath(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KGlobalSettingsJBridge::autostartPath();
_qstring = TDEGlobalSettingsJBridge::autostartPath();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_baseColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_baseColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::baseColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::baseColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_buttonBackground(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_buttonBackground(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::buttonBackground()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonBackground()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_buttonLayout(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_buttonLayout(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::buttonLayout();
jint xret = (jint) TDEGlobalSettingsJBridge::buttonLayout();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_buttonTextColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_buttonTextColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::buttonTextColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonTextColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_calculateAlternateBackgroundColor(JNIEnv* env, jclass cls, jobject base)
Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor(JNIEnv* env, jclass cls, jobject base)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::calculateAlternateBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::calculateAlternateBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_changeCursorOverIcon(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::changeCursorOverIcon();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::changeCursorOverIcon();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_completionMode(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_completionMode(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::completionMode();
jint xret = (jint) TDEGlobalSettingsJBridge::completionMode();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_contextMenuKey(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_contextMenuKey(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::contextMenuKey();
jint xret = (jint) TDEGlobalSettingsJBridge::contextMenuKey();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_contrast(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_contrast(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::contrast();
jint xret = (jint) TDEGlobalSettingsJBridge::contrast();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject point)
Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject point)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KGlobalSettingsJBridge::desktopGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point))), "org.kde.qt.TQRect", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject w)
Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject w)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KGlobalSettingsJBridge::desktopGeometry((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalSettings_desktopPath(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_desktopPath(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KGlobalSettingsJBridge::desktopPath();
_qstring = TDEGlobalSettingsJBridge::desktopPath();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalSettings_dispose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalSettings_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KGlobalSettings_finalize(env, obj);
Java_org_kde_koala_TDEGlobalSettings_finalize(env, obj);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_dndEventDelay(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_dndEventDelay(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::dndEventDelay();
jint xret = (jint) TDEGlobalSettingsJBridge::dndEventDelay();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalSettings_documentPath(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_documentPath(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KGlobalSettingsJBridge::documentPath();
_qstring = TDEGlobalSettingsJBridge::documentPath();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalSettings_finalize(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalSettings_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KGlobalSettings*)QtSupport::getQt(env, obj);
delete (TDEGlobalSettings*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_fixedFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_fixedFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::fixedFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::fixedFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_generalFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_generalFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::generalFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::generalFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_highlightColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_highlightColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::highlightColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_highlightedTextColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::highlightedTextColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightedTextColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_inactiveTextColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::inactiveTextColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTextColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_inactiveTitleColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::inactiveTitleColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTitleColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_insertTearOffHandle(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::insertTearOffHandle();
jint xret = (jint) TDEGlobalSettingsJBridge::insertTearOffHandle();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_isDisposed(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalSettings_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_isMultiHead(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_isMultiHead(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::isMultiHead();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::isMultiHead();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_largeFont__(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_largeFont__(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::largeFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_largeFont__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text)
Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text)
{
(void) cls;
static TQString* _qstring_text = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::largeFont((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_linkColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_linkColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::linkColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::linkColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_menuFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_menuFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::menuFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::menuFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KGlobalSettings_newKGlobalSettings(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KGlobalSettingsJBridge());
QtSupport::setQt(env, obj, new TDEGlobalSettingsJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_opaqueResize(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_opaqueResize(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::opaqueResize();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::opaqueResize();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_shadeSortColumn(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::shadeSortColumn();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::shadeSortColumn();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_showContextMenusOnPress(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::showContextMenusOnPress();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showContextMenusOnPress();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_showFilePreview(JNIEnv* env, jclass cls, jobject arg1)
Java_org_kde_koala_TDEGlobalSettings_showFilePreview(JNIEnv* env, jclass cls, jobject arg1)
{
(void) cls;
jboolean xret = (jboolean) KGlobalSettingsJBridge::showFilePreview((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1));
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showFilePreview((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_showIconsOnPushButtons(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::showIconsOnPushButtons();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showIconsOnPushButtons();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_singleClick(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_singleClick(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::singleClick();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::singleClick();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_splashScreenDesktopGeometry(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KGlobalSettingsJBridge::splashScreenDesktopGeometry()), "org.kde.qt.TQRect", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::splashScreenDesktopGeometry()), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_taskbarFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_taskbarFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::taskbarFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::taskbarFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_textColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_textColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::textColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::textColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_toolBarFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_toolBarFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::toolBarFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::toolBarFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_toolBarHighlightColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::toolBarHighlightColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::toolBarHighlightColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KGlobalSettings_trashPath(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_trashPath(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KGlobalSettingsJBridge::trashPath();
_qstring = TDEGlobalSettingsJBridge::trashPath();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_visitedLinkColor(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KGlobalSettingsJBridge::visitedLinkColor()), "org.kde.qt.TQColor", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::visitedLinkColor()), "org.kde.qt.TQColor", TRUE);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KGlobalSettings_visualActivateSpeed(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jint xret = (jint) KGlobalSettingsJBridge::visualActivateSpeed();
jint xret = (jint) TDEGlobalSettingsJBridge::visualActivateSpeed();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_visualActivate(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_visualActivate(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::visualActivate();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::visualActivate();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KGlobalSettings_wheelMouseZooms(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
jboolean xret = (jboolean) KGlobalSettingsJBridge::wheelMouseZooms();
jboolean xret = (jboolean) TDEGlobalSettingsJBridge::wheelMouseZooms();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KGlobalSettings_windowTitleFont(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEGlobalSettings_windowTitleFont(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(KGlobalSettingsJBridge::windowTitleFont()), "org.kde.qt.TQFont", TRUE);
jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::windowTitleFont()), "org.kde.qt.TQFont", TRUE);
return xret;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KGlobalSettings__
#define __org_kde_koala_KGlobalSettings__
#ifndef __org_kde_koala_TDEGlobalSettings__
#define __org_kde_koala_TDEGlobalSettings__
#include <jni.h>
@ -10,61 +10,61 @@ extern "C"
{
#endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalSettings_newKGlobalSettings (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_dndEventDelay (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_singleClick (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_insertTearOffHandle (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_changeCursorOverIcon (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_visualActivate (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_visualActivateSpeed (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_autoSelectDelay (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_contextMenuKey (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_showContextMenusOnPress (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_completionMode (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalSettings_desktopPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalSettings_autostartPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalSettings_trashPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobalSettings_documentPath (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_toolBarHighlightColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_inactiveTitleColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_inactiveTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_activeTitleColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_activeTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_contrast (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_buttonBackground (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_buttonTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_baseColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_textColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_linkColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_visitedLinkColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_highlightedTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_highlightColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_alternateBackgroundColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_calculateAlternateBackgroundColor (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_shadeSortColumn (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_generalFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_fixedFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_toolBarFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_menuFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_windowTitleFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_taskbarFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_largeFont__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_largeFont__ (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_isMultiHead (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_wheelMouseZooms (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_splashScreenDesktopGeometry (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_showIconsOnPushButtons (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_showFilePreview (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_opaqueResize (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KGlobalSettings_buttonLayout (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalSettings_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobalSettings_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGlobalSettings_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_dndEventDelay (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_singleClick (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivate (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contextMenuKey (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_completionMode (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_autostartPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_trashPath (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_documentPath (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTitleColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contrast (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonBackground (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_baseColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_textColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_linkColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_generalFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_fixedFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_menuFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_windowTitleFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_taskbarFont (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__ (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isMultiHead (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showFilePreview (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_opaqueResize (JNIEnv *env, jclass);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonLayout (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KGlobalSettings__ */
#endif /* __org_kde_koala_TDEGlobalSettings__ */

@ -17,12 +17,12 @@ public:
KKeyChooserJBridge(KActionCollection* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {};
KKeyChooserJBridge(KAccel* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {};
KKeyChooserJBridge(KAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {};
KKeyChooserJBridge(KGlobalAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {};
KKeyChooserJBridge(TDEGlobalAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {};
KKeyChooserJBridge(KShortcutList* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {};
bool protected_insert(KAccel* arg1) {
return (bool) KKeyChooser::insert(arg1);
}
bool protected_insert(KGlobalAccel* arg1) {
bool protected_insert(TDEGlobalAccel* arg1) {
return (bool) KKeyChooser::insert(arg1);
}
bool protected_insert(KShortcutList* arg1) {
@ -549,9 +549,9 @@ static TQString* _qstring_title = 0;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KGlobalAccel_2(JNIEnv* env, jobject obj, jobject arg1)
Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject arg1)
{
jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((KGlobalAccel*) QtSupport::getQt(env, arg1));
jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEGlobalAccel*) QtSupport::getQt(env, arg1));
return xret;
}
@ -637,10 +637,10 @@ Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent)
Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KKeyChooserJBridge((KGlobalAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEGlobalAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;

@ -17,7 +17,7 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lor
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_KShortcutList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
@ -30,7 +30,7 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_listSync (JNIEnv *e
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KGlobalAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_KShortcutList_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__I (JNIEnv *env, jobject, jint);

@ -546,50 +546,50 @@ Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2(JNIEnv* env, jclass cls, jobject keys)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jclass cls, jobject keys)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys));
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent));
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings);
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts);
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent));
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings)
Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings)
{
(void) cls;
jint xret = (jint) KKeyDialogJBridge::configure((KGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings);
jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings);
return xret;
}

@ -27,18 +27,18 @@ extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jclass, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KActionCollection_2Z (JNIEnv *env, jclass, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KAccel_2Z (JNIEnv *env, jclass, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_KGlobalAccel_2Z (JNIEnv *env, jclass, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z (JNIEnv *env, jclass, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_isDisposed (JNIEnv *env, jobject);

@ -907,7 +907,7 @@ Java_org_kde_koala_KLineEdit_setCompletionBox(JNIEnv* env, jobject obj, jobject
JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletionMode(JNIEnv* env, jobject obj, jint mode)
{
((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionMode((KGlobalSettings::Completion) mode);
((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode);
return;
}

@ -17,11 +17,11 @@ public:
KProcIO::controlledEmission();
return;
}
void protected_received(KProcess* arg1,char* arg2,int arg3) {
void protected_received(TDEProcess* arg1,char* arg2,int arg3) {
KProcIO::received(arg1,arg2,arg3);
return;
}
void protected_sent(KProcess* arg1) {
void protected_sent(TDEProcess* arg1) {
KProcIO::sent(arg1);
return;
}
@ -58,7 +58,7 @@ public:
}
void commClose() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KProcIO","commClose")) {
KProcess::commClose();
TDEProcess::commClose();
}
return;
}
@ -190,7 +190,7 @@ JNIEXPORT void JNICALL
Java_org_kde_koala_KProcIO_received(JNIEnv* env, jobject obj, jobject proc, jstring buffer, jint buflen)
{
static TQCString* _qstring_buffer = 0;
((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_received((KProcess*) QtSupport::getQt(env, proc), (char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_received((TDEProcess*) QtSupport::getQt(env, proc), (char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
return;
}
@ -204,14 +204,14 @@ Java_org_kde_koala_KProcIO_resetAll(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcIO_sent(JNIEnv* env, jobject obj, jobject arg1)
{
((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_sent((KProcess*) QtSupport::getQt(env, arg1));
((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_sent((TDEProcess*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcIO_setComm(JNIEnv* env, jobject obj, jint comm)
{
((KProcIO*) QtSupport::getQt(env, obj))->setComm((KProcess::Communication) comm);
((KProcIO*) QtSupport::getQt(env, obj))->setComm((TDEProcess::Communication) comm);
return;
}
@ -225,14 +225,14 @@ Java_org_kde_koala_KProcIO_start__(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcIO_start__I(JNIEnv* env, jobject obj, jint runmode)
{
jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode);
jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcIO_start__IZ(JNIEnv* env, jobject obj, jint runmode, jboolean includeStderr)
{
jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode, (bool) includeStderr);
jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (bool) includeStderr);
return xret;
}

@ -6,58 +6,58 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KProcess.h>
#include <kdejava/TDEProcess.h>
class KProcessJBridge : public KProcess
class TDEProcessJBridge : public TDEProcess
{
public:
KProcessJBridge(TQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {};
KProcessJBridge(TQObject* arg1) : KProcess(arg1) {};
KProcessJBridge() : KProcess() {};
TDEProcessJBridge(TQObject* arg1,const char* arg2) : TDEProcess(arg1,arg2) {};
TDEProcessJBridge(TQObject* arg1) : TDEProcess(arg1) {};
TDEProcessJBridge() : TDEProcess() {};
void protected_setupEnvironment() {
KProcess::setupEnvironment();
TDEProcess::setupEnvironment();
return;
}
int protected_setupCommunication(KProcess::Communication arg1) {
return (int) KProcess::setupCommunication(arg1);
int protected_setupCommunication(TDEProcess::Communication arg1) {
return (int) TDEProcess::setupCommunication(arg1);
}
int protected_commSetupDoneP() {
return (int) KProcess::commSetupDoneP();
return (int) TDEProcess::commSetupDoneP();
}
int protected_commSetupDoneC() {
return (int) KProcess::commSetupDoneC();
return (int) TDEProcess::commSetupDoneC();
}
void protected_processHasExited(int arg1) {
KProcess::processHasExited(arg1);
TDEProcess::processHasExited(arg1);
return;
}
void protected_commClose() {
KProcess::commClose();
TDEProcess::commClose();
return;
}
void protected_setBinaryExecutable(const char* arg1) {
KProcess::setBinaryExecutable(arg1);
TDEProcess::setBinaryExecutable(arg1);
return;
}
int protected_childOutput(int arg1) {
return (int) KProcess::childOutput(arg1);
return (int) TDEProcess::childOutput(arg1);
}
int protected_childError(int arg1) {
return (int) KProcess::childError(arg1);
return (int) TDEProcess::childError(arg1);
}
void protected_slotChildOutput(int arg1) {
KProcess::slotChildOutput(arg1);
TDEProcess::slotChildOutput(arg1);
return;
}
void protected_slotChildError(int arg1) {
KProcess::slotChildError(arg1);
TDEProcess::slotChildError(arg1);
return;
}
void protected_slotSendData(int arg1) {
KProcess::slotSendData(arg1);
TDEProcess::slotSendData(arg1);
return;
}
~KProcessJBridge() {QtSupport::qtKeyDeleted(this);}
~TDEProcessJBridge() {QtSupport::qtKeyDeleted(this);}
void removeChild(TQObject* arg1) {
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
TQObject::removeChild(arg1);
@ -89,13 +89,13 @@ public:
return;
}
void commClose() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KProcess","commClose")) {
KProcess::commClose();
if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEProcess","commClose")) {
TDEProcess::commClose();
}
return;
}
bool eventFilter(TQObject* object,TQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcess",object,event)) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEProcess",object,event)) {
return TQObject::eventFilter(object,event);
} else {
return TRUE;
@ -104,404 +104,404 @@ public:
};
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_childError(JNIEnv* env, jobject obj, jint fdno)
Java_org_kde_koala_TDEProcess_childError(JNIEnv* env, jobject obj, jint fdno)
{
jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno);
jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_childOutput(JNIEnv* env, jobject obj, jint fdno)
Java_org_kde_koala_TDEProcess_childOutput(JNIEnv* env, jobject obj, jint fdno)
{
jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno);
jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno);
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KProcess_className(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KProcess*) QtSupport::getQt(env, obj))->className();
_qstring = ((TDEProcess*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_clearArguments(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_clearArguments(JNIEnv* env, jobject obj)
{
((KProcess*) QtSupport::getQt(env, obj))->clearArguments();
((TDEProcess*) QtSupport::getQt(env, obj))->clearArguments();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_closeAll(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_closeAll(JNIEnv* env, jobject obj)
{
((KProcess*) QtSupport::getQt(env, obj))->closeAll();
((TDEProcess*) QtSupport::getQt(env, obj))->closeAll();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_closePty(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_closePty(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closePty();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closePty();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_closeStderr(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_closeStderr(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStderr();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStderr();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_closeStdin(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_closeStdin(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStdin();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdin();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_closeStdout(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_closeStdout(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStdout();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdout();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_commClose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_commClose(JNIEnv* env, jobject obj)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose();
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_commSetupDoneC(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_commSetupDoneC(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC();
jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_commSetupDoneP(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_commSetupDoneP(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP();
jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_coreDumped(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_coreDumped(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->coreDumped();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->coreDumped();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_detach(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_detach(JNIEnv* env, jobject obj)
{
((KProcess*) QtSupport::getQt(env, obj))->detach();
((TDEProcess*) QtSupport::getQt(env, obj))->detach();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_dispose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KProcess_finalize(env, obj);
Java_org_kde_koala_TDEProcess_finalize(env, obj);
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_exitSignal(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_exitSignal(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->exitSignal();
jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitSignal();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_exitStatus(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_exitStatus(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->exitStatus();
jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitStatus();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_finalize(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj) && ((KProcess*)QtSupport::getQt(env, obj))->parent() == 0) {
delete (KProcess*)QtSupport::getQt(env, obj);
if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEProcess*)QtSupport::getQt(env, obj))->parent() == 0) {
delete (TDEProcess*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_isDisposed(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_isRunning(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_isRunning(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->isRunning();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->isRunning();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_kill__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_kill__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->kill();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_kill__I(JNIEnv* env, jobject obj, jint signo)
Java_org_kde_koala_TDEProcess_kill__I(JNIEnv* env, jobject obj, jint signo)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->kill((int) signo);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill((int) signo);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KProcess_metaObject(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_newKProcess__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_newTDEProcess__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KProcessJBridge());
QtSupport::setQt(env, obj, new TDEProcessJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KProcessJBridge((TQObject*) QtSupport::getQt(env, parent)));
QtSupport::setQt(env, obj, new TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setQt(env, obj, new TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_normalExit(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_normalExit(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->normalExit();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->normalExit();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg)
Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg)
{
static TQString* _qstring_arg = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.KProcess");
jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.TDEProcess");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args)
Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args)
{
static TQStringList* _qlist_args = 0;
jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KProcess");
jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDEProcess");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_pid(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_pid(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->pid();
jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->pid();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_processHasExited(JNIEnv* env, jobject obj, jint state)
Java_org_kde_koala_TDEProcess_processHasExited(JNIEnv* env, jobject obj, jint state)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state);
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KProcess_quote(JNIEnv* env, jclass cls, jstring arg)
Java_org_kde_koala_TDEProcess_quote(JNIEnv* env, jclass cls, jstring arg)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_arg = 0;
_qstring = KProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
_qstring = TDEProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_resume(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_resume(JNIEnv* env, jobject obj)
{
((KProcess*) QtSupport::getQt(env, obj))->resume();
((TDEProcess*) QtSupport::getQt(env, obj))->resume();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_runPrivileged(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_runPrivileged(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->runPrivileged();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->runPrivileged();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename)
Java_org_kde_koala_TDEProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename)
{
static TQCString* _qstring_filename = 0;
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value)
Java_org_kde_koala_TDEProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_value = 0;
((KProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
((TDEProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_setPriority(JNIEnv* env, jobject obj, jint prio)
Java_org_kde_koala_TDEProcess_setPriority(JNIEnv* env, jobject obj, jint prio)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges)
Java_org_kde_koala_TDEProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges)
{
((KProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges);
((TDEProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell)
Java_org_kde_koala_TDEProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell)
{
((KProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell);
((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell)
Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell)
{
static TQCString* _qstring_shell = 0;
((KProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell));
((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
Java_org_kde_koala_TDEProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
((TDEProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm)
Java_org_kde_koala_TDEProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm)
{
jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((KProcess::Communication) comm);
jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((TDEProcess::Communication) comm);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setupEnvironment(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_setupEnvironment(JNIEnv* env, jobject obj)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment();
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_signalled(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_signalled(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->signalled();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->signalled();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno)
Java_org_kde_koala_TDEProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno);
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno)
Java_org_kde_koala_TDEProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno);
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy)
Java_org_kde_koala_TDEProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy)
{
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy);
((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy);
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_start__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_start__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
Java_org_kde_koala_TDEProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm)
Java_org_kde_koala_TDEProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode, (KProcess::Communication) comm);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_suspend(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_suspend(JNIEnv* env, jobject obj)
{
((KProcess*) QtSupport::getQt(env, obj))->suspend();
((TDEProcess*) QtSupport::getQt(env, obj))->suspend();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_waitThread__(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcess_waitThread__(JNIEnv* env, jobject obj)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->wait();
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout)
Java_org_kde_koala_TDEProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout)
{
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->wait((int) timeout);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait((int) timeout);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen)
Java_org_kde_koala_TDEProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen)
{
static TQCString* _qstring_buffer = 0;
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
return xret;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KProcess__
#define __org_kde_koala_KProcess__
#ifndef __org_kde_koala_TDEProcess__
#define __org_kde_koala_TDEProcess__
#include <jni.h>
@ -10,63 +10,63 @@ extern "C"
{
#endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcess_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_newKProcess__ (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_op_1write___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_clearArguments (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_start__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_start__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_start__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_kill__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_kill__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_isRunning (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_pid (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_suspend (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_resume (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_waitThread__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_waitThread__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_normalExit (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_signalled (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_coreDumped (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_exitStatus (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_exitSignal (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_writeStdin (JNIEnv *env, jobject, jstring, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_closeStdin (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_closeStdout (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_closeStderr (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_closePty (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_closeAll (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setRunPrivileged (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_runPrivileged (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setEnvironment (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setWorkingDirectory (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setUseShell__ZLjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setUseShell__Z (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_detach (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_setPriority (JNIEnv *env, jobject, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcess_quote (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setupEnvironment (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_setupCommunication (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_commSetupDoneP (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_commSetupDoneC (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_processHasExited (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_commClose (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setBinaryExecutable (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_childOutput (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcess_childError (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_slotChildOutput (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_slotChildError (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_slotSendData (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_className (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__ (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_clearArguments (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__II (JNIEnv *env, jobject, jint, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isRunning (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_pid (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_suspend (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_resume (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__I (JNIEnv *env, jobject, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__ (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_normalExit (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_signalled (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_coreDumped (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitStatus (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitSignal (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_writeStdin (JNIEnv *env, jobject, jstring, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdin (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdout (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStderr (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closePty (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_closeAll (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setRunPrivileged (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_runPrivileged (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setEnvironment (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setWorkingDirectory (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__Z (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_detach (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_setPriority (JNIEnv *env, jobject, jint);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_quote (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setupEnvironment (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_setupCommunication (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneP (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneC (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_processHasExited (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_commClose (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setBinaryExecutable (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childOutput (JNIEnv *env, jobject, jint);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childError (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildOutput (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildError (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotSendData (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KProcess__ */
#endif /* __org_kde_koala_TDEProcess__ */

@ -3,96 +3,96 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KProcessController.h>
#include <kdejava/TDEProcessController.h>
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_addKProcess(JNIEnv* env, jobject obj, jobject arg1)
Java_org_kde_koala_TDEProcessController_addTDEProcess(JNIEnv* env, jobject obj, jobject arg1)
{
((KProcessController*) QtSupport::getQt(env, obj))->addKProcess((KProcess*) QtSupport::getQt(env, arg1));
((TDEProcessController*) QtSupport::getQt(env, obj))->addTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_addProcess(JNIEnv* env, jobject obj, jint pid)
Java_org_kde_koala_TDEProcessController_addProcess(JNIEnv* env, jobject obj, jint pid)
{
((KProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid);
((TDEProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KProcessController_className(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessController_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KProcessController*) QtSupport::getQt(env, obj))->className();
_qstring = ((TDEProcessController*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_deref(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEProcessController_deref(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
KProcessController::deref();
TDEProcessController::deref();
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KProcessController_metaObject(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessController_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcessController*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessController*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcessController_notifierFd(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessController_notifierFd(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcessController*) QtSupport::getQt(env, obj))->notifierFd();
jint xret = (jint) ((TDEProcessController*) QtSupport::getQt(env, obj))->notifierFd();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_ref(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEProcessController_ref(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
KProcessController::ref();
TDEProcessController::ref();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_removeKProcess(JNIEnv* env, jobject obj, jobject arg1)
Java_org_kde_koala_TDEProcessController_removeTDEProcess(JNIEnv* env, jobject obj, jobject arg1)
{
((KProcessController*) QtSupport::getQt(env, obj))->removeKProcess((KProcess*) QtSupport::getQt(env, arg1));
((TDEProcessController*) QtSupport::getQt(env, obj))->removeTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_rescheduleCheck(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessController_rescheduleCheck(JNIEnv* env, jobject obj)
{
((KProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck();
((TDEProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal)
Java_org_kde_koala_TDEProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal)
{
(void) cls;
(void) env;
KProcessController::theSigCHLDHandler((int) signal);
TDEProcessController::theSigCHLDHandler((int) signal);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_unscheduleCheck(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessController_unscheduleCheck(JNIEnv* env, jobject obj)
{
((KProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck();
((TDEProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout)
Java_org_kde_koala_TDEProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout)
{
jboolean xret = (jboolean) ((KProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout);
jboolean xret = (jboolean) ((TDEProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout);
return xret;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KProcessController__
#define __org_kde_koala_KProcessController__
#ifndef __org_kde_koala_TDEProcessController__
#define __org_kde_koala_TDEProcessController__
#include <jni.h>
@ -10,21 +10,21 @@ extern "C"
{
#endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcessController_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcessController_className (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcessController_waitForProcessExit (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_unscheduleCheck (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_rescheduleCheck (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcessController_notifierFd (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_addKProcess (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_removeKProcess (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_addProcess (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_ref (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_deref (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcessController_theSigCHLDHandler (JNIEnv *env, jclass, jint);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessController_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessController_className (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcessController_waitForProcessExit (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_unscheduleCheck (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_rescheduleCheck (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessController_notifierFd (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addTDEProcess (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_removeTDEProcess (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addProcess (JNIEnv *env, jobject, jint);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_ref (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_deref (JNIEnv *env, jclass);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_theSigCHLDHandler (JNIEnv *env, jclass, jint);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KProcessController__ */
#endif /* __org_kde_koala_TDEProcessController__ */

@ -4,36 +4,36 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KProcessRunner.h>
#include <kdejava/TDEProcessRunner.h>
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KProcessRunner_className(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessRunner_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((KProcessRunner*) QtSupport::getQt(env, obj))->className();
_qstring = ((TDEProcessRunner*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KProcessRunner_metaObject(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessRunner_metaObject(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcessRunner_pid(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEProcessRunner_pid(JNIEnv* env, jobject obj)
{
jint xret = (jint) ((KProcessRunner*) QtSupport::getQt(env, obj))->pid();
jint xret = (jint) ((TDEProcessRunner*) QtSupport::getQt(env, obj))->pid();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName)
Java_org_kde_koala_TDEProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName)
{
(void) cls;
static TQString* _qstring_binName = 0;
jint xret = (jint) KProcessRunner::run((KProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName));
jint xret = (jint) TDEProcessRunner::run((TDEProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName));
return xret;
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KProcessRunner__
#define __org_kde_koala_KProcessRunner__
#ifndef __org_kde_koala_TDEProcessRunner__
#define __org_kde_koala_TDEProcessRunner__
#include <jni.h>
@ -10,13 +10,13 @@ extern "C"
{
#endif
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcessRunner_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcessRunner_className (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcessRunner_pid (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcessRunner_run (JNIEnv *env, jclass, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessRunner_metaObject (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessRunner_className (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_pid (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_run (JNIEnv *env, jclass, jobject, jstring);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KProcessRunner__ */
#endif /* __org_kde_koala_TDEProcessRunner__ */

@ -44,7 +44,7 @@ public:
}
void commClose() {
if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellProcess","commClose")) {
KProcess::commClose();
TDEProcess::commClose();
}
return;
}
@ -136,14 +136,14 @@ Java_org_kde_koala_KShellProcess_start__(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KShellProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
{
jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode);
jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KShellProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm)
{
jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode, (KProcess::Communication) comm);
jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm);
return xret;
}

@ -116,7 +116,7 @@ public:
KSpell::slotStopCancel(arg1);
return;
}
void protected_ispellExit(KProcess* arg1) {
void protected_ispellExit(TDEProcess* arg1) {
KSpell::ispellExit(arg1);
return;
}
@ -124,7 +124,7 @@ public:
KSpell::emitDeath();
return;
}
void protected_ispellErrors(KProcess* arg1,char* arg2,int arg3) {
void protected_ispellErrors(TDEProcess* arg1,char* arg2,int arg3) {
KSpell::ispellErrors(arg1,arg2,arg3);
return;
}
@ -472,14 +472,14 @@ JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_ispellErrors(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3)
{
static TQCString* _qstring_arg2 = 0;
((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((KProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3);
((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((TDEProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KSpell_ispellExit(JNIEnv* env, jobject obj, jobject arg1)
{
((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellExit((KProcess*) QtSupport::getQt(env, arg1));
((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellExit((TDEProcess*) QtSupport::getQt(env, arg1));
return;
}

File diff suppressed because one or more lines are too long

@ -24,7 +24,7 @@ import org.kde.qt.TQAccel;
has precedence over any KAccel objects created before it.
When a shortcut pressed, KAccel calls the slot to which it has been
connected. If you want to set global accelerators, independent of the window
which has the focus, use KGlobalAccel.
which has the focus, use TDEGlobalAccel.
Reconfiguration of a given shortcut can be prevented by specifying
that an accelerator item is not configurable when it is inserted. A special
group of non-configurable key bindings are known as the
@ -51,7 +51,7 @@ import org.kde.qt.TQAccel;
</pre>
See {@link KAccelSignals} for signals emitted by KAccel
@short Configurable shortcut support for widgets.
@see KGlobalAccel
@see TDEGlobalAccel
@see KAccelShortcutList
@see KKeyChooser
@see KKeyDialog
@ -262,14 +262,14 @@ public class KAccel extends TQAccel {
/**
Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code>
is zero) from the application's configuration file
KGlobal.config().
TDEGlobal.config().
The group in which the configuration is stored can be
set with setConfigGroup().
@param pConfig the configuration file, or 0 for the application
configuration file
@return true if successful, false otherwise
@short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file KGlobal.config().
@short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file TDEGlobal.config().
*/
public native boolean readSettings(KConfigBase pConfig);
public native boolean readSettings();

@ -8,8 +8,8 @@ import org.kde.qt.TQVariant;
/**
KShortcutList implementation to access KAccel and
KGlobalAccel lists.
@short KShortcutList implementation to access KAccel and KGlobalAccel lists.
TDEGlobalAccel lists.
@short KShortcutList implementation to access KAccel and TDEGlobalAccel lists.
*/
public class KAccelShortcutList extends KShortcutList {
@ -26,15 +26,15 @@ public class KAccelShortcutList extends KShortcutList {
private native void newKAccelShortcutList(KAccel accel);
/**
Creates a new KShortcutList that accesses the given
KGlobalAccel.
TDEGlobalAccel.
@param accel the accelerators to access
@short Creates a new KShortcutList that accesses the given KGlobalAccel.
@short Creates a new KShortcutList that accesses the given TDEGlobalAccel.
*/
public KAccelShortcutList(KGlobalAccel accel) {
public KAccelShortcutList(TDEGlobalAccel accel) {
super((Class) null);
newKAccelShortcutList(accel);
}
private native void newKAccelShortcutList(KGlobalAccel accel);
private native void newKAccelShortcutList(TDEGlobalAccel accel);
/**
Creates a new KShortcutList that accesses the given
KAccelActions collection.

@ -112,7 +112,7 @@ public class KCharsets implements QtSupport {
*/
public static native String resolveEntities(String text);
/** Protected constructor. If you need the kcharsets object, use
KGlobal.charsets() instead.
TDEGlobal.charsets() instead.
@short Protected constructor.
*/
public KCharsets() {

@ -292,7 +292,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface {
@param create Set this to false if you don't want the box to be created
i.e. to test if it is available.
@return the completion-box, that is used in completion mode
KGlobalSettings.CompletionPopup and KGlobalSettings.CompletionPopupAuto.
TDEGlobalSettings.CompletionPopup and TDEGlobalSettings.CompletionPopupAuto.
This method will create a completion-box by calling
KLineEdit.completionBox, if none is there, yet.
@ -481,7 +481,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface {
/**
Sets the type of completion to be used.
The completion modes supported are those defined in
KGlobalSettings(). See below.
TDEGlobalSettings(). See below.
@param mode Completion type:
<li>
@ -515,7 +515,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface {
public native void setCompletionMode(int mode);
/**
Returns the current completion mode.
The return values are of type KGlobalSettings.Completion.
The return values are of type TDEGlobalSettings.Completion.
See setCompletionMode() for details.
@return the completion mode.
@ -580,7 +580,7 @@ public class KComboBox extends TQComboBox implements KCompletionBaseInterface {
Sets this object to use global values for key-bindings.
This method changes the values of the key bindings for
rotation and completion features to the default values
provided in KGlobalSettings.
provided in TDEGlobalSettings.
NOTE: By default inheriting widgets should uses the
global key-bindings so that there will be no need to
call this method.

@ -31,7 +31,7 @@ public interface KComboBoxSignals {
Emitted when the completion key is pressed.
The argument is the current text being edited.
Note that this signal is <b>not</b> available when the widget is non-editable
or the completion mode is set to <code>KGlobalSettings</code>.CompletionNone.
or the completion mode is set to <code>TDEGlobalSettings</code>.CompletionNone.
@short Emitted when the completion key is pressed.
*/
void completion(String arg1);

@ -47,8 +47,8 @@ import org.kde.qt.TQObject;
of manual and auto-completion is therefore only visible in UI classes,
KCompletion needs to know whether to deliver partial matches
(shell completion) or whole matches (auto/manual completion), therefore
KGlobalSettings.CompletionMan and
KGlobalSettings.CompletionAuto have the exact same effect in
TDEGlobalSettings.CompletionMan and
TDEGlobalSettings.CompletionAuto have the exact same effect in
KCompletion.
</li>
@ -62,7 +62,7 @@ import org.kde.qt.TQObject;
You don't have to worry much about that though, KCompletion handles
that for you, according to the setting setCompletionMode().
The default setting is globally configured by the user and read
from KGlobalSettings.completionMode().
from TDEGlobalSettings.completionMode().
A short example:
<pre>
KCompletion completion;
@ -210,17 +210,17 @@ public class KCompletion extends TQObject {
/**
Sets the completion mode to Auto/Manual, Shell or None.
If you don't set the mode explicitly, the global default value
KGlobalSettings.completionMode() is used.
KGlobalSettings.CompletionNone disables completion.
TDEGlobalSettings.completionMode() is used.
TDEGlobalSettings.CompletionNone disables completion.
@param mode the completion mode
@short Sets the completion mode to Auto/Manual, Shell or None.
@see #completionMode
@see KGlobalSettings#completionMode
@see TDEGlobalSettings#completionMode
*/
public native void setCompletionMode(int mode);
/**
Return the current completion mode.
May be different from KGlobalSettings.completionMode(), if you
May be different from TDEGlobalSettings.completionMode(), if you
explicitly called setCompletionMode().
@return the current completion mode

@ -139,7 +139,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface {
/**
Sets the type of completion to be used.
The completion modes supported are those defined in
KGlobalSettings(). See below.
TDEGlobalSettings(). See below.
@param mode Completion type:
<li>
@ -173,7 +173,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface {
public native void setCompletionMode(int mode);
/**
Returns the current completion mode.
The return values are of type KGlobalSettings.Completion.
The return values are of type TDEGlobalSettings.Completion.
See setCompletionMode() for details.
@return the completion mode.
@ -238,7 +238,7 @@ public class KCompletionBase implements QtSupport, KCompletionBaseInterface {
Sets this object to use global values for key-bindings.
This method changes the values of the key bindings for
rotation and completion features to the default values
provided in KGlobalSettings.
provided in TDEGlobalSettings.
NOTE: By default inheriting widgets should uses the
global key-bindings so that there will be no need to
call this method.

@ -19,7 +19,7 @@ import org.kde.qt.TQWidget;
any window decoration, usually directly under the lineedit or combobox.
It is filled with all possible matches for a completion, so the user
can select the one he wants.
It is used when KGlobalSettings.Completion == CompletionPopup or CompletionPopupAuto.
It is used when TDEGlobalSettings.Completion == CompletionPopup or CompletionPopupAuto.
See {@link KCompletionBoxSignals} for signals emitted by KCompletionBox
@author Carsten Pfeiffer <pfeiffer@kde.org>

@ -13,7 +13,7 @@ import java.util.ArrayList;
@author Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org>
@short KDE Configuration Management class.
@see KGlobal#config
@see TDEGlobal#config
@see KConfigBase
@see KSimpleConfig

@ -34,7 +34,7 @@ import org.kde.qt.TQObject;
@author Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org>
@short KDE Configuration Management abstract base class.
@see KGlobal#config
@see TDEGlobal#config
@see KConfig
@see KSimpleConfig
@see KSharedConfig

@ -150,7 +150,7 @@ public class KDE {
// TQDataStream& op_read(TQDataStream& arg1,KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED
// TQDataStream& op_write(TQDataStream& arg1,const KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED
/**
{@link KGlobal}
{@link TDEGlobal}
Check, if a file may be accessed in a given mode.
This is a wrapper around the access() system call.
checkAccess() calls access() with the given parameters.
@ -164,7 +164,7 @@ public class KDE {
@param mode The access mode, as in the access() system call.
@return Whether the access is allowed, true = Access allowed
@short {@link KGlobal} Check, if a file may be accessed in a given mode.
@short {@link TDEGlobal} Check, if a file may be accessed in a given mode.
*/
public static native boolean checkAccess(String pathname, int mode);
public static native TQDataStream op_write(TQDataStream s, KSSLCertDlgRet r);

@ -889,7 +889,7 @@ public class KDialogBase extends KDialog {
read the dialogs size from the configuration according to the screen size.
If no size is saved for one dimension of the screen, sizeHint() is returned.
@param groupName Name of the group to read from. The old group
of KGlobal.config is preserved.
of TDEGlobal.config is preserved.
@short read the dialogs size from the configuration according to the screen size.
*/
public native TQSize configDialogSize(String groupName);
@ -898,7 +898,7 @@ public class KDialogBase extends KDialog {
If no size is saved for one dimension of the screen, sizeHint() is returned.
@param config The KConfig object to read from
@param groupName Name of the group to read from. The old group
of KGlobal.config is preserved.
of TDEGlobal.config is preserved.
@short read the dialogs size from the configuration according to the screen size.
*/
public native TQSize configDialogSize(KConfig config, String groupName);

@ -42,7 +42,7 @@ import org.kde.qt.TQWidget;
SLOT("fileSelected(const KFileItem )"));
connect(op, SIGNAL("finishedLoading()"),
SLOT("slotLoadingFinished()"));
op.readConfig( KGlobal.config(), "Your KDiroperator ConfigGroup" );
op.readConfig( TDEGlobal.config(), "Your KDiroperator ConfigGroup" );
op.setView(KFile.Default);
</pre>
This will create a childwidget of 'this' showing the directory contents
@ -450,7 +450,7 @@ public class KDirOperator extends TQWidget {
Usually you call this right after KDirOperator creation so that the view
instantiation can make use of it already.
Note that KDirOperator does NOT take ownership of that object (typically
it's KGlobal.config() anyway.
it's TDEGlobal.config() anyway.
@short Sets the config object and the to be used group in KDirOperator.
@see #viewConfig
@see #viewConfigGroup

@ -152,7 +152,7 @@ public class KDockManager extends TQObject {
*/
public native KDockWidget getDockWidgetFromName(String dockName);
/**
Enables opaque resizing. Opaque resizing defaults to KGlobalSettings.opaqueResize().
Enables opaque resizing. Opaque resizing defaults to TDEGlobalSettings.opaqueResize().
Call this method before you create any dock widgets!
@short Enables opaque resizing.
*/

@ -29,7 +29,7 @@ import org.kde.qt.TQWidget;
<pre>
void MyClass.slotConfigureToolbars()
{
saveMainWindowSettings( KGlobal.config(), "MainWindow" );
saveMainWindowSettings( TDEGlobal.config(), "MainWindow" );
KEditToolbar dlg(actionCollection());
connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()"));
dlg.exec();
@ -38,7 +38,7 @@ import org.kde.qt.TQWidget;
{
...if you use any action list, use plugActionList on each here...
createGUI();
applyMainWindowSettings( KGlobal.config(), "MainWindow" );
applyMainWindowSettings( TDEGlobal.config(), "MainWindow" );
}
</pre>
Note that the procedure is a bit different for KParts applications.
@ -50,7 +50,7 @@ import org.kde.qt.TQWidget;
changes to your shell's XML file.
An example would be:
<pre>
saveMainWindowSettings( KGlobal.config(), "MainWindow" );
saveMainWindowSettings( TDEGlobal.config(), "MainWindow" );
KEditToolbar dlg(factory());
connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()"));
dlg.exec();
@ -58,7 +58,7 @@ import org.kde.qt.TQWidget;
{
...if you use any action list, use plugActionList on each here...
// Do NOT call createGUI()!
applyMainWindowSettings( KGlobal.config(), "MainWindow" );
applyMainWindowSettings( TDEGlobal.config(), "MainWindow" );
}
</pre>
See {@link KEditToolbarSignals} for signals emitted by KEditToolbar

@ -7,7 +7,7 @@ import org.kde.qt.QtSupport;
/**
Access to the KDE global objects.
KGlobal provides you with pointers of many central
TDEGlobal provides you with pointers of many central
objects that exist only once in the process. It is also
responsible for managing instances of KStaticDeleterBase.
@author Sirtaj Singh Kang (taj@kde.org)
@ -16,15 +16,15 @@ import org.kde.qt.QtSupport;
@see KStaticDeleterBase
*/
public class KGlobal implements QtSupport {
public class TDEGlobal implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KGlobal(Class dummy){}
protected TDEGlobal(Class dummy){}
public KGlobal() {
newKGlobal();
public TDEGlobal() {
newTDEGlobal();
}
private native void newKGlobal();
private native void newTDEGlobal();
/**
Returns the global instance. There is always at least
one instance of a component in one application (in most
@ -80,11 +80,11 @@ public class KGlobal implements QtSupport {
Creates a static String.
To be used inside functions(!) like:
<pre>
static StringmyString = KGlobal.staticString("myText");
static StringmyString = TDEGlobal.staticString("myText");
</pre>
!!! Do _NOT_ use: !!!
<pre>
static String myString = KGlobal.staticString("myText");
static String myString = TDEGlobal.staticString("myText");
</pre>
This creates a static object (instead of a static reference)
and as you know static objects are EVIL.

@ -9,7 +9,7 @@ import org.kde.qt.TQObject;
/**
KGlobalAccel allows you to have global accelerators that are independent of
TDEGlobalAccel allows you to have global accelerators that are independent of
the focused window. Unlike KAccel it does not matter which window is
currently active.
@short Configurable global shortcut support.
@ -19,30 +19,30 @@ import org.kde.qt.TQObject;
@see KKeyDialog
*/
public class KGlobalAccel extends TQObject {
protected KGlobalAccel(Class dummy){super((Class) null);}
public class TDEGlobalAccel extends TQObject {
protected TDEGlobalAccel(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Creates a new KGlobalAccel object with the given pParent and
Creates a new TDEGlobalAccel object with the given pParent and
psName.
@param pParent the parent of the TQObject
@param psName the name of the TQObject
@short Creates a new KGlobalAccel object with the given pParent and psName.
@short Creates a new TDEGlobalAccel object with the given pParent and psName.
*/
public KGlobalAccel(TQObject pParent, String psName) {
public TDEGlobalAccel(TQObject pParent, String psName) {
super((Class) null);
newKGlobalAccel(pParent,psName);
newTDEGlobalAccel(pParent,psName);
}
private native void newKGlobalAccel(TQObject pParent, String psName);
public KGlobalAccel(TQObject pParent) {
private native void newTDEGlobalAccel(TQObject pParent, String psName);
public TDEGlobalAccel(TQObject pParent) {
super((Class) null);
newKGlobalAccel(pParent);
newTDEGlobalAccel(pParent);
}
private native void newKGlobalAccel(TQObject pParent);
private native void newTDEGlobalAccel(TQObject pParent);
/**
Checks whether the accelerators are enabled.
@return true if the KGlobalAccel is enabled
@return true if the TDEGlobalAccel is enabled
@short Checks whether the accelerators are enabled.
*/
@ -154,12 +154,12 @@ public class KGlobalAccel extends TQObject {
/**
Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code>
is zero) from the application's configuration file
KGlobal.config().
TDEGlobal.config().
@param pConfig the configuration file to read from, or 0 for the application
configuration file
@return true if successful, false otherwise
@short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file KGlobal.config().
@short Read all shortcuts from <code>pConfig</code>, or (if <code>pConfig</code> is zero) from the application's configuration file TDEGlobal.config().
*/
public native boolean readSettings(KConfigBase pConfig);
public native boolean readSettings();

@ -17,10 +17,10 @@ import org.kde.qt.TQWidget;
@short Access the KDE global configuration.
*/
public class KGlobalSettings implements QtSupport {
public class TDEGlobalSettings implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KGlobalSettings(Class dummy){}
protected TDEGlobalSettings(Class dummy){}
/**
This enum describes the return type for insertTearOffHandle() whether to insert
@ -45,10 +45,10 @@ public class KGlobalSettings implements QtSupport {
public static final int CompletionPopup = 5;
public static final int CompletionPopupAuto = 6;
public KGlobalSettings() {
newKGlobalSettings();
public TDEGlobalSettings() {
newTDEGlobalSettings();
}
private native void newKGlobalSettings();
private native void newTDEGlobalSettings();
/**
Returns a threshold in pixels for drag & drop operations.
As long as the mouse movement has not exceeded this number
@ -70,7 +70,7 @@ public class KGlobalSettings implements QtSupport {
void KColorCells.mouseMoveEvent( TQMouseEvent e )
{
if( !(e.state() && LeftButton)) return;
int delay = KGlobalSettings.dndEventDelay();
int delay = TDEGlobalSettings.dndEventDelay();
TQPoint newPos = e.pos();
if(newPos.x() > mOldPos.x()+delay || newPos.x() < mOldPos.x()-delay ||
newPos.y() > mOldPos.y()+delay || newPos.y() < mOldPos.y()-delay)
@ -166,7 +166,7 @@ public class KGlobalSettings implements QtSupport {
@short This returns the current mouse settings.
*/
// KGlobalSettings::KMouseSettings& mouseSettings(); >>>> NOT CONVERTED
// TDEGlobalSettings::KMouseSettings& mouseSettings(); >>>> NOT CONVERTED
/**
The path to the desktop directory of the current user.
@return the user's desktop directory

@ -66,11 +66,11 @@ public class KIconLoader implements QtSupport {
directories of the current application.
@param dirs the KStandardDirs object to use. If null the global one is used
Usually, you use the default iconloader, which can be accessed via
KGlobal.iconLoader(), so you hardly ever have to create an
TDEGlobal.iconLoader(), so you hardly ever have to create an
iconloader object yourself. That one is the current TDEInstance's
(typically TDEApplication's) iconloader.
@short Constructs an iconloader.
@see KGlobal#iconLoader
@see TDEGlobal#iconLoader
@see TDEInstance#iconLoader
*/
public KIconLoader(String appname, KStandardDirs dirs) {
@ -290,7 +290,7 @@ public class KIconLoader implements QtSupport {
Called by TDEInstance.newIconLoader to reconfigure the icon loader.
@param _appname the new application name
@param _dirs the new standard directories. If 0, the directories
from KGlobal will be taken.
from TDEGlobal will be taken.
@short Called by TDEInstance.newIconLoader to reconfigure the icon loader.
*/
public native void reconfigure(String _appname, KStandardDirs _dirs);

@ -13,7 +13,7 @@ import org.kde.qt.TQWidget;
/**
Configure dictionaries of key/action associations for KAccel and
KGlobalAccel.
TDEGlobalAccel.
The class takes care of all aspects of configuration, including
handling key conflicts internally. Connect to the allDefault()
slot if you want to set all configurable shortcuts to their
@ -21,7 +21,7 @@ import org.kde.qt.TQWidget;
See {@link KKeyChooserSignals} for signals emitted by KKeyChooser
@author Nicolas Hadacek <hadacek@via.ecp.fr>
@short Widget for configuration of KAccel and KGlobalAccel.
@short Widget for configuration of KAccel and TDEGlobalAccel.
@see KKeyDialog
*/
@ -81,11 +81,11 @@ public class KKeyChooser extends TQWidget {
newKKeyChooser(actions,parent);
}
private native void newKKeyChooser(KAccel actions, TQWidget parent);
public KKeyChooser(KGlobalAccel actions, TQWidget parent) {
public KKeyChooser(TDEGlobalAccel actions, TQWidget parent) {
super((Class) null);
newKKeyChooser(actions,parent);
}
private native void newKKeyChooser(KGlobalAccel actions, TQWidget parent);
private native void newKKeyChooser(TDEGlobalAccel actions, TQWidget parent);
// KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3,bool arg4); >>>> NOT CONVERTED
// KKeyChooser* KKeyChooser(KShortcutList* arg1,TQWidget* arg2,ActionType arg3); >>>> NOT CONVERTED
public KKeyChooser(KShortcutList arg1, TQWidget parent) {
@ -167,7 +167,7 @@ public class KKeyChooser extends TQWidget {
public static native boolean checkStandardShortcutsConflict(KShortcut cut, boolean warnUser, TQWidget parent);
// void initGUI(ActionType arg1,bool arg2); >>>> NOT CONVERTED
protected native boolean insert(KAccel arg1);
protected native boolean insert(KGlobalAccel arg1);
protected native boolean insert(TDEGlobalAccel arg1);
protected native boolean insert(KShortcutList arg1);
protected native void buildListView(int iList, String title);
protected native void buildListView(int iList);

@ -9,7 +9,7 @@ import org.kde.qt.TQWidget;
/**
The KKeyDialog class is used for configuring dictionaries of key/action
associations for KActionCollection, KAccel, and KGlobalAccel. It uses the KKeyChooser widget
associations for KActionCollection, KAccel, and TDEGlobalAccel. It uses the KKeyChooser widget
and offers buttons to set all keys to defaults and invoke on-line help.
Several static methods are supplied which provide the most convenient interface
to the dialog. The most common and most encouraged use is with KActionCollection.
@ -18,7 +18,7 @@ import org.kde.qt.TQWidget;
</pre>
@author Nicolas Hadacek <hadacek@via.ecp.fr>
@short Dialog for configuration of KActionCollection, KAccel, and KGlobalAccel.
@short Dialog for configuration of KActionCollection, KAccel, and TDEGlobalAccel.
*/
public class KKeyDialog extends KDialogBase {
@ -115,9 +115,9 @@ public class KKeyDialog extends KDialogBase {
It behaves essentially like the above function.
@short This is an overloaded member function, provided for convenience.
*/
public static native int configure(KGlobalAccel keys, TQWidget parent, boolean bSaveSettings);
public static native int configure(KGlobalAccel keys, TQWidget parent);
public static native int configure(KGlobalAccel keys);
public static native int configure(TDEGlobalAccel keys, TQWidget parent, boolean bSaveSettings);
public static native int configure(TDEGlobalAccel keys, TQWidget parent);
public static native int configure(TDEGlobalAccel keys);
/**
This is an overloaded member function, provided for convenience.
It behaves essentially like the above function.
@ -145,9 +145,9 @@ public class KKeyDialog extends KDialogBase {
It behaves essentially like the above function.
@short This is an overloaded member function, provided for convenience.
*/
public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings);
public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent);
public static native int configure(KGlobalAccel keys, boolean bAllowLetterShortcuts);
public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent, boolean bSaveSettings);
public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts, TQWidget parent);
public static native int configure(TDEGlobalAccel keys, boolean bAllowLetterShortcuts);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */

@ -24,7 +24,7 @@ import org.kde.qt.TQObject;
<pre>
s_global = new TDEInstance( "kspread" );
</pre>
This TDEInstance is comparable to KGlobal used by normal applications.
This TDEInstance is comparable to TDEGlobal used by normal applications.
It allows you to find resource files (images, XML, sound etc.) belonging
to the library.
If you want to load a library, use KLibLoader. You can query KLibLoader

@ -53,7 +53,7 @@ import org.kde.qt.TQLineEdit;
individual key-bindings by using setKeyBinding() with the default
second argument.
If <code>EchoMode</code> for this widget is set to something other than <code>TQLineEdit</code>.Normal,
the completion mode will always be defaulted to KGlobalSettings.CompletionNone.
the completion mode will always be defaulted to TDEGlobalSettings.CompletionNone.
This is done purposefully to guard against protected entries such as passwords being
cached in KCompletion's list. Hence, if the <code>EchoMode</code> is not TQLineEdit.Normal, the
completion mode is automatically disabled.
@ -220,7 +220,7 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface {
@param create Set this to false if you don't want the box to be created
i.e. to test if it is available.
@return the completion-box, that is used in completion mode
KGlobalSettings.CompletionPopup.
TDEGlobalSettings.CompletionPopup.
This method will create a completion-box if none is there, yet.
@short
@ -264,10 +264,10 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface {
public native String originalText();
/**
Set the completion-box to be used in completion mode
KGlobalSettings.CompletionPopup.
TDEGlobalSettings.CompletionPopup.
This will do nothing if a completion-box already exists.
@param box The KCompletionBox to set
@short Set the completion-box to be used in completion mode KGlobalSettings.CompletionPopup.
@short Set the completion-box to be used in completion mode TDEGlobalSettings.CompletionPopup.
*/
public native void setCompletionBox(KCompletionBox box);
/**
@ -494,7 +494,7 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface {
public native boolean emitSignals();
/**
Returns the current completion mode.
The return values are of type KGlobalSettings.Completion.
The return values are of type TDEGlobalSettings.Completion.
See setCompletionMode() for details.
@return the completion mode.
@ -559,7 +559,7 @@ public class KLineEdit extends TQLineEdit implements KCompletionBaseInterface {
Sets this object to use global values for key-bindings.
This method changes the values of the key bindings for
rotation and completion features to the default values
provided in KGlobalSettings.
provided in TDEGlobalSettings.
NOTE: By default inheriting widgets should uses the
global key-bindings so that there will be no need to
call this method.

@ -48,7 +48,7 @@ public interface KLineEditSignals {
PrevCompletionMatch or NextCompletionMatch. See
KCompletionBase.setKeyBinding for details.
Note that this signal is <b>not</b> emitted if the completion
mode is set to <code>KGlobalSettings</code>.CompletionNone or <code>echoMode</code>() is <b>not</b> normal.
mode is set to <code>TDEGlobalSettings</code>.CompletionNone or <code>echoMode</code>() is <b>not</b> normal.
@short Emitted when the text rotation key-bindings are pressed.
*/
void textRotation(int arg1);

@ -306,7 +306,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
Call this to enable "auto-save" of toolbar/menubar/statusbar settings
(and optionally window size).
If the bars were moved around/shown/hidden when the window is closed,
saveMainWindowSettings( KGlobal.config(), groupName ) will be called.
saveMainWindowSettings( TDEGlobal.config(), groupName ) will be called.
@param groupName a name that identifies this "type of window".
You can have several types of window in the same application.
@param saveWindowSize set it to true to include the window size
@ -511,7 +511,7 @@ public class KMainWindow extends TQMainWindow implements KXMLGUIBuilderInterface
want to provide access to the help system from the help menu.
Example (adding a help button to the first toolbar):
<pre>
KIconLoader &loader = KGlobal.iconLoader();
KIconLoader &loader = TDEGlobal.iconLoader();
TQPixmap pixmap = loader.loadIcon( "help" );
toolBar(0).insertButton( pixmap, 0, SIGNAL("clicked()"),
this, SLOT("appHelpActivated()"), true, i18n("Help") );

@ -877,7 +877,7 @@ public class KMessageBox implements QtSupport {
public static native void saveDontShowAgainContinue(String dontShowAgainName);
/**
Use <code>cfg</code> for all settings related to the dontShowAgainName feature.
If <code>cfg</code> is 0 (default) KGlobal.config() will be used.
If <code>cfg</code> is 0 (default) TDEGlobal.config() will be used.
@short Use <code>cfg</code> for all settings related to the dontShowAgainName feature.
*/
public static native void setDontShowAskAgainConfig(KConfig cfg);

@ -54,7 +54,7 @@ import org.kde.qt.TQFrame;
{
KPanelApplet init(TQWidget parent, String configFile)
{
KGlobal.locale().insertCatalogue("exampleapplet");
TDEGlobal.locale().insertCatalogue("exampleapplet");
return new ExampleApplet(configFile, KPanelApplet.Normal,
KPanelApplet.About | KPanelApplet.Help | KPanelApplet.Preferences,
parent, "exampleapplet");

@ -52,7 +52,7 @@ import org.kde.qt.TQFrame;
{
KPanelExtension init(TQWidget parent, String configFile)
{
KGlobal.locale().insertCatalogue("exampleextension");
TDEGlobal.locale().insertCatalogue("exampleextension");
return new ExampleExtension(configFile, KPanelExtension.Normal,
KPanelExtension.About | KPanelExtension.Help | KPanelExtension.Preferences,
parent, "exampleextension");

@ -102,7 +102,7 @@ public class KPluginSelector extends TQWidget {
and all plugins are shown.
@param config The KConfig object that holds the state of the
plugins being enabled or not. By default it will
use KGlobal.config(). It is recommended to
use TDEGlobal.config(). It is recommended to
always pass a KConfig object if you use
KSettings.PluginPage since you never know from where the
page will be called (think global config app).

@ -10,7 +10,7 @@ import org.kde.qt.TQTextCodec;
KProcIO
This class provides a slightly simpler interface to the communication
functions provided by KProcess. The simplifications are:
functions provided by TDEProcess. The simplifications are:
<li>
The buffer for a write is copied to an internal KProcIO
@ -27,14 +27,14 @@ import org.kde.qt.TQTextCodec;
</li>
Basically, KProcIO gives you buffered I/O similar to fgets()/fputs().
Aside from these, and the fact that start() takes different
parameters, use this class just like KProcess.
parameters, use this class just like TDEProcess.
See {@link KProcIOSignals} for signals emitted by KProcIO
@author David Sweet
@short A slightly simpler interface to KProcess.
@short A slightly simpler interface to TDEProcess.
*/
public class KProcIO extends KProcess {
public class KProcIO extends TDEProcess {
protected KProcIO(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
@ -53,12 +53,12 @@ public class KProcIO extends KProcess {
}
private native void newKProcIO();
/**
Sets the communication mode to be passed to KProcess.start()
by start(). The default communication mode is KProcess.All.
Sets the communication mode to be passed to TDEProcess.start()
by start(). The default communication mode is TDEProcess.All.
You probably want to use this function in conjunction with
KProcess.setUsePty().
TDEProcess.setUsePty().
@param comm the communication mode
@short Sets the communication mode to be passed to KProcess.start() by start().
@short Sets the communication mode to be passed to TDEProcess.start() by start().
*/
public native void setComm(int comm);
/**
@ -81,7 +81,7 @@ public class KProcIO extends KProcess {
</li>
@param runmode For a detailed description of the
various run modes, have a look at the
general description of the KProcess class.
general description of the TDEProcess class.
@param includeStderr If true, data from both stdout and stderr is
listened to. If false, only stdout is listened to.
@return true on success, false on error.
@ -161,8 +161,8 @@ public class KProcIO extends KProcess {
*/
public native void enableReadSignals(boolean enable);
protected native void controlledEmission();
protected native void received(KProcess proc, String buffer, int buflen);
protected native void sent(KProcess arg1);
protected native void received(TDEProcess proc, String buffer, int buflen);
protected native void sent(TDEProcess arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */

@ -26,14 +26,14 @@ import org.kde.qt.TQObject;
NotifyOnExit -- The child process is invoked and both the
child and the parent process run concurrently.
</li>
When the child process exits, the KProcess instance
When the child process exits, the TDEProcess instance
corresponding to it emits the Qt signal processExited().
Since this signal is <b>not</b> emitted from within a UNX
signal handler, arbitrary function calls can be made.
Be aware: When the KProcess object gets destructed, the child
Be aware: When the TDEProcess object gets destructed, the child
process will be killed if it is still running!
This means in particular, that it usually makes no sense to use
a KProcess on the stack with NotifyOnExit.
a TDEProcess on the stack with NotifyOnExit.
<li>
OwnGroup -- like NotifyOnExit, but the child process is started
@ -52,23 +52,23 @@ import org.kde.qt.TQObject;
In this mode the parent can read the child's output, but can't send it any
input.
</li>
KProcess also provides several functions for determining the exit status
TDEProcess also provides several functions for determining the exit status
and the pid of the child process it represents.
Furthermore it is possible to supply command-line arguments to the process
in a clean fashion (no null-terminated stringlists and such...)
A small usage example:
<pre>
KProcess proc = new KProcess;
TDEProcess proc = new TDEProcess;
proc << "my_executable";
proc << "These" << "are" << "the" << "command" << "line" << "args";
TQApplication.connect(proc, SIGNAL("processExited(KProcess )"),
pointer_to_my_object, SLOT("my_objects_slot(KProcess )"));
TQApplication.connect(proc, SIGNAL("processExited(TDEProcess )"),
pointer_to_my_object, SLOT("my_objects_slot(TDEProcess )"));
proc.start();
</pre>
This will start "my_executable" with the commandline arguments "These"...
When the child process exits, the slot will be invoked.
<li><b>Communication with the child process:</b></li>
KProcess supports communication with the child process through
TDEProcess supports communication with the child process through
stdin/stdout/stderr.
The following functions are provided for getting data from the child
process or sending data to the child's stdin (For more information,
@ -89,15 +89,15 @@ import org.kde.qt.TQObject;
You can shut down individual communication channels with
closeStdin(), closeStdout(), and closeStderr(), resp.
</li>
See {@link KProcessSignals} for signals emitted by KProcess
See {@link TDEProcessSignals} for signals emitted by TDEProcess
@author Christian Czezatke e9025461@student.tuwien.ac.at
@short Child process invocation, monitoring and control.
@see KProcIO
*/
public class KProcess extends TQObject {
protected KProcess(Class dummy){super((Class) null);}
public class TDEProcess extends TQObject {
protected TDEProcess(Class dummy){super((Class) null);}
/**
More or less intuitive constants for use with setPriority().
@short More or less intuitive constants for use with setPriority().
@ -144,48 +144,48 @@ public class KProcess extends TQObject {
Constructor
@short Constructor
*/
public KProcess(TQObject parent, String name) {
public TDEProcess(TQObject parent, String name) {
super((Class) null);
newKProcess(parent,name);
newTDEProcess(parent,name);
}
private native void newKProcess(TQObject parent, String name);
public KProcess(TQObject parent) {
private native void newTDEProcess(TQObject parent, String name);
public TDEProcess(TQObject parent) {
super((Class) null);
newKProcess(parent);
newTDEProcess(parent);
}
private native void newKProcess(TQObject parent);
private native void newTDEProcess(TQObject parent);
/**
Constructor
@short Constructor
*/
public KProcess() {
public TDEProcess() {
super((Class) null);
newKProcess();
newTDEProcess();
}
private native void newKProcess();
private native void newTDEProcess();
/**
Sets the executable and the command line argument list for this process.
For example, doing an "ls -l /usr/local/bin" can be achieved by:
<pre>
KProcess p;
TDEProcess p;
...
p << "ls" << "-l" << "/usr/local/bin"
</pre>
@param arg the argument to add
@return a reference to this KProcess
@return a reference to this TDEProcess
@short Sets the executable and the command line argument list for this process.
*/
public native KProcess op_write(String arg);
public native TDEProcess op_write(String arg);
/**
Sets the executable and the command line argument list for this process,
in a single method call, or add a list of arguments.
@param args the arguments to add
@return a reference to this KProcess
@return a reference to this TDEProcess
@short Sets the executable and the command line argument list for this process, in a single method call, or add a list of arguments.
*/
public native KProcess op_write(String[] args);
public native TDEProcess op_write(String[] args);
/**
Clear a command line argument list that has been set by using
operator<<.
@ -196,7 +196,7 @@ public class KProcess extends TQObject {
Starts the process.
For a detailed description of the
various run modes and communication semantics, have a look at the
general description of the KProcess class. Note that if you use
general description of the TDEProcess class. Note that if you use
setUsePty( Stdout | Stderr, \<boolean\> ), you cannot use Stdout | Stderr
here - instead, use Stdout only to receive the mixed output.
The following problems could cause this function to
@ -253,9 +253,9 @@ public class KProcess extends TQObject {
/** Returns the process id of the process.
If it is called after
the process has exited, it returns the process id of the last
child process that was created by this instance of KProcess.
child process that was created by this instance of TDEProcess.
Calling it before any child process has been started by this
KProcess instance causes pid() to return 0.
TDEProcess instance causes pid() to return 0.
@return the pid of the process or 0 if no process has been started yet.
@short Returns the process id of the process.
@ -463,12 +463,12 @@ public class KProcess extends TQObject {
public native void setUseShell(boolean useShell, String shell);
public native void setUseShell(boolean useShell);
/**
Detaches KProcess from child process. All communication is closed.
Detaches TDEProcess from child process. All communication is closed.
No exit notification is emitted any more for the child process.
Deleting the KProcess will no longer kill the child process.
Deleting the TDEProcess will no longer kill the child process.
Note that the current process remains the parent process of the
child process.
@short Detaches KProcess from child process.
@short Detaches TDEProcess from child process.
*/
public native void detach();
/**
@ -499,7 +499,7 @@ public class KProcess extends TQObject {
/**
This function is called from start() right before a fork() takes
place. According to the <code>comm</code> parameter this function has to initialize
the in, out and err data members of KProcess.
the in, out and err data members of TDEProcess.
This function should return 1 if setting the needed communication channels
was successful.
The default implementation is to create UNIX STREAM sockets for the
@ -514,7 +514,7 @@ public class KProcess extends TQObject {
out[1] and out[1].
Furthermore, it must also create the TQSocketNotifiers innot,
outnot and errnot and connect their Qt signals to the respective
KProcess slots.
TDEProcess slots.
For a more detailed explanation, it is best to have a look at the default
implementation in kprocess.cpp.
@short Called right after a (successful) fork() on the parent side.
@ -554,12 +554,12 @@ public class KProcess extends TQObject {
<li>
if pid() returns non-zero and runs is true, the communication
links should be monitored for data until the file handle returned by
KProcessController.theKProcessController.notifierFd() becomes ready
TDEProcessController.theTDEProcessController.notifierFd() becomes ready
for reading - when it triggers, runs should be reset to false, and
the function should be immediately left without closing anything.
</li>
The previous semantics of this function are forward-compatible, but should
be avoided, as they are prone to race conditions and can cause KProcess
be avoided, as they are prone to race conditions and can cause TDEProcess
(and thus the whole program) to lock up under certain circumstances. At the
end the function closes the communication links in any case. Additionally

@ -8,22 +8,22 @@ import org.kde.qt.TQObject;
/**
A class for internal use by KProcess only. -- Exactly one instance
A class for internal use by TDEProcess only. -- Exactly one instance
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>
@short Used internally by KProcess.
@short Used internally by TDEProcess.
*/
public class KProcessController extends TQObject {
protected KProcessController(Class dummy){super((Class) null);}
public class TDEProcessController extends TQObject {
protected TDEProcessController(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
/**
Wait for any process to exit and handle their exit without
starting an event loop.
This function may cause KProcess to emit any of its signals.
This function may cause TDEProcess to emit any of its signals.
@param timeout the timeout in seconds. -1 means no timeout.
@return true if a process exited, false
if no process exited within <code>timeout</code> seconds.
@ -47,11 +47,11 @@ public class KProcessController extends TQObject {
/**
@short
*/
public native void addKProcess(KProcess arg1);
public native void addTDEProcess(TDEProcess arg1);
/**
@short
*/
public native void removeKProcess(KProcess arg1);
public native void removeTDEProcess(TDEProcess arg1);
/**
@short
*/

@ -14,10 +14,10 @@ import org.kde.qt.TQObject;
@short
*/
public class KProcessRunner extends TQObject {
protected KProcessRunner(Class dummy){super((Class) null);}
public class TDEProcessRunner extends TQObject {
protected TDEProcessRunner(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public native int pid();
public static native int run(KProcess arg1, String binName);
public static native int run(TDEProcess arg1, String binName);
}

@ -5,7 +5,7 @@ import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
public interface KProcessSignals {
public interface TDEProcessSignals {
/**
Emitted after the process has terminated when
the process was run in the <code>NotifyOnExit</code> (==default option to
@ -13,7 +13,7 @@ public interface KProcessSignals {
@param proc a pointer to the process that has exited
@short Emitted after the process has terminated when the process was run in the <code>NotifyOnExit</code> (==default option to start() ) or the Block mode.
*/
void processExited(KProcess proc);
void processExited(TDEProcess proc);
/**
Emitted, when output from the child process has
been received on stdout.
@ -30,7 +30,7 @@ public interface KProcessSignals {
</pre>
@short Emitted, when output from the child process has been received on stdout.
*/
void receivedStdout(KProcess proc, String buffer, int buflen);
void receivedStdout(TDEProcess proc, String buffer, int buflen);
/**
Emitted when output from the child process has
been received on stdout.
@ -60,7 +60,7 @@ public interface KProcessSignals {
@param buflen The number of bytes that are available.
@short Emitted, when output from the child process has been received on stderr.
*/
void receivedStderr(KProcess proc, String buffer, int buflen);
void receivedStderr(TDEProcess proc, String buffer, int buflen);
/**
Emitted after all the data that has been
specified by a prior call to writeStdin() has actually been
@ -68,5 +68,5 @@ public interface KProcessSignals {
@param proc a pointer to the process
@short Emitted after all the data that has been specified by a prior call to writeStdin() has actually been written to the child process.
*/
void wroteStdin(KProcess proc);
void wroteStdin(TDEProcess proc);
}

@ -111,7 +111,7 @@ public class KPushButton extends TQPushButton {
public native int guiItm();
/**
Sets the Icon Set for this button. It also takes into account hte
KGlobalSettings.showIconsOnPushButtons() setting.
TDEGlobalSettings.showIconsOnPushButtons() setting.
@short Sets the Icon Set for this button.
*/
public native void setIconSet(TQIconSet iconSet);

@ -7,13 +7,13 @@ import org.kde.qt.QtSupport;
/**
Use KProcess and KProcess.setUseShell(true) instead.
Use TDEProcess and TDEProcess.setUseShell(true) instead.
@author Christian Czezatke <e9025461@student.tuwien.ac.at>
@short A class derived from KProcess to start child processes through a shell.
@short A class derived from TDEProcess to start child processes through a shell.
*/
public class KShellProcess extends KProcess {
public class KShellProcess extends TDEProcess {
protected KShellProcess(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();

@ -11,7 +11,7 @@ import org.kde.qt.TQVariant;
KAccelShortcutList and KStdAccel.ShortcutList. It gives
you an unified interface for accessing the accelerator lists
of KAccel (using KAccelShortcutList),
KGlobalAccel (using KAccelShortcutList), and
TDEGlobalAccel (using KAccelShortcutList), and
KStdAccel (using KStdAccel.ShortcutList).
@short Base class for accessing accelerator lists.

@ -377,9 +377,9 @@ public class KSpell extends TQObject {
protected native void check3();
protected native void suggestWord(KProcIO arg1);
protected native void slotStopCancel(int arg1);
protected native void ispellExit(KProcess arg1);
protected native void ispellExit(TDEProcess arg1);
protected native void emitDeath();
protected native void ispellErrors(KProcess arg1, String arg2, int arg3);
protected native void ispellErrors(TDEProcess arg1, String arg2, int arg3);
protected native void checkNext();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;

@ -130,7 +130,7 @@ import java.util.ArrayList;
So while you had to .locate("data", "appname/filename") so you can
also write .locate("appdata", "filename") if your TDEApplication instance
is called "appname" (as set via TDEApplication's constructor or TDEAboutData, if
you use the global KStandardDirs object KGlobal.dirs()).
you use the global KStandardDirs object TDEGlobal.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
be "Kicker" instead of the applet's name. Therefore, for applets, you've got
@ -165,7 +165,7 @@ import java.util.ArrayList;
@author Stephan Kulow <coolo@kde.org> and Sirtaj Singh Kang <taj@kde.org>
@short Site-independent access to standard KDE directories.
@see KGlobalSettings
@see TDEGlobalSettings
*/
public class KStandardDirs implements QtSupport {
@ -224,7 +224,7 @@ public class KStandardDirs implements QtSupport {
The later a suffix is added, the higher its priority. Note, that the
suffix should end with / but doesn't have to start with one (as prefixes
should end with one). So adding a suffix for app_pics would look
like KGlobal.dirs().addResourceType("app_pics", "share/app/pics");
like TDEGlobal.dirs().addResourceType("app_pics", "share/app/pics");
@param type Specifies a short descriptive string to access
files of this type.
@param relativename Specifies a directory relative to the root
@ -394,7 +394,7 @@ public class KStandardDirs implements QtSupport {
It's a series of addResourceTypes()
and addPrefix() calls.
You normally wouldn't call this function because it's called
for you from KGlobal.
for you from TDEGlobal.
@short This function adds the defaults that are used by the current KDE version.
*/
public native void addKDEDefaults();

@ -7,14 +7,14 @@ import org.kde.qt.QtSupport;
/**
Static deleters are used to manage static resources. They can register
themselves with KGlobal. KGlobal will call destructObject() when
KGlobal.deleteStaticDeleters() is called or when it the process
themselves with TDEGlobal. TDEGlobal will call destructObject() when
TDEGlobal.deleteStaticDeleters() is called or when it the process
finishes.
@short Static deleters are used to manage static resources.
@see KStaticDeleter
@see KGlobal#registerStaticDeleter
@see KGlobal#unregisterStaticDeleter
@see KGlobal#deleteStaticDeleters
@see TDEGlobal#registerStaticDeleter
@see TDEGlobal#unregisterStaticDeleter
@see TDEGlobal#deleteStaticDeleters
*/
public class KStaticDeleterBase implements QtSupport {
@ -26,7 +26,7 @@ public class KStaticDeleterBase implements QtSupport {
Should destruct the resources managed by this KStaticDeleterBase.
Usually you also want to call it in your destructor.
@short Should destruct the resources managed by this KStaticDeleterBase.
@see KGlobal#deleteStaticDeleters
@see TDEGlobal#deleteStaticDeleters
*/
public native void destructObject();
public KStaticDeleterBase() {

File diff suppressed because one or more lines are too long

@ -57,11 +57,11 @@ public interface TDEApplicationSignals {
*/
void backgroundChanged(int desk);
/**
Emitted when the global settings have been changed - see KGlobalSettings
TDEApplication takes care of calling reparseConfiguration on KGlobal.config()
Emitted when the global settings have been changed - see TDEGlobalSettings
TDEApplication takes care of calling reparseConfiguration on TDEGlobal.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 TDEApplication 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 TDEGlobalSettings TDEApplication takes care of calling reparseConfiguration on TDEGlobal.config() so that applications/classes using this only have to re-read the configuration
*/
void settingsChanged(int category);
/**

@ -9,7 +9,7 @@ import org.kde.qt.QtSupport;
Access to KDE global objects for use in shared libraries. In
practical terms, this class is used in KDE components. This allows
components to store things that normally would be accessed by
KGlobal.
TDEGlobal.
@author Torben Weis
@short Access to KDE global objects for use in shared libraries.

@ -73,7 +73,7 @@ import java.util.*;
String[] rle = null;
// historyConfig.readListEntry( "ComboContents" ,rle);
s_pCompletion.setItems( rle );
s_pCompletion.setCompletionMode( KGlobalSettings.completionMode() );
s_pCompletion.setCompletionMode( TDEGlobalSettings.completionMode() );
konqc.setCompletionObject( s_pCompletion );
TQLabel lblkonq = new TQLabel( konqc, "&Konqueror's ComboBox", w );
@ -86,7 +86,7 @@ import java.util.*;
// Create a read-only widget
KComboBox soc = new KComboBox( w, "socombobox" );
TQLabel lblso = new TQLabel( soc, "&Select-Only ComboBox", w, "socombolabel",0 );
soc.setCompletionMode( KGlobalSettings.CompletionAuto );
soc.setCompletionMode( TDEGlobalSettings.CompletionAuto );
soc.completionObject().setItems( list );
soc.insertStringList( list );

@ -78,34 +78,34 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
TQString path = KGlobal::dirs ()->findResource(arg0.latin1(), arg1);
TQString path = TDEGlobal::dirs ()->findResource(arg0.latin1(), arg1);
return KJS::String( path );
}
case StdDirsImp::addResourceType:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
bool isOk = KGlobal::dirs ()->addResourceType(arg0.latin1(), arg1);
bool isOk = TDEGlobal::dirs ()->addResourceType(arg0.latin1(), arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::kde_default:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString path = KGlobal::dirs ()->kde_default(arg0.latin1());
TQString path = TDEGlobal::dirs ()->kde_default(arg0.latin1());
return KJS::String( path );
}
case StdDirsImp::addResourceDir:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
bool isOk = KGlobal::dirs ()->addResourceDir(arg0.latin1(), arg1);
bool isOk = TDEGlobal::dirs ()->addResourceDir(arg0.latin1(), arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::findResourceDir:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
TQString path = KGlobal::dirs ()->findResourceDir(arg0.latin1(), arg1);
TQString path = TDEGlobal::dirs ()->findResourceDir(arg0.latin1(), arg1);
return KJS::String( path );
}
case StdDirsImp::saveLocation:
@ -113,7 +113,7 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
TQString arg0 = extractTQString(exec, args, 0);
TQString arg1 = extractTQString(exec, args, 1);
bool arg2 = (args.size() > 2) ? args[2].toBoolean(exec) : true;
TQString path = KGlobal::dirs ()->saveLocation(arg0.latin1(), arg1, arg2);
TQString path = TDEGlobal::dirs ()->saveLocation(arg0.latin1(), arg1, arg2);
return KJS::String( path );
}
case StdDirsImp::makeDir:

@ -965,7 +965,7 @@
2004-05-19 Wednesday 18:54 rich
- Fixed a couple of naming errors in TQProcess's signals that resulted from
the conversion from KProcess.
the conversion from TDEProcess.
2004-05-19 Wednesday 18:31 rich

@ -241,8 +241,8 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
#ifndef QT_ONLY
// Scan $TDEDIRS/share/apps/$APPNAME/
// Scan $TDEDIRS/share/apps/kjsembed/
KGlobal::dirs()->addResourceType("kjsembed", KStandardDirs::kde_default("data") +"/kjsembed/");
TQString fname = KGlobal::dirs ()->findResource ("kjsembed", TQString(arg0));
TDEGlobal::dirs()->addResourceType("kjsembed", KStandardDirs::kde_default("data") +"/kjsembed/");
TQString fname = TDEGlobal::dirs ()->findResource ("kjsembed", TQString(arg0));
kdDebug(80001) << "Loading: " << fname << endl;

@ -64,8 +64,8 @@ JSConsoleWidget::~JSConsoleWidget()
void JSConsoleWidget::createView()
{
TQPixmap px( KGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeSmall) );
TQPixmap pxl( KGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeLarge) );
TQPixmap px( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeSmall) );
TQPixmap pxl( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeLarge) );
setIcon( px );
KWin::setIcons( winId(), pxl, px );
@ -192,14 +192,14 @@ bool JSConsoleWidget::run( const TQString &cmd )
proc = new KShellProcess("/bin/sh");
*proc << cmd;
connect( proc, TQT_SIGNAL( processExited(KProcess *) ), TQT_SLOT( childExited() ) );
connect( proc, TQT_SIGNAL( receivedStdout(KProcess *, char *, int) ),
this, TQT_SLOT( receivedStdOutput(KProcess *, char *, int) ) );
connect( proc, TQT_SIGNAL( receivedStderr(KProcess *, char *, int) ),
this, TQT_SLOT( receivedStdError(KProcess *, char *, int) ) );
connect( proc, TQT_SIGNAL( processExited(TDEProcess *) ), TQT_SLOT( childExited() ) );
connect( proc, TQT_SIGNAL( receivedStdout(TDEProcess *, char *, int) ),
this, TQT_SLOT( receivedStdOutput(TDEProcess *, char *, int) ) );
connect( proc, TQT_SIGNAL( receivedStderr(TDEProcess *, char *, int) ),
this, TQT_SLOT( receivedStdError(TDEProcess *, char *, int) ) );
return proc->start( KProcess::NotifyOnExit,
KProcess::Communication( KProcess::Stdout|KProcess::Stderr ));
return proc->start( TDEProcess::NotifyOnExit,
TDEProcess::Communication( TDEProcess::Stdout|TDEProcess::Stderr ));
}
@ -222,13 +222,13 @@ void JSConsoleWidget::childExited()
proc = 0;
}
void JSConsoleWidget::receivedStdOutput( KProcess *, char *buffer, int buflen )
void JSConsoleWidget::receivedStdOutput( TDEProcess *, char *buffer, int buflen )
{
TQCString buf = TQCString( buffer, buflen+1 );
println( TQString(buf) );
}
void JSConsoleWidget::receivedStdError( KProcess *, char *buffer, int buflen )
void JSConsoleWidget::receivedStdError( TDEProcess *, char *buffer, int buflen )
{
TQCString buf = TQCString( buffer, buflen+1 );
warn( TQString(buf) );

@ -30,7 +30,7 @@ class TQHBox;
class KLineEdit;
class KPopupTitle;
class KProcess;
class TDEProcess;
class KShellProcess;
class KTextEdit;
@ -126,10 +126,10 @@ protected slots:
void childExited();
/** Called when the process sends message to stdout. */
void receivedStdOutput(KProcess *, char *, int);
void receivedStdOutput(TDEProcess *, char *, int);
/** Called when the process sends message to stderr. */
void receivedStdError(KProcess *, char *, int);
void receivedStdError(TDEProcess *, char *, int);
private:
KJSEmbedPart *js;

@ -3625,19 +3625,19 @@
</class>
<class>
<package>org.kde.koala</package>
<name>KGlobalAccel</name>
<name>TDEGlobalAccel</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KGlobalAccelSignals</name>
<name>TDEGlobalAccelSignals</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KGlobal</name>
<name>TDEGlobal</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KGlobalSettings</name>
<name>TDEGlobalSettings</name>
</class>
<class>
<package>org.kde.koala</package>
@ -4085,23 +4085,23 @@
</class>
<class>
<package>org.kde.koala</package>
<name>KProcessController</name>
<name>TDEProcessController</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KProcessControllerSignals</name>
<name>TDEProcessControllerSignals</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KProcess</name>
<name>TDEProcess</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KProcessRunner</name>
<name>TDEProcessRunner</name>
</class>
<class>
<package>org.kde.koala</package>
<name>KProcessSignals</name>
<name>TDEProcessSignals</name>
</class>
<class>
<package>org.kde.koala</package>

@ -21,7 +21,7 @@ KMozillaPart::KMozillaPart(TQWidget *parentWidget, const char *widgetName,
{
setInstance( KMozillaPartFactory::instance() );
m_partProcess = new KProcess;
m_partProcess = new TDEProcess;
*m_partProcess << "kmozilla"
<< kapp->dcopClient()->appId() << objId();
m_partProcess->start();

@ -4,7 +4,7 @@
#include "xparthost_kpart.h"
class TDEAboutData;
class KProcess;
class TDEProcess;
class KMozillaPart : public XPartHost_KPart
{
@ -20,7 +20,7 @@ public:
static TDEAboutData *createAboutData();
private:
KProcess *m_partProcess;
TDEProcess *m_partProcess;
};
#endif

@ -25,7 +25,7 @@ public:
connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
#if 1
m_partProcess = new KProcess;
m_partProcess = new TDEProcess;
*m_partProcess << "./kmozilla"
<< kapp->dcopClient()->appId() << m_host->objId();
m_partProcess->start();
@ -57,7 +57,7 @@ public slots:
private:
XPartHost_KPart *m_host;
KProcess *m_partProcess;
TDEProcess *m_partProcess;
};
int main( int argc, char **argv )

@ -22,7 +22,7 @@ ShellWindow::ShellWindow()
connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
// Launch our XPart child.
m_partProcess = new KProcess;
m_partProcess = new TDEProcess;
*m_partProcess << "./xp_notepad"
<< kapp->dcopClient()->appId() << m_host->objId();
m_partProcess->start();

@ -5,7 +5,7 @@
#include <kparts/mainwindow.h>
#include <kdebug.h>
class KProcess;
class TDEProcess;
class ShellWindow : public KParts::MainWindow
{
@ -23,7 +23,7 @@ public slots:
private:
XPartHost_KPart *m_host;
KProcess *m_partProcess;
TDEProcess *m_partProcess;
};
#endif

@ -47,7 +47,7 @@ XP_NotepadPart::XP_NotepadPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name)
: XPartHost_KPart(parentWidget, widgetName, parent, name)
{
m_partProcess = new KProcess;
m_partProcess = new TDEProcess;
*m_partProcess << "xnotepard"
<< kapp->dcopClient()->appId() << objId();
m_partProcess->start();

@ -30,7 +30,7 @@ class TDEInstance;
class TDEAboutData;
class KHTMLSettings;
class KHTMLPart;
class KProcess;
class TDEProcess;
class XP_NotepadFactory : public KParts::Factory
{
@ -56,7 +56,7 @@ public:
virtual void createActions( const TQCString &xmlActions );
private:
KProcess *m_partProcess;
TDEProcess *m_partProcess;
};
#endif

Loading…
Cancel
Save