Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent be2540d3ed
commit 7ef8543bfa

@ -1146,7 +1146,7 @@ BEGIN
'KSpellConfig*' => 'kde_KSpellConfig*' ,
'KSpellDlg*' => 'kde_KSpellDlg*',
'KSqueezedTextLabel*' => 'kde_KSqueezedTextLabel*',
'KStandardDirs*' => 'kde_KStandardDirs*' ,
'TDEStandardDirs*' => 'kde_TDEStandardDirs*' ,
'KStartupInfo*' => 'kde_KStartupInfo*',
'KStartupInfoData&' => 'kde_KStartupInfoData*',
'KStartupInfoData*' => 'kde_KStartupInfoData*',

@ -141,7 +141,7 @@
* Removed all native methods from KAccelAction.java and KAccelActions.java
as they aren't public classes.
2002-04-12 Richard Dale <duke@tipitina.demon.co.uk>
* Added missing methods to KStandardDirs.java
* Added missing methods to TDEStandardDirs.java
2002-03-31 Richard Dale <duke@tipitina.demon.co.uk>
* Some fixes for current build problems from Patrick Dempster
2002-03-26 Richard Dale <duke@tipitina.demon.co.uk>

File diff suppressed because one or more lines are too long

@ -14,7 +14,7 @@
class KIconLoaderJBridge : public KIconLoader
{
public:
KIconLoaderJBridge(const TQString& arg1,KStandardDirs* arg2) : KIconLoader(arg1,arg2) {};
KIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : KIconLoader(arg1,arg2) {};
KIconLoaderJBridge(const TQString& arg1) : KIconLoader(arg1) {};
KIconLoaderJBridge() : KIconLoader() {};
~KIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
@ -261,11 +261,11 @@ static TQString* _qstring_appname = 0;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_KStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs)
Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs)
{
static TQString* _qstring_appname = 0;
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (KStandardDirs*) QtSupport::getQt(env, dirs)));
QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@ -316,7 +316,7 @@ JNIEXPORT void JNICALL
Java_org_kde_koala_KIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs)
{
static TQString* _qstring__appname = 0;
((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (KStandardDirs*) QtSupport::getQt(env, _dirs));
((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs));
return;
}

@ -10,7 +10,7 @@ extern "C"
{
#endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_KStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__ (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_addAppDir (JNIEnv *env, jobject, jstring);

@ -6,469 +6,469 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KStandardDirs.h>
#include <kdejava/TDEStandardDirs.h>
class KStandardDirsJBridge : public KStandardDirs
class TDEStandardDirsJBridge : public TDEStandardDirs
{
public:
KStandardDirsJBridge() : KStandardDirs() {};
~KStandardDirsJBridge() {QtSupport::qtKeyDeleted(this);}
TDEStandardDirsJBridge() : TDEStandardDirs() {};
~TDEStandardDirsJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_addCustomized(JNIEnv* env, jobject obj, jobject config)
Java_org_kde_koala_TDEStandardDirs_addCustomized(JNIEnv* env, jobject obj, jobject config)
{
jboolean xret = (jboolean) ((KStandardDirs*) QtSupport::getQt(env, obj))->addCustomized((TDEConfig*) QtSupport::getQt(env, config));
jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addCustomized((TDEConfig*) QtSupport::getQt(env, config));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_addKDEDefaults(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_addKDEDefaults(JNIEnv* env, jobject obj)
{
((KStandardDirs*) QtSupport::getQt(env, obj))->addKDEDefaults();
((TDEStandardDirs*) QtSupport::getQt(env, obj))->addKDEDefaults();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_addPrefix(JNIEnv* env, jobject obj, jstring dir)
Java_org_kde_koala_TDEStandardDirs_addPrefix(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
((KStandardDirs*) QtSupport::getQt(env, obj))->addPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
((TDEStandardDirs*) QtSupport::getQt(env, obj))->addPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_addResourceDir(JNIEnv* env, jobject obj, jstring type, jstring absdir)
Java_org_kde_koala_TDEStandardDirs_addResourceDir(JNIEnv* env, jobject obj, jstring type, jstring absdir)
{
static TQCString* _qstring_type = 0;
static TQString* _qstring_absdir = 0;
jboolean xret = (jboolean) ((KStandardDirs*) QtSupport::getQt(env, obj))->addResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absdir, &_qstring_absdir));
jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absdir, &_qstring_absdir));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_addResourceType(JNIEnv* env, jobject obj, jstring type, jstring relativename)
Java_org_kde_koala_TDEStandardDirs_addResourceType(JNIEnv* env, jobject obj, jstring type, jstring relativename)
{
static TQCString* _qstring_type = 0;
static TQString* _qstring_relativename = 0;
jboolean xret = (jboolean) ((KStandardDirs*) QtSupport::getQt(env, obj))->addResourceType((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relativename, &_qstring_relativename));
jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceType((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relativename, &_qstring_relativename));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_addXdgConfigPrefix(JNIEnv* env, jobject obj, jstring dir)
Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
((KStandardDirs*) QtSupport::getQt(env, obj))->addXdgConfigPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgConfigPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_addXdgDataPrefix(JNIEnv* env, jobject obj, jstring dir)
Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
((KStandardDirs*) QtSupport::getQt(env, obj))->addXdgDataPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgDataPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_allTypes(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_allTypes(JNIEnv* env, jobject obj)
{
TQStringList _qlist;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->allTypes();
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->allTypes();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KStandardDirs_calcResourceHash(JNIEnv* env, jobject obj, jstring type, jstring filename, jboolean deep)
Java_org_kde_koala_TDEStandardDirs_calcResourceHash(JNIEnv* env, jobject obj, jstring type, jstring filename, jboolean deep)
{
static TQCString* _qstring_type = 0;
static TQString* _qstring_filename = 0;
jint xret = (jint) ((KStandardDirs*) QtSupport::getQt(env, obj))->calcResourceHash((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) deep);
jint xret = (jint) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->calcResourceHash((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) deep);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_dispose(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_dispose(JNIEnv* env, jobject obj)
{
Java_org_kde_koala_KStandardDirs_finalize(env, obj);
Java_org_kde_koala_TDEStandardDirs_finalize(env, obj);
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_exists(JNIEnv* env, jclass cls, jstring fullPath)
Java_org_kde_koala_TDEStandardDirs_exists(JNIEnv* env, jclass cls, jstring fullPath)
{
(void) cls;
static TQString* _qstring_fullPath = 0;
jboolean xret = (jboolean) KStandardDirsJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fullPath, &_qstring_fullPath));
jboolean xret = (jboolean) TDEStandardDirsJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fullPath, &_qstring_fullPath));
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_finalize(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
delete (KStandardDirs*)QtSupport::getQt(env, obj);
delete (TDEStandardDirs*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname)
Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname)
{
(void) cls;
static TQStringList* _qlist_list = 0;
static TQString* _qstring_appname = 0;
jint xret = (jint) KStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr)
Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr)
{
(void) cls;
static TQStringList* _qlist_list = 0;
static TQString* _qstring_appname = 0;
static TQString* _qstring_pathstr = 0;
jint xret = (jint) KStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr));
jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr, jboolean ignoreExecBit)
Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr, jboolean ignoreExecBit)
{
(void) cls;
static TQStringList* _qlist_list = 0;
static TQString* _qstring_appname = 0;
static TQString* _qstring_pathstr = 0;
jint xret = (jint) KStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit);
jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type));
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter)
Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filter = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive)
Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filter = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive);
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique)
Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filter = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique);
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique, jobjectArray relPaths)
Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique, jobjectArray relPaths)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filter = 0;
static TQStringList* _qlist_relPaths = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique, (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, relPaths, &_qlist_relPaths));
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique, (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, relPaths, &_qlist_relPaths));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_findDirs(JNIEnv* env, jobject obj, jstring type, jstring reldir)
Java_org_kde_koala_TDEStandardDirs_findDirs(JNIEnv* env, jobject obj, jstring type, jstring reldir)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
static TQString* _qstring_reldir = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->findDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, reldir, &_qstring_reldir));
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, reldir, &_qstring_reldir));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname)
Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_appname = 0;
_qstring = KStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
_qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname, jstring pathstr)
Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname, jstring pathstr)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_appname = 0;
static TQString* _qstring_pathstr = 0;
_qstring = KStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr));
_qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring appname, jstring pathstr, jboolean ignoreExecBit)
Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring appname, jstring pathstr, jboolean ignoreExecBit)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_appname = 0;
static TQString* _qstring_pathstr = 0;
_qstring = KStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit);
_qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit);
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_findResourceDir(JNIEnv* env, jobject obj, jstring type, jstring filename)
Java_org_kde_koala_TDEStandardDirs_findResourceDir(JNIEnv* env, jobject obj, jstring type, jstring filename)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filename = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->findResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_findResource(JNIEnv* env, jobject obj, jstring type, jstring filename)
Java_org_kde_koala_TDEStandardDirs_findResource(JNIEnv* env, jobject obj, jstring type, jstring filename)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
static TQString* _qstring_filename = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->findResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_isDisposed(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_isRestrictedResource__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
{
static TQCString* _qstring_type = 0;
jboolean xret = (jboolean) ((KStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type));
jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring relPath)
Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring relPath)
{
static TQCString* _qstring_type = 0;
static TQString* _qstring_relPath = 0;
jboolean xret = (jboolean) ((KStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relPath, &_qstring_relPath));
jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relPath, &_qstring_relPath));
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kde_1default(JNIEnv* env, jclass cls, jstring type)
Java_org_kde_koala_TDEStandardDirs_kde_1default(JNIEnv* env, jclass cls, jstring type)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_type = 0;
_qstring = KStandardDirsJBridge::kde_default((const char*) QtSupport::toCharString(env, type, &_qstring_type));
_qstring = TDEStandardDirsJBridge::kde_default((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kfsstnd_1defaultbindir(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KStandardDirsJBridge::kfsstnd_defaultbindir();
_qstring = TDEStandardDirsJBridge::kfsstnd_defaultbindir();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kfsstnd_1defaultprefix(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix(JNIEnv* env, jclass cls)
{
TQString _qstring;
(void) cls;
_qstring = KStandardDirsJBridge::kfsstnd_defaultprefix();
_qstring = TDEStandardDirsJBridge::kfsstnd_defaultprefix();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kfsstnd_1prefixes(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_prefixes();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_prefixes();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kfsstnd_1xdg_1conf_1prefixes(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_conf_prefixes();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_conf_prefixes();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_kfsstnd_1xdg_1data_1prefixes(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_data_prefixes();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_data_prefixes();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_localtdedir(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_localtdedir(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->localtdedir();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localtdedir();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_localxdgconfdir(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_localxdgconfdir(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->localxdgconfdir();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgconfdir();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_localxdgdatadir(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_localxdgdatadir(JNIEnv* env, jobject obj)
{
TQString _qstring;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->localxdgdatadir();
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgdatadir();
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_makeDir__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir)
Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir)
{
(void) cls;
static TQString* _qstring_dir = 0;
jboolean xret = (jboolean) KStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KStandardDirs_makeDir__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring dir, jint mode)
Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring dir, jint mode)
{
(void) cls;
static TQString* _qstring_dir = 0;
jboolean xret = (jboolean) KStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (int) mode);
jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (int) mode);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_koala_KStandardDirs_newKStandardDirs(JNIEnv* env, jobject obj)
Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
QtSupport::setQt(env, obj, new KStandardDirsJBridge());
QtSupport::setQt(env, obj, new TDEStandardDirsJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_realFilePath(JNIEnv* env, jclass cls, jstring filename)
Java_org_kde_koala_TDEStandardDirs_realFilePath(JNIEnv* env, jclass cls, jstring filename)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_filename = 0;
_qstring = KStandardDirsJBridge::realFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
_qstring = TDEStandardDirsJBridge::realFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_realPath(JNIEnv* env, jclass cls, jstring dirname)
Java_org_kde_koala_TDEStandardDirs_realPath(JNIEnv* env, jclass cls, jstring dirname)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_dirname = 0;
_qstring = KStandardDirsJBridge::realPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname));
_qstring = TDEStandardDirsJBridge::realPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_relativeLocation(JNIEnv* env, jobject obj, jstring type, jstring absPath)
Java_org_kde_koala_TDEStandardDirs_relativeLocation(JNIEnv* env, jobject obj, jstring type, jstring absPath)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
static TQString* _qstring_absPath = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->relativeLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absPath, &_qstring_absPath));
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->relativeLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absPath, &_qstring_absPath));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_resourceDirs(JNIEnv* env, jobject obj, jstring type)
Java_org_kde_koala_TDEStandardDirs_resourceDirs(JNIEnv* env, jobject obj, jstring type)
{
TQStringList _qlist;
static TQCString* _qstring_type = 0;
_qlist = ((KStandardDirs*) QtSupport::getQt(env, obj))->resourceDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type));
_qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->resourceDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type));
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring suffix)
Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring suffix)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
static TQString* _qstring_suffix = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix));
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring suffix, jboolean create)
Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring suffix, jboolean create)
{
TQString _qstring;
static TQCString* _qstring_type = 0;
static TQString* _qstring_suffix = 0;
_qstring = ((KStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix), (bool) create);
_qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix), (bool) create);
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_systemPaths__(JNIEnv* env, jclass cls)
Java_org_kde_koala_TDEStandardDirs_systemPaths__(JNIEnv* env, jclass cls)
{
TQStringList _qlist;
(void) cls;
_qlist = KStandardDirsJBridge::systemPaths();
_qlist = TDEStandardDirsJBridge::systemPaths();
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KStandardDirs_systemPaths__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring pstr)
Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring pstr)
{
TQStringList _qlist;
(void) cls;
static TQString* _qstring_pstr = 0;
_qlist = KStandardDirsJBridge::systemPaths((const TQString&)*(TQString*) QtSupport::toTQString(env, pstr, &_qstring_pstr));
_qlist = TDEStandardDirsJBridge::systemPaths((const TQString&)*(TQString*) QtSupport::toTQString(env, pstr, &_qstring_pstr));
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

@ -1,7 +1,7 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#ifndef __org_kde_koala_KStandardDirs__
#define __org_kde_koala_KStandardDirs__
#ifndef __org_kde_koala_TDEStandardDirs__
#define __org_kde_koala_TDEStandardDirs__
#include <jni.h>
@ -10,59 +10,59 @@ extern "C"
{
#endif
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_newKStandardDirs (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_addPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_addXdgConfigPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_addXdgDataPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_addResourceType (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_addResourceDir (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_findResource (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_isRestrictedResource__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStandardDirs_calcResourceHash (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findDirs (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_findResourceDir (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobjectArray);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_addKDEDefaults (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_addCustomized (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_resourceDirs (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_allTypes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_saveLocation__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_relativeLocation (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kfsstnd_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kfsstnd_1xdg_1conf_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kfsstnd_1xdg_1data_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_localtdedir (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_localxdgdatadir (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_localxdgconfdir (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_systemPaths__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStandardDirs_systemPaths__ (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_findExe__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_makeDir__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_makeDir__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kde_1default (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kfsstnd_1defaultprefix (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_kfsstnd_1defaultbindir (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_exists (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_realPath (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStandardDirs_realFilePath (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KStandardDirs_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStandardDirs_isDisposed (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceType (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceDir (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResource (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_calcResourceHash (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findDirs (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResourceDir (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobjectArray);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addKDEDefaults (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addCustomized (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_resourceDirs (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_allTypes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_relativeLocation (JNIEnv *env, jobject, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localtdedir (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgdatadir (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgconfdir (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__ (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jboolean);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kde_1default (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix (JNIEnv *env, jclass);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir (JNIEnv *env, jclass);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_exists (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realPath (JNIEnv *env, jclass, jstring);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realFilePath (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_finalize (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_dispose (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isDisposed (JNIEnv *env, jobject);
#ifdef __cplusplus
}
#endif
#endif /* __org_kde_koala_KStandardDirs__ */
#endif /* __org_kde_koala_TDEStandardDirs__ */

File diff suppressed because one or more lines are too long

@ -254,7 +254,7 @@ Java_org_kde_koala_TDEApplication_deref(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEApplication_dirs(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.KStandardDirs");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs");
return xret;
}

@ -50,7 +50,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEGlobal_dirs(JNIEnv* env, jclass cls)
{
(void) cls;
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::dirs(), "org.kde.koala.KStandardDirs");
jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::dirs(), "org.kde.koala.TDEStandardDirs");
return xret;
}

@ -37,7 +37,7 @@ Java_org_kde_koala_TDEInstance_config(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEInstance_dirs(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.KStandardDirs");
jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs");
return xret;
}

@ -64,7 +64,7 @@ public class KIconLoader implements QtSupport {
@param appname Add the data directories of this application to the
icon search path for the "User" group. The default argument adds the
directories of the current application.
@param dirs the KStandardDirs object to use. If null the global one is used
@param dirs the TDEStandardDirs object to use. If null the global one is used
Usually, you use the default iconloader, which can be accessed via
TDEGlobal.iconLoader(), so you hardly ever have to create an
iconloader object yourself. That one is the current TDEInstance's
@ -73,10 +73,10 @@ public class KIconLoader implements QtSupport {
@see TDEGlobal#iconLoader
@see TDEInstance#iconLoader
*/
public KIconLoader(String appname, KStandardDirs dirs) {
public KIconLoader(String appname, TDEStandardDirs dirs) {
newKIconLoader(appname,dirs);
}
private native void newKIconLoader(String appname, KStandardDirs dirs);
private native void newKIconLoader(String appname, TDEStandardDirs dirs);
public KIconLoader(String appname) {
newKIconLoader(appname);
}
@ -293,7 +293,7 @@ public class KIconLoader implements QtSupport {
from TDEGlobal will be taken.
@short Called by TDEInstance.newIconLoader to reconfigure the icon loader.
*/
public native void reconfigure(String _appname, KStandardDirs _dirs);
public native void reconfigure(String _appname, TDEStandardDirs _dirs);
/**
Adds all the default themes from other desktops at the end of
the list of icon themes.

@ -16,11 +16,11 @@ import java.util.ArrayList;
and applications always refer to a file with a resource type
(e.g. icon) and a filename (e.g. khexdit.xpm). In an ideal world
the application would make no assumption where this file is and
leave it up to KStandardDirs.findResource("apps", "Home.desktop")
leave it up to TDEStandardDirs.findResource("apps", "Home.desktop")
to apply this knowledge to return /opt/kde/share/applnk/Home.desktop
or .locate("data", "kgame/background.jpg") to return
/opt/kde/share/apps/kgame/background.jpg
The main idea behind KStandardDirs is that there are several
The main idea behind TDEStandardDirs is that there are several
toplevel prefixes below which the files lie. One of these prefixes is
the one where the user installed tdelibs, one is where the
application was installed, and one is $HOME/.trinity, but there
@ -31,7 +31,7 @@ import java.util.ArrayList;
So the search algorithm basically appends to each prefix each registered
suffix and tries to locate the file there.
To make the thing even more complex, it's also possible to register
absolute paths that KStandardDirs looks up after not finding anything
absolute paths that TDEStandardDirs looks up after not finding anything
in the former steps. They can be useful if the user wants to provide
specific directories that aren't in his $HOME/.trinity directory for,
for example, icons.
@ -130,12 +130,12 @@ 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 TDEGlobal.dirs()).
you use the global TDEStandardDirs 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
to work around this by using .locate("data", "appletname/filename").
<b>KStandardDirs supports the following environment variables:</b>
<b>TDEStandardDirs supports the following environment variables:</b>
<li>
TDEDIRS: This may set an additional number of directory prefixes to
@ -168,19 +168,19 @@ import java.util.ArrayList;
@see TDEGlobalSettings
*/
public class KStandardDirs implements QtSupport {
public class TDEStandardDirs implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KStandardDirs(Class dummy){}
protected TDEStandardDirs(Class dummy){}
/**
KStandardDirs' constructor. It just initializes the caches.
@short KStandardDirs' constructor.
TDEStandardDirs' constructor. It just initializes the caches.
@short TDEStandardDirs' constructor.
*/
public KStandardDirs() {
newKStandardDirs();
public TDEStandardDirs() {
newTDEStandardDirs();
}
private native void newKStandardDirs();
private native void newTDEStandardDirs();
/**
Adds another search dir to front of the <code>fsstnd</code> list.
@ -262,7 +262,7 @@ public class KStandardDirs implements QtSupport {
</li>
The filename should be a filename relative to the base dir
for resources. So is a way to get the path to libtdecore.la
to findResource("lib", "libtdecore.la"). KStandardDirs will
to findResource("lib", "libtdecore.la"). TDEStandardDirs will
then look into the subdir lib of all elements of all prefixes
($TDEDIRS) for a file libtdecore.la and return the path to
the first one it finds (e.g. /opt/kde/lib/libtdecore.la)
@ -423,11 +423,11 @@ public class KStandardDirs implements QtSupport {
*/
public native ArrayList resourceDirs(String type);
/**
This function will return a list of all the types that KStandardDirs
This function will return a list of all the types that TDEStandardDirs
supports.
@return All types that KDE supports
@short This function will return a list of all the types that KStandardDirs supports.
@short This function will return a list of all the types that TDEStandardDirs supports.
*/
public native ArrayList allTypes();
/**
@ -477,12 +477,12 @@ public class KStandardDirs implements QtSupport {
*/
public native String kfsstnd_xdg_data_prefixes();
/**
Returns the toplevel directory in which KStandardDirs
Returns the toplevel directory in which TDEStandardDirs
will store things. Most likely $HOME/.trinity
Don't use this function if you can use locateLocal
@return the toplevel directory
@short Returns the toplevel directory in which KStandardDirs will store things.
@short Returns the toplevel directory in which TDEStandardDirs will store things.
*/
public native String localtdedir();
/**

@ -99,7 +99,7 @@ public class KSycoca extends TQObject implements DCOPObjectInterface {
When you receive a "databaseChanged" signal, you can query here if
a change has occurred in a specific resource type.
@short When you receive a "databaseChanged" signal, you can query here if a change has occurred in a specific resource type.
@see KStandardDirs
@see TDEStandardDirs
@see #for
@see #the
@see #various

@ -18,7 +18,7 @@ import org.kde.qt.QtSupport;
in the "tmp" resource, one should use:
KTempDir(locateLocal("tmp", prefix));
KTempFile does not create any missing directories, but locateLocal() does.
See also KStandardDirs
See also TDEStandardDirs
@author Joseph Wenninger <jowenn@kde.org>
@short The KTempDir class creates a unique directory for temporary use.

@ -20,7 +20,7 @@ import org.kde.qt.TQTextStream;
in the "tmp" resource, one should use:
KTempFile(locateLocal("tmp", prefix), extension);
KTempFile does not create any missing directories, but locateLocal() does.
See also KStandardDirs
See also TDEStandardDirs
@author Waldo Bastian <bastian@kde.org>
@short The KTempFile class creates and opens a unique file for temporary use.

@ -52,7 +52,7 @@ public class KTipDialog extends KDialog {
this method with force=true.
@param parent Parent widget of TipDialog.
@param tipFile The name of the tip file. It has be relative to the "data"
resource of KStandardDirs
resource of TDEStandardDirs
@param force If true, the dialog is show, even when the users
disabled it.
@short Shows a tip.
@ -65,7 +65,7 @@ public class KTipDialog extends KDialog {
This method behaves essentially as the one above, but expects a list of tips
@param parent Parent widget of TipDialog.
@param tipFiles A List of tip files. Each has be relative to the "data"
resource of KStandardDirs
resource of TDEStandardDirs
@param force If true, the dialog is show, even when the users
disabled it.
@short Shows a tip

File diff suppressed because one or more lines are too long

@ -1018,11 +1018,11 @@ public class TDEApplication extends TQApplication implements TDEInstanceInterfac
public native boolean isDisposed();
/**
Returns the application standard dirs object.
@return The KStandardDirs of the application.
@return The TDEStandardDirs of the application.
@short Returns the application standard dirs object.
*/
public native KStandardDirs dirs();
public native TDEStandardDirs dirs();
/**
Returns the general config object ("appnamerc").
@return the TDEConfig object for the instance.

@ -32,7 +32,7 @@ public class TDEConfig extends TDEConfigBase {
object will automatically become read-only if either the user does not have
write permission to <code>fileName</code> or if no file was specified.
@param bUseKDEGlobals Toggle reading the global KDE configuration file.
@param resType the place to look in (config, data, etc) See KStandardDirs.
@param resType the place to look in (config, data, etc) See TDEStandardDirs.
@short Constructs a TDEConfig object.
*/
public TDEConfig(String fileName, boolean bReadOnly, boolean bUseKDEGlobals, String resType) {

@ -40,7 +40,7 @@ public class TDEGlobal implements QtSupport {
@short Returns the application standard dirs object.
*/
public static native KStandardDirs dirs();
public static native TDEStandardDirs dirs();
/**
Returns the general config object.
@return the global configuration object.

@ -50,11 +50,11 @@ public class TDEInstance implements QtSupport, TDEInstanceInterface {
private native void newTDEInstance(TDEInstanceInterface src);
/**
Returns the application standard dirs object.
@return The KStandardDirs of the application.
@return The TDEStandardDirs of the application.
@short Returns the application standard dirs object.
*/
public native KStandardDirs dirs();
public native TDEStandardDirs dirs();
/**
Returns the general config object ("appnamerc").
@return the TDEConfig object for the instance.

@ -4,7 +4,7 @@ package org.kde.koala;
import org.kde.qt.QtSupport;
public interface TDEInstanceInterface {
KStandardDirs dirs();
TDEStandardDirs dirs();
TDEConfig config();
TDESharedConfig sharedConfig();
KIconLoader iconLoader();

@ -120,19 +120,19 @@ KJS::Value StdDirsImp::call( KJS::ExecState *exec, KJS::Object &/*self*/, const
{
TQString arg0 = extractTQString(exec, args, 0);
int arg1 = (args.size() > 1) ? args[1].toInteger(exec) : 0755;
bool isOk = KStandardDirs::makeDir(arg0, arg1);
bool isOk = TDEStandardDirs::makeDir(arg0, arg1);
return KJS::Boolean( isOk );
}
case StdDirsImp::exists:
{
TQString arg0 = extractTQString(exec, args, 0);
bool isOk = KStandardDirs::exists(arg0);
bool isOk = TDEStandardDirs::exists(arg0);
return KJS::Boolean( isOk );
}
case StdDirsImp::realPath:
{
TQString arg0 = extractTQString(exec, args, 0);
TQString path = KStandardDirs::realPath(arg0);
TQString path = TDEStandardDirs::realPath(arg0);
return KJS::String( path );
}
case StdDirsImp::currentDirPath:

@ -33,7 +33,7 @@ namespace KJSEmbed {
namespace BuiltIns {
/**
* KJS binding for KStandardDirs.
* KJS binding for TDEStandardDirs.
*
* @author Ian Reinhart Geiser geiseri@kde.org
*/

@ -19,7 +19,7 @@ $JS write_docs.js 'this' 'this' 'Default context scripts are executed in.' > $RE
$JS write_docs.js 'Global' 'global' 'The global object.' > $REF/global.html
$JS write_docs.js 'Application' 'application' 'Global application object.' > $REF/application.html
$JS write_docs.js 'Part' 'part' 'Part used by the interpreter.' > $REF/part.html
$JS write_docs.js 'StdDirs' 'StdDirs' 'Provides access to KStandardDirs.' > $REF/stddirs.html
$JS write_docs.js 'StdDirs' 'StdDirs' 'Provides access to TDEStandardDirs.' > $REF/stddirs.html
$JS write_docs.js 'StdIcons' 'StdIcons' 'Provides access to the KIconLoader.' > $REF/stdicons.html
# Custom Objects

@ -241,7 +241,7 @@ 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/
TDEGlobal::dirs()->addResourceType("kjsembed", KStandardDirs::kde_default("data") +"/kjsembed/");
TDEGlobal::dirs()->addResourceType("kjsembed", TDEStandardDirs::kde_default("data") +"/kjsembed/");
TQString fname = TDEGlobal::dirs ()->findResource ("kjsembed", TQString(arg0));
kdDebug(80001) << "Loading: " << fname << endl;

@ -4445,7 +4445,7 @@
</class>
<class>
<package>org.kde.koala</package>
<name>KStandardDirs</name>
<name>TDEStandardDirs</name>
</class>
<class>
<package>org.kde.koala</package>

Loading…
Cancel
Save