summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KFileMetaInfoGroup.cpp')
-rw-r--r--kdejava/koala/kdejava/KFileMetaInfoGroup.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp b/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp
index ac2bf7b1..de482bfa 100644
--- a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp
+++ b/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp
@@ -17,7 +17,7 @@ public:
KFileMetaInfoGroup::setAdded();
return;
}
- KFileMetaInfoItem protected_appendItem(const TQString& arg1,const TQVariant& arg2) {
+ KFileMetaInfoItem protected_appendItem(const TTQString& arg1,const TTQVariant& arg2) {
return (KFileMetaInfoItem) KFileMetaInfoGroup::appendItem(arg1,arg2);
}
void protected_ref() {
@@ -34,16 +34,16 @@ public:
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_addItem(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
+static TTQString* _qstring_key = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->addItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_appendItem(JNIEnv* env, jobject obj, jstring key, jobject value)
{
-static TQString* _qstring_key = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_appendItem((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value))), "org.kde.koala.KFileMetaInfoItem", TRUE);
+static TTQString* _qstring_key = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_appendItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, value))), "org.kde.koala.KFileMetaInfoItem", TRUE);
return xret;
}
@@ -57,8 +57,8 @@ Java_org_kde_koala_KFileMetaInfoGroup_attributes(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_contains(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key));
+static TTQString* _qstring_key = 0;
+ jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->contains((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key));
return xret;
}
@@ -123,25 +123,25 @@ Java_org_kde_koala_KFileMetaInfoGroup_item__I(JNIEnv* env, jobject obj, jint hin
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
+static TTQString* _qstring_key = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_keys(JNIEnv* env, jobject obj)
{
- TQStringList _qlist;
+ TTQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->keys();
- return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_name(JNIEnv* env, jobject obj)
{
- TQString _qstring;
+ TTQString _qstring;
_qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->name();
- return QtSupport::fromQString(env, &_qstring);
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
@@ -167,17 +167,17 @@ Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_kde_koala_KFil
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_op_1at(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
+static TTQString* _qstring_key = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->operator[]((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_preferredKeys(JNIEnv* env, jobject obj)
{
- TQStringList _qlist;
+ TTQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->preferredKeys();
- return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
@@ -190,17 +190,17 @@ Java_org_kde_koala_KFileMetaInfoGroup_ref(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_removeItem(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key));
+static TTQString* _qstring_key = 0;
+ jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removeItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_removedItems(JNIEnv* env, jobject obj)
{
- TQStringList _qlist;
+ TTQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removedItems();
- return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
@@ -213,9 +213,9 @@ Java_org_kde_koala_KFileMetaInfoGroup_setAdded(JNIEnv* env, jobject obj)
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_supportedKeys(JNIEnv* env, jobject obj)
{
- TQStringList _qlist;
+ TTQStringList _qlist;
_qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportedKeys();
- return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
}
JNIEXPORT jboolean JNICALL
@@ -228,16 +228,16 @@ Java_org_kde_koala_KFileMetaInfoGroup_supportsVariableKeys(JNIEnv* env, jobject
JNIEXPORT jstring JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_translatedName(JNIEnv* env, jobject obj)
{
- TQString _qstring;
+ TTQString _qstring;
_qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->translatedName();
- return QtSupport::fromQString(env, &_qstring);
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_koala_KFileMetaInfoGroup_value(JNIEnv* env, jobject obj, jstring key)
{
-static TQString* _qstring_key = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key))), "org.kde.qt.TQVariant", TRUE);
+static TTQString* _qstring_key = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.qt.TTQVariant", TRUE);
return xret;
}